<... goto="">

 

Type

attribute

Elements

prompt

Data type

int

Values

valid prompt id.

Description

Part of a Call Command.  Used to direct the campaign flow to a specific prompt id.  Must have a corresponding "API" prompt in the campaign. 

 

You can find a prompt's promptid on the Developer tab after clicking on the prompt.  Promptids for API prompts show in parentheses on the Campaign Layout. 

 

For inbound call transfers, goto indicates the prompt id to go to if there is no answer or when the peson the call is transferred to hangs up.

 

Example 1: Sending a call

<prompt goto="2" />

 

Example 2: Speaking text

<prompt goto="7" tts="Your package is scheduled for delivery on Monday" />

 

Example 3: Playing a sound file

<prompt goto="6" filename="imsorry.wav" />

 

Example 4: Transferring an inbound call, go to prompt id 2 if there is no answer

<prompt transferto="8182238964"  goto="2" />