node cookbook

N8N Webhook Node Cookbook

Use the Webhook node to start workflows from incoming HTTP requests, form submissions, app callbacks, or custom event producers.

Independent third-party notes. n8n is a trademark of its owner and is referenced only for compatibility and troubleshooting context.

Quick Answer

Use the Webhook node to start workflows from incoming HTTP requests, form submissions, app callbacks, or custom event producers.

Key Facts

Node role
Trigger workflow executions from HTTP requests.
URL modes
Test URL for development and production URL for active workflows.
Common pairing
Respond to Webhook for custom response handling.
Self-hosting dependency
Public webhook URLs depend on correct endpoint and domain configuration.

Recommended Steps

  1. Add the Webhook node as the workflow trigger.
  2. Choose the HTTP method and path.
  3. Use the test URL while building the workflow.
  4. Activate the workflow and switch external apps to the production URL.
  5. Add Respond to Webhook when the caller needs a custom response.

Verification

  • A test request appears in the editor.
  • A production request creates an execution after activation.
  • The caller receives the expected response.

Warnings

  • Public webhook endpoints can receive untrusted data; validate inputs before using them.
  • Test URLs are not a replacement for active production workflows.

Sources