Learn how to create a webhook in n8n with a simple step-by-step guide that helps you automate workflows and connect apps effortlessly.

Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
To create a webhook in n8n, you drag a Webhook node into a workflow, set its HTTP method (GET, POST, etc.), set the path (like /new-lead), save the workflow, and then copy the generated URL that n8n gives you. When that URL receives an HTTP request, n8n will start the workflow and pass the incoming data into the next nodes. That is the entire core idea: the Webhook node listens, the rest of the workflow reacts.
A webhook is simply a public URL that n8n exposes so an external service can send data into a workflow. When the URL receives a request, it triggers the workflow instantly. In n8n, this is done using the Webhook node, which is a special “trigger” node — meaning it starts the workflow, not just processes data inside it.
This is the real, production-valid way to do it.
POST.new-lead or github-push. No slashes. n8n will add them.https://your-n8n-domain/webhook/new-lead (Production)https://your-n8n-domain/webhook-test/new-lead (Test mode)
curl -X POST https://your-n8n-domain/webhook/new-lead \
-H "Content-Type: application/json" \
-d '{"name": "John Doe", "email": "[email protected]"}'
When the request hits the URL, n8n does something very predictable:
{{$json.name}}.The Webhook node output structure is extremely stable and looks like this:
{
"body": {
"name": "John Doe",
"email": "[email protected]"
},
"headers": {
"content-type": "application/json"
},
"query": {}
}
/webhook URL (not /webhook-test) before committing the workflow to production.
A webhook in n8n is simply: “n8n listens at URL → request comes in → n8n turns it into JSON → your workflow runs.” Once you understand that, most webhook-based integrations become simple wiring: you configure the Webhook node, and n8n handles the rest.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.