n8n-nodes-custom-webhook-wait
v1.0.18
Published
Custom n8n node that waits for a webhook call before continuing workflow execution
Maintainers
Readme
n8n-nodes-webhook-wait
A custom n8n node that pauses workflow execution and waits for a webhook call before continuing.
Features
- Customizable Webhook URL: Set any custom path for your webhook
- Multiple HTTP Methods: Support for GET, POST, PUT, PATCH, DELETE, HEAD
- Authentication Options:
- None
- Basic Auth
- Header Auth
- Dynamic Path Generation:
- Include execution ID in path
- Include workflow ID in path
- Flexible Response Configuration:
- Custom response codes
- Custom response headers
- Custom response body/message
- Data Handling:
- Pass through input data
- Merge webhook data with existing data
Installation
Local Development
Clone this repository to your n8n custom nodes directory:
cd ~/.n8n/custom git clone <this-repo> n8n-nodes-webhook-wait cd n8n-nodes-webhook-waitInstall dependencies:
npm installBuild the node:
npm run buildRestart n8n
Using npm link (for development)
In this project directory:
npm linkIn your n8n installation directory:
npm link n8n-nodes-webhook-waitRestart n8n
Usage
Basic Usage
- Add the Webhook Wait node to your workflow
- Configure the custom webhook path (e.g.,
my-custom-webhook) - Set the HTTP method (default: POST)
- Run the workflow - it will pause at this node
- Send a request to the webhook URL to continue the workflow
Example Workflow
Trigger → Some Processing → Webhook Wait → Continue Processing → EndThe workflow will:
- Start from the trigger
- Process initial nodes
- Pause at Webhook Wait and expose a webhook URL
- Wait for an external call to the webhook
- Continue with the remaining nodes
Webhook URL Format
The webhook URL will be:
https://your-n8n-instance.com/webhook/your-custom-pathOr with execution ID:
https://your-n8n-instance.com/webhook/your-custom-path/execution-idAuthentication
Header Auth
Set a custom header name and expected value. The webhook will only accept calls that include this header with the correct value.
Basic Auth
Configure username and password. The webhook will require HTTP Basic Authentication.
Configuration Options
| Option | Description | Default |
|--------|-------------|---------|
| Custom Webhook Path | The path segment of the webhook URL | webhook-wait |
| Use Full Path | Use path as full path instead of appending to base | false |
| HTTP Method | HTTP method to listen for | POST |
| Response Code | HTTP status code to return | 200 |
| Response Data | What data to return in response | No Response Body |
| Include Execution ID | Append execution ID to path | false |
| Include Workflow ID | Append workflow ID to path | false |
| Pass Through Input Data | Merge input with webhook data | false |
| Timeout (Minutes) | Max wait time (0 = infinite) | 0 |
Response Data Options
- All Entries: Return all webhook data (headers, body, query, params)
- First Entry JSON: Return only the request body
- First Entry Binary: Return binary data if present
- No Response Body: Return empty response
- Custom Response: Return a custom JSON message
License
MIT
