The HTTP Request action allows the AI Agent to connect to external APIs and services during the chat and perform an action.The Agent can collect the needed inputs from the user, pull values from chat history, or use saved contact data—then send the request and use the result to respond or take the next step.
Define the parameters the Agent must gather before sending the request. The Agent can capture these from user input, existing chat context, or saved contact data.For each parameter, you can specify the following:
Name: The name of the parameter. Must start with a letter and contain only letters, numbers, and underscores.
Description (optional): A description of the parameter to indicate what it is and if applicable, the formatting rules and min/max length.
Save to variable (optional): The variable where the data can be saved. Applicable when you want to use the data in the HTTP request’s parameters, such as URL, body, headers, etc.
Run a live test with sample input values to confirm that it’s working.The request must succeed before the action can be created. A request is considered successful if it returns a 2xx status code and a valid JSON response.