Two Webhooks in workflow

Hello n8n Community,
I have a workflow in which I have two webhooks. The first webhook will always trigger but the second webhook will trigger rarely. Now I want that when my second webhook is triggered the first workflow does not work for the first webhook. The workflow only runs for the second workflow.
I tried with different ideas but when the second webhook is triggered the whole workflow executed for both webhooks.
I just want when the second webhook is triggered the workflow does not work for the first webhook.
If both webhook triggers the workflow executes twice one for each webhook.
This is how my workflow starts:
image

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:

Hi @Sid,

Thanks for posting! :raised_hands:

So, lets see if I understood this right. You want the workflow to execute conditionally, but as is, when Webhook1 triggers the workflow runs:
Webhook1 > Webhook > Code Node > Google Sheets Node
instead of
Webhook1 > Code Node > Google Sheets Node?

Any chance you could share the code to make it easier to replicate?
What other configurations have you tried so far? :slight_smile:

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