SplitInBatches only showing 1 items & how to manage "global variables" for rendering a message in Discord

Describe the problem/error/question

SplitInBatches seems to only have 1 row returned as I’m executing the Workflow.

I’m looking to build a workflow that takes a Google Sheet of company leads, iterates row by row to see if this company already exists in the CRM. If it doesn’t, then add a new Company and a new Contact for each row in the sheet. Then output the result to a Discord Server.

I think these issues are related, but I am also trying to keep a counter of all the companies that are already existing in the CRM to output to the Discord message.

What is the error message (if any)?


Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.224.4,
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Unraid

Figured it out…I was using an old SplitInBatches node prior that was in place prior to upgrading to latest version.



Welcome to the community!

Great that you solved it yourself. Please also mark your answer as the answer for the question, so it is clear no further answer is required. :wink:

1 Like

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