Outputs & Actions
HTTP Request and Webhook Action Nodes Reference
Technical reference for `httpRequest` and `webhook`, including response parsing, SSRF protections, and form-vs-JSON delivery.
Updated 2 min read
Overview
These nodes connect workflows to external APIs:
httpRequestfetches data from an external endpoint.webhooksends workflow data to an external endpoint.
Configuration / Settings
| Node | Setting | Details |
|---|---|---|
httpRequest | method, url, responseType, headers, body | body is used for non-GET methods. |
webhook | url, method, sendAs, headers | sendAs can be json or form. |
Inputs Expected
httpRequestdoes not require upstream input, but URL, headers, and body strings can resolve variables from earlier nodes.webhookusually receives the workflow payload from upstream and forwards it as JSON or multipart form data.
Variables Exported / Outputs
| Node | Output shape | Notes |
|---|---|---|
httpRequest | JSON object/array, string, or Blob | The executor decides using responseType and Content-Type. |
webhook | original input | It behaves like a send-and-pass-through action. |
Important note:
httpRequeststoresstatusCode,statusText,contentType, andheadersin execution metadata, not in the main variable payload. Use the node output for{{node_id.field}}expressions, not the metadata fields shown in logs.
Common Use Cases
- Read JSON from an API, then loop through the returned records.
- Send generated files or structured data to an external webhook.
- Fetch configuration data before a branch or template-fill step runs.
Edge Cases
- Both nodes enforce SSRF protections and block localhost, private IP ranges, and known metadata-service hosts.
- Invalid JSON in headers or body throws before the request is sent.
- Binary
httpRequestresponses are returned as blobs, which makes them compatible with later file nodes.