AI-Powered Gmail and Calendar Assistant with Gemini Chat Interface
⚠️ Disclaimer: This workflow uses Google Calendar and Gmail nodes which you will have to configure yourself
Who’s it for Anyone who wants an AI-powered personal assistant that can handle Gmail and Google Calendar tasks through a simple webhook. This is useful for developers, small teams, and productivity enthusiasts who want to connect a chatbot (Discord, Telegram, WhatsApp, or custom frontends) to their email and calendar.
How it works / What it does This workflow acts as a chat-based AI assistant. You send text requests through a webhook (e.g., from a chatbot), and the AI agent interprets them to take actions like:
📧 Sending emails in Gmail
📥 Reading and summarizing your emails
📅 Checking your Google Calendar events
✅ Checking your availability before booking
📝 Creating new calendar events with Google Meet links
✏️ Updating existing events
⏰ Converting natural time expressions like “tomorrow at 3 PM” into exact timestamps
The AI agent is powered by the Google Gemini Chat Model (or any LLM you choose) and follows strict guardrails:
Confirms actions before executing
Asks for clarification if details are missing
Prevents double-booking by checking availability
How to set up
Import this workflow into n8n.
Set up credentials for:
Gmail (OAuth2)
Google Calendar (OAuth2)
AI provider (Gemini, OpenAI, Claude, etc.)
Configure the webhook node (/chat) as your chatbot endpoint.
You can connect it to Discord, WhatsApp, Telegram, or a frontend app.
Customize the AI Agent’s system prompt if you want to tweak tone or rules.
Deploy and start sending messages like:
“Check my emails from today”
“Schedule a meeting with John tomorrow at 3 PM”
“Email my team about the deadline extension”
Requirements
n8n installed and running (cloud or self-hosted)
Gmail and Google Calendar accounts with API access
API key for your chosen AI provider
Webhook Chatbot interface
How to customize
Swap Google Gemini with another LLM node (e.g., OpenAI GPT or Anthropic Claude).
Add more tools (e.g., Slack, Notion, Trello) to extend capabilities.
Adjust memory length in the Simple Memory node.
Modify sticky notes with instructions tailored to your use case.
Disclaimer
This workflow uses the community webhook entry point, so it is best suited for self-hosted n8n instances.
Do not hardcode API keys or sensitive credentials. Always use n8n’s Credentials system.
Other Details
Thanks for viewing this automation!
Feel Free to contact me at praneel.tech
Also Use my Webhook chatbot interface Which is configured perfectly for n8n Automations!
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments