Skip to main content

AI-powered Gmail and Calendar assistant with Gemini chat interface

Workflow preview

Workflow preview
100%
AI-powered Gmail and Calendar assistant with Gemini chat interface preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

️ 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 ...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.gmailtool, n8n-nodes-base.googlecalendartool, n8n-nodes-base.datetimetool, n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Praneel S.

Original n8n.io source

1.1 Workflow description

Title
AI-powered Gmail and Calendar assistant with Gemini chat interface
Workflow name
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

  1. Import this workflow into n8n.
  2. Set up credentials for:
    • Gmail (OAuth2)
    • Google Calendar (OAuth2)
    • AI provider (Gemini, OpenAI, Claude, etc.)
  3. Configure the webhook node (/chat) as your chatbot endpoint.
    • You can connect it to Discord, WhatsApp, Telegram, or a frontend app.
  4. Customize the AI Agent’s system prompt if you want to tweak tone or rules.
  5. 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!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 2 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 3 - Send a message in Gmail

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

Block 4 - Get many messages in Gmail

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

Block 5 - Get many events in Google Calendar

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 6 - Date & Time

Type / Role
n8n-nodes-base.dateTimeTool - dateTimeTool
Config choices
Version 2

Block 7 - Get availability in a calendar in Google Calendar

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 8 - Create an event in Google Calendar

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 9 - Update an event in Google Calendar

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 16 - Prepare Reply

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Set

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 19 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

3. Summary Table

Workflow AI-powered Gmail and Calendar assistant with Gemini chat interface
Complexity advanced
Nodes 19
Categories Personal Productivity, AI Chatbot
Author Praneel S
Published 03 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8234/8234.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered Gmail and Calendar assistant with Gemini chat interface do?

️ 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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Chatbot use case.