I am trying to pull data from a table and; update columns on duplicate rows, add new items and data on new rows.
The issue I am having is, this isn’t working. For my Merge nodes, it is based on a single column called Import Column. My table had these values:
O742540203
O742500401
O742457602
O742366701
O742211401
O742098702
O741893201
O741893202
O741880701
O740932102
O740478101
The existing Monday board data had these values:
O743007301
O742982108
O742892802
O742892804
O742777301
O742540203
O742500401
O742211401
O742098702
O741880701
O740932102
O740478101
As you can see, they should have all matched, yet the first Merge node only had 7 output bundles and the second had 9…
Then, the Monday board only updated one existing item and the rest were added as new and the old (duplicate) rows were all deleted.
Whenever I TEST this flow it works fine, it matches duplicate data and overwrites the appropriate cells in Monday, then adds new rows, then deletes any rows that weren’t in the trigger table.
But running live it either does things out of order or is glitching. I don’t know what is wrong or how to fix it.
Information on your n8n setup
- n8n version: 1.54.4
- Database (default: SQLite): MySQL
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Windows 11