Hi everyone, I’m having trouble with a Webhook node in n8n. I set up a webhook URL and connected it to an external service, but the workflow is not being triggered when the request is sent.
My setup is:
Webhook → Function → Continue
Webhook is set to POST, and I’m expecting JSON data.
Here’s what I tried in the Function node:return [
{
json: {
data: $json
}
}
];
Describe the problem/error/question
The issue is:
• The webhook URL works in test mode sometimes
• But in production, it doesn’t trigger at all
• The external service shows the request was sent successfully
I’m not sure if I’m missing something about test vs production URLs or activation.
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: