Send Post

Used to build and send a POST request to a URL. If enabled it can process the response to drive the call flow.

Branch

Mandatory

Description

Timeout

No

Taken when timeout expired while waiting for a response from the POST.

OK

No

Taken when the Http response status is 200.

Bad Request

No

Taken when the Http response status is 400.

Unauthorised

No

Taken when the Http response status is 401.

Forbidden

No

Taken when the Http response status is 403.

Bad Getaway

No

Taken when the Http response status is 502.

Unavailable

No

Taken when the Http response status is 503.

Other

No

Taken when the Http response status is 503.

Node Properties

  • URL: Configures the URL to send the POST request.

  • Timeout: Configures the number of seconds to wait for a response before the 'Timeout' branch is taken. Between 2 or 30.

  • TLS Version: Configures the TLS version to used to initiate the Send Post request - either TLS 1.0 or TLS 1.2. Find out more about TLS here.

  • Process Response: When set the call flow expects a response back before proceeding with call flow.

  • Waiting Audio Settings: Allows an audio file to be played whilst waiting for the Send Post request to be processed.

  • Authentication: Allows authentication credentials to be sent to the server if enabled.

  • Parameters: These consist of name value pairs that are used to construct the query string to POST data and consume response data if enabled.

Field

Description

Description

Free Text used to describe the parameter

Name

String specifying a unique name for the name value pair used to construct the POST data.

Type

Can be one of the following:

  • Literal Value

  • Service Variable

  • Custom Variable

Value

Value will vary depending on the Type: Literal Value

Any string data Service Variable One of the following values:

  • CallID The unique identifier for the Inbound call e.g. 950302111

  • Calling Number This is the Network CLI of the originating caller, not the Presentation CLI (CLIP).

  • Called Number The Service Number dialled.

  • Call Start Time The date and time when the Inbound call hit the platform in UTC.

  • Calling Number Withheld CLIR flag. 0 = Not Withheld/Restricted, 1 = Withheld/Restricted.

Custom Variable

When the Custom Variable is selected a further option is displayed: In Assign the value of the custom variable with the data returned in the response.

Out Use the value of the custom variable to construct the post data.

Example

The settings above would produce the following HTTP POST:- http://test.aspx?param1=myval The value part of the name value pair within the query string are URL encoded. To consume data returned from a HTTP post the response string should contain data in name value pairs:- name=value&name=value&name=value The name part of the response must match a custom variable name. The response data returned from the post must be a string containing name value pair data with multiple pairs separated with a ‘&’ character. To assign a value returned in the response to a custom variable, you should set the direction to ‘In’ and enable the process response check box. If the example above returned the following HTTP response string, value 123 would be assigned to variable @ReturnedVal1 and 456 to variable @ReturnedVal2 @ReturnedVal1=123&@ReturnedVal2=456

See Using Send Post and Variables to Affect Call Flow for more information.

Send Post Log Viewer

This viewer has been created to allow you to retrieve the log data for requests made by the Send Post node - this is extremely useful in determining the cause of any send post failures within the call. Click the button in the Send Post tab on the property window to view the send post log.

Last updated

Was this helpful?