Skip to main content

Respond to Webhook

The Respond to Webhook node sends a custom HTTP response back to the caller of a Webhook Trigger. It is used when you need full control over the HTTP response — custom status codes, headers, or body content. Respond to Webhook Node

Use Cases

  • Return a custom JSON response to an API caller after processing
  • Respond with a specific HTTP status code (e.g. 201 Created, 400 Bad Request)
  • Set custom response headers (e.g. Content-Type, X-Request-ID)
  • Build synchronous webhook endpoints that return processed data

Prerequisites

The orchestration’s Webhook Trigger must have Response Mode set to Using Respond to Webhook Node. If the response mode is set to Immediately or When Last Node Finishes, this node has no effect.

Node Reference

Parameters

ParameterTypeRequiredDescription
Respond WithSelectYesThe format of the response body (see below)
Response BodyString / JSONConditionalThe body to return (required for JSON, Text, Binary)
Response CodeNumberNoHTTP status code (default: 200)
Response HeadersKey-ValueNoAdditional headers to include in the response

Respond With Options

OptionDescription
All Incoming ItemsReturn the full output of all upstream nodes as JSON
First Incoming ItemReturn only the first item from the upstream output
JSONReturn a custom JSON body
TextReturn a plain text body
BinaryReturn a binary file (e.g. an image or PDF)
No DataReturn an empty response with just a status code

Example: Return a Custom JSON Response

Configuration:
FieldValue
Respond WithJSON
Response Code200
Response Body{ "status": "success", "orderId": "{{ airtable.id }}" }
Resulting HTTP response:
HTTP/1.1 200 OK
Content-Type: application/json

{
  "status": "success",
  "orderId": "recXXXXXXXXXXXXXX"
}

Example: Return a 400 Error

FieldValue
Respond WithJSON
Response Code400
Response Body{ "error": "Invalid request", "message": "{{ conditions.reason }}" }

  • Webhook Trigger — The trigger node this node responds to
  • Conditions — Branch before responding based on orchestration logic