My workflow has an AI node that doesn’t work effectively because it just returns 1 item from the table it is calling when there are many rows/items in the table. I’ve tried n8n tables or Notion or other tables - same issue. The instance is N8N Self Hosted. Version 1.118.2
3 Likes
Maybe try using a structured output parser?
In the AI agent node, set “Require Specific Output Format” to true. Then use a schema to define the output structure requiring an array of pages.
Could also be a system prompt issue, what does yours say?
For information, I troubleshooted a bug with the AI Agent Node ! Instead of retrieving one item from the tool it uses (getEvents, Rows from tables), it retrieves every item and doesnt aggregate them like it used to do in version 2.2 for example. I tried everything, just to let the n8n team know, many others have this problem!
