Merging / filtering similar executions

Hi,
I am using CRM software which triggers a web hook when a deal is being updated. There are two issues but I would like to focus mainly on the issue nr 2.

  1. In some cases it creates a loop of executions - it triggers a scenario which modifies a deal, which leads to another execution.
  2. There are some things happening in the background where deal is modified 3-4 times within one second, which triggers a web hook 4 times almost simultaneously. Is there any option to modify the scenario to wait for all the executions (for example with the same time tag) and run a node only once ?

I am trying to limit the number of executions of a workflow which follows the web hook trigger.
Zrzut ekranu 2024-06-14 o 15.14.35

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:

Because the webhooks come in so fast you will need to queue the incoming webhooks with for example rabbitmq. After that you can have a flow that processes the payloads and checks if they are already done for the same item/deal.
With that you would also need something like redis or an other data store to keep track of things.

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