I created a simple Telegram bot using n8n. And inside this workflow in the AI Agent tool, I added Google Tasks. So, I marked some tasks as completed, but when I asked about that list of all completed tasks, it responded that no completed tasks were found! I tried many times to clearly say to check but same result!
But when I say to list all tasks or ask something about it, its answer is correct. Other things are alright.
Please help me with that.
thank you
I’m going to take a shot in the dark and say that you haven’t added the corresponding filters.
Note that you have to add Show Completed option and toggle it on too.
I did the filter option on “show completed” but its not work still!.
When the workflow exciting the process, all nodes work perfectly and just the final node where to send Telegraph message, its showing “bad request error”
I assume its Bad request - Please check your parameters error from the Telegram node. If so, could you share the Telegram node with us? A screenshot, or preferably its code.
Unfortunately, in reply section, I couldn’t the image sharing option?
Copy & paste the screenshot directly.
It seems to be related to the system prompt. Explicitly tell the agent that it can use the same tool to list completed tasks by defining the corresponding parameters.
You can prompt ChatGPT to write a clear system prompt for your agent. If that doesnt help, try changing the model to a smarter one.
2 Likes
Okey thanks for your help, I will try your solution to apply and I wish it could be solve.
1 Like
I don’t know if you can cancel the “mark as solution”. But if that doesnt work reply to this thread and I’ll try my best to help further.
1 Like
Now, I tried gpt 4.1 mini and also other provider models, but still can’t provide me the completed task! Its always replying “You have 0 completed tasks at the moment.” Although I mentioned to for completed task.
so, what could I do now?