Hello all,
We’re experiencing issues with the data we retrieve from Google spreadsheet.
Unfortunately, I won’t be able to share copies of the spreadsheets as they’re heavy in data (which may be in cause?!) and that would require to anonymise a big share of data.
Describe the problem/error/question
We have the following workflow when it works well:
We have a trigger every 2 hours, that calls two Google spreadsheet read nodes. The two different nodes read two different files with similar structure. Lately, for example, we had 4752 items on one side and 4782 items on the other. It’s the behaviour expected to add new items/rows manually on the second Gsheet). We then merge the data through a merge node which output the 30 new rows created in order to append them to the first Gsheet through a Spreadsheet write node.
However, lately, we have seen two unexpected behaviours when examining the executions made every 2 hours:
1/ sometimes the data retrieved from the spreadsheet 2 has less items (rows) than previous execution. For example, with the workflow mentioned above, we had in previous executions:
- 4752 items at 7AM,
- 4591 items at 9AM,
- 4752 items at 11AM / 1PM / 3PM / 5PM
2/ In the example from above, at 5PM it retrieve 4752 items/rows in the spreadsheet 2 which is the same number of items as in spreadsheet 1. However, it was not correct anymore because in the afternoon 30 rows / items were added by our spreadsheet users and the node didn’t retrieve them. We executed manually the workflow at 6:23PM and this time, it retrieved the 30 new items/rows correctly.
=> these two behaviors have been happening everyday on 3 workflows that are set as this one with different spreadsheets (but the settings are the same).
Here are the settings of the spreadsheet 1:
Here are the settings of the spreadsheet 2:
(we filter on a column of the spreadsheet - which was well set up at the time we didn’t retrieve correctly)
The merging operation is then working correctly, we really experience an issues with the triggering of data.
What is the error message (if any)?
There is no error message, the workflow seems to be triggered and executed well.
Please share your workflow:
Can you please help on this? It’s getting troublesome for us to trigger manually the workflows everyday and we don’t understand what could cause this.
Information on your n8n setup
- n8n version: 0.221.2 (1 version behind the latest)
- Database (default: SQLite): n/a
- n8n EXECUTIONS_PROCESS setting (default: own, main): triggered every 2 hours
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: n/a