Webhooks are special URLs that instantly trigger workflows when they receive an incoming HTTP request (like GET or POST). They're perfect for connecting external tools to n8n in real time.
Unprotected webhooks are publicly accessible on the internet — anyone with the link can trigger your workflow. This can lead to spam, unwanted requests, or even data loss.
n8n provides native authentication options for webhook nodes:
These methods are highly recommended if supported by your external app or service. You can find them in the “Authentication” dropdown of the webhook node.
Sometimes, external tools don’t support custom headers or advanced auth methods — for example:
In those cases, you can protect a webhook by adding a secret query parameter (e.g. ?secret=abc123xyz456...) and validating it with an IF node at the start of your workflow.
This way, only those requests with the secret can trigger the core elements of your workflow.
It's a simple yet powerful way to secure GET-based workflows. Only use if better methods aren't available.