Description
The Webhook | Response tool calls an external HTTP endpoint and, optionally, writes selected values from the response into variables. Good fits:- Send call data to another system
- Look up a contact, claim, booking, or account in an external service
- Trigger an automation in Zapier, Make, n8n, a CRM, or an internal API
- Store selected fields from the webhook response into variables
Manual Inputs
| Name | Data Type | Required | Description |
|---|---|---|---|
| URL | string | Yes | Full endpoint to call, including https:// |
| Method | string | No | HTTP method. Defaults to POST if left blank |
| Headers | json | No | Request headers, as valid JSON |
| Body | string | No | Request body sent with POST, PUT, and PATCH |
| Response Map | object | No | Which response values to write into variables |
URL
The endpoint the tool should call. Use the full URL, includinghttps://:
Method
The HTTP method to use. If you leave this blank, the tool usesPOST.
| Method | Use |
|---|---|
GET | Read data from an endpoint |
POST | Send data or trigger an action (the usual default) |
PUT | Replace or update a resource |
PATCH | Partially update a resource |
DELETE | Delete or cancel a resource |
POST unless the external API specifically requires something else.
Headers
Optional request headers — authentication tokens, API keys, content types, or vendor-specific headers. Common examples:Authorization: Bearer <token>x-api-key: <key>Content-Type: application/json
Body
Optional request body. Use it to send information to the webhook, such as caller details, call results, or variables captured earlier in the flow.- For
POST,PUT, andPATCH, the body is sent with the request. - For
GET, the body is ignored — put lookup values in the URL or use the API’s query-string format.
Response Map
Optional. Tells the tool which values from the response should be written into variables. Use it when the webhook returns useful JSON, such as an ID, status, or URL. The left side is the destination variable. The right side is the path inside the JSON response. For this response:- Use dot notation to walk nested objects.
- Use number indexes for arrays —
results.0.nameis thenamefield on the first item inresults. - Use a blank response path to write the full JSON response into one variable.
- If the response is not JSON, the webhook can still succeed, but Response Map cannot write values.
- If a response path is missing, that one write is skipped. The tool still succeeds if the request returned a 2xx response.
Manual Outputs
| Name | Data Type | Description |
|---|---|---|
| result | bool | true if the endpoint returned an HTTP 2xx response |
Conditions
Success (true)
The endpoint returned an HTTP 2xx response.Failure (false)
The URL was missing, the method was invalid, the request failed or timed out, or the endpoint returned a non-2xx status.Example Usage
Trigger a simple webhook:Common Issues
- Returns
false— check the endpoint status code, URL, method, and authentication headers. - Service says the body is invalid — validate the body JSON and confirm the API’s expected field names.
- Response values are not written — check that the response is JSON and the Response Map paths match the actual response.
- One mapped value is missing — that path probably does not exist in the response.
- A
GETis not sending body data — move those values into the URL query string, or use the method the API expects. - Authentication fails — confirm whether the service expects a bearer token, API key header, basic auth, or a token in the URL.
Best Practices
- Use
POSTfor generic webhook triggers - Map only what you need — use Response Map for fields the flow uses later
- Store stable values — identifiers, statuses, and URLs rather than entire large responses
- Test response paths — keep them short and verify against a real sample response
- Avoid hard-coded secrets — prefer a safer secret or integration mechanism over secrets in script text
Next Steps
- Code Step — Parse and route on a webhook response with
json_loads - Tool Steps — Learn how to configure tool steps
- Variables — See all available variables

