I am trying to sync data from ClickUp to Google Sheets. The issue occurs when I select multiple tasks or subtasks and mark them as completed in one go. Although all the data is triggered correctly from ClickUp, in the n8n workflow, the data in Google Sheets gets overwritten for some rows.
Below are the details of the workflow and its execution timing. I even added a wait step to resolve this issue, but it didn’t help. I noticed that multiple executions are being fired simultaneously. For example, at 13:11:16, seven tasks were completed, but the issue still persisted.
Attached is an image for reference. How can I resolve this problem?
by default n8n runs with no concurrency limitations, which can cause scenarios like these where some “faster” calls may overwrite each other.
The concurrency control feature is something to set on the entire app level. You can have a read about it in our docs - Concurrency control | n8n Docs
If you wanted to do it on a more granular level you could also use a schedule node instead of the trigger and just do a daily or bi-daily poll of all the event updates. That would allow for some sanitization first and then batch-processing each instead of a first-come-first-serve basis.