SWML
Write communication applications, call flows and AI agents
Mark any point of the current SWML section with a label so that goto can jump to it.
goto
The label name. Must be unique within the section.
1version: 1.0.02sections:3 main:4 - label: try_lookup5 - request:6 url: "https://api.example.com/lookup"7 save_variables: true8 - switch:9 variable: request_result10 case:11 timeout:12 - goto:13 label: try_lookup14 max: 315 default:16 - reply:17 body: "Lookup complete."