Simplify your workflow into a single flow

Hi everyone, I created this workflow but as you can see it is divided into 2 flows, I would like to simplify it into a single flow if it were possible but the problem is that I don’t know how to recall the webhook data in the subsequent ones operations depending on which of the 2 is activated. Can someone help me?

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:

@IvanLao , you can introduce a querystring into your Webhook URL. That is, instead of the external application triggering the workflow with two different URL in the format http://N8N_DOMAIN/webhook/ID for each of the two scenarios, the URL to GET would be the same one but with a different querystrings (that is only one webhook). Something like below:

  • http://N8N_DOMAIN/webhook/ID?flow=inserito
  • http://N8N_DOMAIN/webhook/ID?flow=aggiornato

Then, based on the the value of flow you would act appropriately.

2 Likes

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