# Webhook Response Node

The **Webhook Response** node is used to send a reply back to the service or application that triggered your Workflow through a Webhook Request.

***

### 🛠️ How It Works

* A **Webhook Request Node** starts the Workflow when it receives an external call.
* The **Webhook Response Node** closes the loop, sending a response back to the caller.
* Without this node, the external service might not receive any confirmation.

***

### ⚙️ Configuration Options

* **Status Code** → define the HTTP status code (e.g., `200 OK`, `201 Created`, `400 Bad Request`).
* **Response Body** → optional data to return in the response (JSON, text, etc.).
* **Headers** → add custom headers if required by the external system.

***

### 📌 Example Use Cases

* Confirm to a form that the lead was received successfully (`200 OK`).
* Return generated data, like an ID or token, to the external system.
* Send error messages (`400`, `404`, etc.) if the request was invalid.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zaia.app/workflows/workflow-nodes/webhook-response-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
