Chatbot Building Platform Logo of Itheta Labs

Action Step - External Request

 

External Requests allow you to connect to other websites or your own server to get or send data.

 

external request on chatbot builder

 

Creating an External Request

  • In the “Advanced Actions” list, find “External Request” and click “Add your request”.
  • Choose the type of request you want to make, such as GET or POST.
  • Paste the URL of the website or server you want to connect to.
  • Adjust any necessary parameters, such as headers or body data.
  • Click “Test” to make sure your request is working properly.
  • Choose which parts of the response data you want to save.
  • Click “Save” to finish creating your request.
  • Testing Values

 

Make sure to provide test values for any variables you use in your request before you click the “Test” button.

external request diagram showing 9 steps

 

URL Parameters

URL parameters are used to pass data along with a URL. For example, if you have a URL that looks like this:

https://www.example.com/users?user_id=123


The user_id parameter is a URL parameter that is used to pass the value 123 to the server.

external request showing url parameters

 

Headers

Headers are used to provide additional information about a request, such as the type of data being sent or the authorization credentials. For example, the following header is used to specify that the data being sent is JSON:

Content-Type: application/json

 

external request


Authorization

Authorization credentials are used to prove that you are allowed to access a resource. For example, the following header is used to provide an API key:

Authorization: Bearer your_api_key

 

external request

 

Body

The body of a request is the data that is actually being sent to the server. For example, the following JSON object could be sent in the body of a POST request:

{
“name”: “John Doe”,
“email”: “johndoe@example.com”
}

external request

Testing

Once you have created your request, you can test it by clicking the “Test” button. The response data will be displayed in the “Response” section.

Saving Response Header Values

You can save the values in the response header for later use. To do this, simply expand the header, click on a value in the header, and the JSON path to it will show automatically.

external request

Get in TOUCH with us!

Have questions or feedback? Fill out the form below, and we’ll connect with you shortly. We’re here to help!