Using Send Post and Variables to Affect Call Flow
Last updated
Was this helpful?
Last updated
Was this helpful?
In this scenario the send post will only work with URLs that return either a valid destination number or a number (redirecting the call flow to the appropriate node with the specified service).
Step 1: Create a variable - @Dest and assign a valid default destination number
Step 2: Add a send Post node and
Within the Send Post Node property settings, Enable "Process Response"
Make sure you have the following setup:
Step 3: Add a Deliver Call node and use the @Dest variable as your destination and connect the send post with the latter as shown in the following diagram:
Step 1: Create a variable that will hold the response from the URL as shown below:
Step 2: Modify the settings of the Send Post settings as shown below (with a correct URL)
Step 3: Set your nodes as shown in the following diagram:
The platform would expect to receive values from the URL within a range, in this case 3 and 4. The Call flow will automatically redirected to either the node with id equal to 3 or 4. If it is not a valid number or a valid node ID, the predefined default value (see Step 1) will be used instead.