Allow disabling test/prod/waiting webhook endpoint

Having https://my.domain.com/webhook or /webhook-test is a great concept, but I ran into a case making it super annoying.

The app I want to integrate can only save 1x destination URL, can’t dynamically choose which endpoint. To make it worse, when the app saves an updated URL, it makes couple GET requests which is totally different logic, and only saves updates if those requests passes some validation. In short, PITA to change.

Now in n8n, the editor GUI rely on /webhook-test to capture data structure and editing the flow. And Execution rely on /webhook end point.

I tried to set below env but found all request will go to N8N_ENDPOINT_WEBHOOK and test endpoint won’t receive anything

  - N8N_ENDPOINT_WEBHOOK=webhook
  - N8N_ENDPOINT_WEBHOOK_TEST=webhook
  - N8N_ENDPOINT_WEBHOOK_WAIT=webhook

A member on discord helped me by pinning the data which I managed to achieve by restarting docker compose a couple times, and that means every time I want to edit any flow, I need to change the compose.yml back n forth

Is there a proper way to disable the test/prod endpoints and have 1 only?

Information on your n8n setup

  • n8n version: 1.76.1
  • **Database (default: SQLite): postgres **
  • n8n EXECUTIONS_PROCESS setting defaul
  • Running n8n via Docker
  • Operating system: ub22.04

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.