“I’ve created a robot on n8n. My Sheets file is organized with all my information. It contains columns for name, surname, department, leave start date, and leave return date. There are about 400 rows of data. ChatGPT can handle simple questions but sometimes it gets confused. For example, when I ask it to list the top 5 employees with the most leave, it does so, but it misses the employee with the most leave. For more complex questions like this, it gives a token warning. Sometimes it works, but it brings up employees with no names, and sometimes it gives an error. How can I solve this?”
1 Like
Hi @Sezgin_Koyun,
A few thoughts.
- You may be able to adjust your system prompt to handle more complex queries
- Might want to look into RAG agents. They are able to handle more complex queries.
- Can you upload your workflow into a code block? That makes it easier for us to give specific feedback.
Best,
Robert