...
Wait for response : Enable if you want to wait for the response of your request. You can play hold music meanwhile by enabling ‘enable ‘Enable hold music’. The maximum response wait time is ‘60 seconds’‘60 seconds’.
Persist Response : Enable if you want to retain the value of flow variables after the flow execution is completed. Use this only if you need to save the data and use it later, example as a UDF in Reports.
Error code Flow Variables : Once the execution of webhook widget is over, you will be able to get some of the values in the specified flow variables which are as follows -
On Success -
Flow Variable | Description | Example Value |
---|---|---|
$flow.key.response_status | API call Success or Failure status | SUCCESS |
$flow.key.response_status_code | Status Code for response(2XX) | 200 |
$flow.key.response_duration | Duration in seconds for the API to return data | 0.11 |
$flow.key.response_raw | Raw response received from server, null if empty | |
$flow.key.response_error | If API resulted in error, Boolean true or false | false |
...