HTTP Request Node

Make HTTP requests to any API or webhook endpoint.

Overview

The HTTP Request node lets you call any REST API. Configure the method, URL, headers, authentication, and body. The response is stored in context under your variable name.

Configuration

Variable Name

The key under which the response is stored in context. Default: httpRequest

Reference the output: {{variableName.httpResponse.data}}

Method

Supported: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS

URL

The endpoint URL. Supports template variables:

text
https://api.example.com/users/{{userId.httpResponse.data.id}}

Authentication

TypeDescription
NoneNo authentication
Bearer TokenAuthorization: Bearer {token}
Basic AuthBase64 encoded username:password
API Key (Header)Custom header with API key
API Key (Query)API key appended to URL

Query Parameters

Key-value pairs appended to the URL automatically. Values support {{variables}}.

Headers

Custom request headers. Values support {{variables}}.

Body (POST / PUT / PATCH / DELETE)

TypeDescription
JSONRaw JSON with {{variables}} support
Form DataMultipart form fields
URL Encodedapplication/x-www-form-urlencoded
RawPlain text with custom Content-Type

Response Format

ValueBehavior
AutoDetect from Content-Type header
JSONForce JSON.parse
TextReturn raw text string

Advanced Settings

NameTypeRequiredDefaultDescription
timeoutnumberNo30000Request timeout in milliseconds
followRedirectsbooleanNotrueFollow HTTP redirects
retryOnStatusstringNoComma-separated status codes to retry, e.g. "429,503"
maxRetriesnumberNo0Max retry attempts (0-5)

Output Shape

json
{
  "[variableName]": {
    "httpResponse": {
      "data": {},
      "status": 200,
      "statusText": "OK",
      "ok": true,
      "headers": {},
      "url": "...",
      "method": "GET",
      "responseTime": 142
    }
  }
}

Examples

Fetch a user by ID and reference the response downstream.

NameTypeRequiredDefaultDescription
variableNamestringYesuserDataContext key for the response
methodstringYesGETHTTP method
urlstringYeshttps://api.example.com/users/1

Access the response: {{userData.httpResponse.data.name}}

Error Handling

Non-2xx responses throw a NonRetriableError by default. Enable "Continue on error" to handle failures gracefully.

Check {{variableName.httpResponse.ok}} in the next node to branch on success or failure.