HTTP Request

Use HTTP Request to call an external service and use its result later in the Flow, for example, to look up data, notify another system, or make a decision.
Configure the endpoint, request data, authentication, and response handling in the drawer. Connect successful and failed requests separately, and never place secrets directly in messages or logs.
Configuration and outcomes
Choose GET, POST, PUT, or DELETE; configure headers, form, URL-encoded, or JSON request bodies; and select no authentication, Basic authentication, or Bearer-token authentication. A 2xx response follows HTTP Request Successful; every other response follows HTTP Request Failed.
Variables set by this node
After the request completes, the node stores the response so later nodes can use it. This is how data from your own system enters the Flow.
Show the variables this node sets
Each variable is prefixed with the node's unique name, shown here as http_request_abc. Insert them with the Variables button rather than typing them, so the prefix always matches your node.
| Variable | Contains | Example |
|---|---|---|
{http_request_abc.status_code} | The HTTP status code received. | 200 |
{http_request_abc.response_text} | The response body as plain text. | {"tier": "gold"} |
{http_request_abc.response_json} | The response body parsed as JSON. Read a single field by adding its key, for example {http_request_abc.response_json.tier}. | gold |
{http_request_abc.url} | The URL that was called, after variables were filled in. | A URL |
{http_request_abc.http_method} | The HTTP method used. | POST |
response_json only has fields when the endpoint returns valid JSON. A missing field renders as empty text, so test the path where your endpoint returns an error.
Typical uses:
- Read a customer's name or account status into a TTS prompt in Play TTS / Audio.
- Route the Flow on a returned field with Check Conditions.
- Save a returned value on the contact with Update Contact.
See Flow variables for how variables work across a Flow.
Recommended pattern
Use Variables to populate an endpoint, headers, parameters, or body from the current session. Set an explicit timeout, inspect the response with a test Flow, and use the failure route for non-2xx status codes rather than assuming a remote service is always available.
See Integrations & APIs for related guidance.