Slack node is getting executed Twice for a Single Trigger

Hi,

We are executing a daily report generating workflow as follow:
Screenshot_2021-02-24_20-11-34

But once the workflow is triggered by cron node, the slack node is executed twice one with data from the sheet and other with dummy content.


On observing the sheet node it is returning an empty row, which it wasn’t supposed to take.
Why did it happen? How to solve it?

This workflow was executing without error in n8n instance but this issue started to appear once we moved the workflow to n8n.cloud.

This is probably because the Google Sheets node it’s returning more than 1 result. The nodes in n8n will be executed as many times as inputs it receives. To override that behavior you can do the following:

1 - Open the slack node
2 - Go to the tab settings
3 - Set Execute Once to true

1 Like

Thank You,
Will make that change as well.