How to automate Gmail with n8n AI

Hello :wave:

I’ve been playing recently with some Gmail automations and decided to record this little tutorial on how to supercharge your inbox with n8n workflows :rocket: In this video I cover:

  1. Auto-labelling of new incoming emails using AI nodes
  2. Creating reply drafts (connected with thread ID) based on your knowledge base (using OpenAI Assistants and AI agent node)

Workflow files as always in the description :v:

2 Likes

Very cool, and I love your gmail addon!

1 Like

Thanks Bart, I appreciate it very much!

1 Like

Love it. Automatic email drafts based on internal SOPs and past email style is something that’s been on my list

2 Likes

Thank you @liam - I’m glad you find my video helpful!

1 Like

I am self hosting n8n and can’t get the oauth credentials working. I am using a standard gmail account, I have also tried using a Google workspace account for individuals. Would love a little help showing how to resolve this.

Have you created a google console account with the right callback url?