When it getMany events, or rows from Sheets as tools of AI Agent instead of returning one big item with all the elements (Like in the past), it returns many items.
And the AI agent only treats the first one. I don’t know how to make it work anymore. I tried old workflow with old AI agent version 1.7 and it works perfectly.
It is a problem with the new version of AI Agent. I tried batch, but nothing works.
The workflows are very easy :
Hi @Devmaster ,
When one of its tools, like Google Sheets “Get Rows” or Calendar “Get Events,” returns multiple results, it now outputs each result as a separate item. In the past, it would return a single item containing an array of all the results.
The problem is that the new AI Agent only processes the very first item from the list and ignores all the others. This makes it impossible for the agent to analyze the complete dataset.
I’ve confirmed this is a version issue, as my old workflows using AI Agent v1.7 still work perfectly. I have tried using the batch settings, but it did not solve the problem.
can you help me about this?
My solution is using the AI Agent v2.2 while waiting for the n8n v1.119.0. I copy and paste from my previous workflows. But if this is your first, try copy and pasting this to your workflow