Now with SMS ! New
or create new account
CALLFLOW.VARIABLES.PRESET - API REQUEST

CALLFLOW.VARIABLES.PRESET - preset some call flow variables.
Description

CALLFLOW.VARIABLES.PRESET API Action is used to preset some call flow variables.
This is a very useful API action for automated call flow provisioning when a number of call flow variables need to be preset to a certain value every time a given call flow is executed by Anveo.
For example. You have a call flow (like a template) which uses CUSTOMERID variable. You need to make a new call flow copy of that "template" for every customer. Instead of modifying each new call flow manually to replace CUSTOMERID variable with the actual ID of the customer you can use CALLFLOW.VARIABLES.PRESET action to preset CUSTOMERID variable for a given call flow.
Arguments

CALLFLOW
Required. API KEY of an existing call flow to be copied.

ACCOUNT_NUMBER
Optional. Account number only required when call flows belongs to a sub account.

VARIABLE
Optional. VARIABLE specifies call flow variable which needs to be pre-set. Multiple VARIABLE parameters are supported. VARIABLENAME attribute is required and it specifies Call Flow Variable Name.
Example:
<PARAMETER NAME="CALLFLOW">fdd89f89df9f7d8s9df</PARAMETER>
<PARAMETER NAME="ACCOUNT_NUMBER">123456789</PARAMETER>

A call flow is using CUSTOMERID and VERIFICATIONCODE variables which need to be preset to 123456789 and 99887 respectively everytime time the call flow is executed.
You can initiate CALLFLOW.PRESETVARIABLES API action and pass the following:

<PARAMETER NAME="VARIABLE" VARIABLENAME="CUSTOMERID">123456789</PARAMETER>
<PARAMETER NAME="VARIABLE" VARIABLENAME="VERIFICATIONCODE">99887</PARAMETER>
Response

SUCCESS when call flow processed without errors.
API Request Example
<?xml version="1.0" standalone="no" ?>
<REQUEST>
  <USERTOKEN>
    <USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
  </USERTOKEN>
  <ACTION NAME="CALLFLOW.VARIABLES.PRESET">
    <PARAMETER NAME="CALLFLOW">fdd89f89df9f7d8s9df</PARAMETER>
    <PARAMETER NAME="VARIABLE" VARIABLENAME="CUSTOMERID">123456789</PARAMETER>
    <PARAMETER NAME="VARIABLE" VARIABLENAME="VERIFICATIONCODE">99887</PARAMETER>
  </ACTION>
</REQUEST>
Response Example
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
  <RESULT>SUCCESS</RESULT>
</RESPONSE>
:.:
News Blog About Anveo Terms of Use Privacy Policy FAQ Contact Us © 2024 Anveo Inc.