Pcornel
Automation · n8n

Webhooks

Cheat sheet · https://pcornel.dk/topic.php?topic=5578

Back to the Topic

Answer

n8n webhooks expose an HTTP endpoint that starts a workflow when called, with test and production URLs, authentication options and configurable responses.

Remember

  • Webhook nodes expose test and production URLs.
  • Add authentication.
  • Configure the response.

First checks

  • curl -sS -X POST -d @sample.json https://<n8n>/webhook/<path> — production webhook
  • Webhook authentication (header/basic) — security
  • Test vs production URLs — webhook-test vs webhook

Verify in this order

POST → webhook node → workflow

Where it usually breaks

Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5578

Confirmation

Confirm action

Continue?