Error in AI Agent Tools when accessing the calendar

Describe the problem/error/question

I’m trying to make an AI agent that manages a calendar, but I’m facing some problems when trying to use the getAll tool in Google Calendar. It seems that my credentials are not set up or are invalid, but when I test it in a regular Node environment, it works just fine. Is it a bug, or am I doing something wrong?

What is the error message (if any)?

In the getAll event tool of Google Calendar, it shows: “Node does not have a credential type.”

Please share your workflow

Information on your n8n setup

  • n8n version: 1.64.0
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: cloud

Hey Eduardo, all good?

When the Google Calendar node is used as a Tool in the AI Agent, it needs to have the credentials set directly inside the node. Even if it works fine in manual testing, the Agent won’t be able to use it unless the credentials are selected right there.

Try this:

  • Open the Get Events node

  • Go to Credentials

  • Select the correct Google account

  • Save it and run the flow again

If that’s already done and it still doesn’t work, it might be a version issue. You’re on 1.64, which is a bit old — the Agent + Tools integration works way better on 1.85 and up.

Let me know if you want help testing it out.

Dandy

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