AI Agent not using Notion Tools

Hello Everyone!

I’m new to n8n and I’m going crazy try to figure out how to let the AI Agent work with Notion tools.
The tasks are pretty simple: Reading and filling my Calendar (database) and Reading and filling my to do list (database).

Problems

  1. sometimes the agent do not call the tool at all providing random answers.
  2. it can’t set the right dates when adding an event to the calendar, even if the settings are set to “Defined automatically by the model”. Sometimes, it add the event on my database but without any date.

Could you please give me some advice to make it work?

Information on your n8n setup

Thank you!

  • n8n version: 1.90.2
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via : n8n cloud
  • Operating system: Windows 11

Maybe instead of the way you’re listing the tools, list them with their names. i.e.:

# Tools
1. "Read calendar" → To fetch all upcoming events.
2. "Manage calendar" → To create or delete events. Always requires a date.
3. "Read to do list" → To fetch all current tasks.
4. "Manage to do list" → To create or delete tasks. Always requires a title.

Also - I’m not sure how it handles the “→” character. You may want to change that to “:” or something.

Not sure this will help, but it’s worth a shot.

1 Like


I also have a suggestion.

In your AI Agent settings, increase interactions.
Try this suggestion

I hope I helped in some way

2 Likes

Guys thank you for your help.

@interss that definetly help the model to better understading. It still give me some answers based on the telegram chat instead of calling the right tool, but has improved a lot now.

@42andrising also this helped in less confusion by the AI.

I suppose that, now, it’s all about setting the right prompt to the model being more clear.

About the fact that the AI do not set the dates in the “Manage calendar” tool, do you have some ideas?

Thank you! <3

If this suggestion solved your problem, please mark the post as a solution (blue box with check mark) so that this ongoing discussion does not distract others who want to find the answer to the original question and press the heart button :heart:. Thank you :+1:

For the calendar, I don’t have any experience with Notion, but with the individual keys/data in the Notion calendar tool - instead of what you have there in the descriptions for the individual items (The descriptions you have are a little bit confusing), tell the agent what it is. i.e.: “This is the date for the appointment.”, “This is the category of the appointment.” And for the tool description perhaps something like “This tool is used to schedule and manage appointments.”

Not sure this will help, but it’s worth a shot.

1 Like

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