The AI Agent does not connect to the gmail node

Describe the problem/error/question

I have just connected a gmail node as a tool to the workflow. The credentials work fine and when I run the step I can see my e-mails in the output pane. I can also see the gmail in the tool list of the ai agent - meaning it is connected properly

What is the error message (if any)?

"I cannot directly access your Gmail account or use the Gmail API. I am a language model; "

Please share your workflow

The work flow consists of Simple memory, a gmail node that has the option “get many” for messages and the ai agent has a simple prompt “Use the Gmail tool to list the subjects of the 3 most recent emails in my inbox.”

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)


## Share the output returned by the last node


I cannot directly access your Gmail account or use the Gmail API. I am a language model; I do not have the ability to interact with external systems or access private user data. To get the subjects of your emails, you need to use a programming language (like Python or JavaScript) and the Gmail API. You'll have to:\n\n1. **Create a Google Cloud project:** You need to create a project in the Google Cloud Console and enable the Gmail API.\n\n2. **Get API credentials:** Generate an API key for your project. This key will be used by your code to authenticate with the Gmail API.\n\n3. **Install the G...


## Information on your n8n setup
- **n8n version:**
(1.95.3)
- **Database (default: SQLite):**
Default
- **n8n EXECUTIONS_PROCESS setting (default: own, main):**
Default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
I am running via safari browser - I believe it is the n8n cloud
- **Operating system:**
Mac os

Hi,

Can you share your workflow like shown below.

n8n attach workflow

1 Like

Anyone ???