Converse AI

HTTP Calls

The HTTP call module allows you to call out to any external system to send a request, this may be for sending details of the conversation to an external system, or retrieving details to be used within the flow of a conversation.

Request

The available configuration options are:

URL

The HTTP or HTTPS URL to which you wish to make the request

Method

The relevant method (GET, POST, PUT, DELETE)

Headers

Any headers you require, as key value pairs

Form Parameters

Form Parameters (also known as Query Parameters or Arguments) to send with the request.

Important Note

Sending Form Parameters will override any Body Data

Body

If a PUT, POST or DELETE request, the relevant body to send, if any.

Response

If the responding API sends back a JSON object, it is possible to save this response against the conversation in:

{{states.STATENAME.utilities.httpcall}}

From there you can then reference any part of it using handlebars as described in Referencing Data

HTTP Calls