Skip to main content

Manage Gmail and Google Calendar with a multi-agent executive assistant (GPT-4o)

Workflow preview

Workflow preview
100%
Manage Gmail and Google Calendar with a multi-agent executive assistant (GPT-4o) preview
Open on n8n.io

1. Workflow Overview

This workflow turns n8n into a smart, conversational personal assistant. Think of it as a digital manager for your daily work life. It can read your emails, write out message drafts, check when you...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.gmailtool, n8n-nodes-base.googlecalendartool, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.agenttool, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Manage Gmail and Google Calendar with a multi-agent executive assistant (GPT-4o)
Workflow name
Manage Gmail and Google Calendar with a multi-agent executive assistant (GPT-4o)

This workflow turns n8n into a smart, conversational personal assistant. Think of it as a digital manager for your daily work life. It can read your emails, write out message drafts, check when you are free, and book or cancel meetings on your calendar just by talking to it in plain English.


🛠️ Step-by-Step Node Explanation

Here is exactly what every single block (node) in our workflow does, explained in simple terms:

🟩 The Starting Point

1. When chat message received
  • What it does: This is the chat box UI. It is the window where we type our instructions (like "Do I have any unread emails?") and where the AI types its answers back to us.

🧠 Our Core Brain & Memory

2. SUPERVISOR
  • What it does: This is our project manager. It listens to what we type in the chat box, figures out what we want, and decides which specialized assistant should handle it. It makes sure everything happens in the right order.
3. OpenAI Chat Model (for Supervisor)
  • What it does: This acts as the raw human-like intelligence engine (powered by ChatGPT technology) that allows our Supervisor to understand normal human language instead of rigid computer code.
4. Simple Memory
  • What it does: This is our assistant's short-term notepad. It stores the last 16 lines of our conversation so the AI doesn't forget the context of what we are currently working on together.

💼 Our Specialized Assistant Teams

5. Inbox_Agent
  • What it does: This is our dedicated Inbox Specialist. When our Supervisor says, "Hey, look at the inbox," this block wakes up. It knows exactly how to read, write, and manage emails, and reports its work back to our Supervisor.
6. OpenAI Chat Model1 (for Inbox Agent)
  • What it does: A dedicated brain assigned only to our Inbox Specialist. This keeps its thinking separate from the rest of the workflow so it can focus entirely on our emails without getting confused.
7. Calendar_Agent
  • What it does: This is our dedicated Calendar Specialist. It handles scheduling, looks for empty time slots, books appointments, or clears canceled events.
8. OpenAI Chat Model2 (for Calendar Agent)
  • What it does: A dedicated brain assigned only to our Calendar Specialist, helping it focus entirely on our dates, times, and scheduling rules.

📧 Our Gmail Tools (Used by the Inbox Specialist)

9. Read_Emails
  • What it does: Logically logs into our Gmail inbox to fetch our unread messages so our Inbox Specialist can summarize them for us.
10. Draft_Email
  • What it does: Opens up a blank email page in our Gmail, types out a subject line and a message body written by the AI, and saves it in our Drafts folder. It leaves the email there for us to look at later.
11. Send_Email
  • What it does: Safely packages and sends an email out to a recipient. It is completely locked down and will never fire unless we give explicit text permission in the chat.

📅 Our Google Calendar Tools (Used by the Calendar Specialist)

12. Check_Calendar
  • What it does: Peeks at our calendar during specific dates or hours to see if we have any overlapping plans, or to find a specific meeting we want to get rid of.
13. Book_Meeting
  • What it does: Writes a brand new appointment (like "Sync with Team") onto our digital calendar at a specific start and end time.
14. Cancel_Meeting
  • What it does: Finds an existing event on our calendar and completely deletes it to clear up our day.

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 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.4

Block 2 - OpenAI Chat Model

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

Block 3 - Read_Emails

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

Block 4 - Draft_Email

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

Block 5 - Send_Email

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

Block 6 - Check_Calendar

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

Block 7 - Book_Meeting

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

Block 8 - Cancel_Meeting

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

Block 9 - Simple Memory

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

Block 10 - Inbox_Agent

Type / Role
@n8n/n8n-nodes-langchain.agentTool - agentTool
Config choices
Version 3

Block 11 - Calendar_Agent

Type / Role
@n8n/n8n-nodes-langchain.agentTool - agentTool
Config choices
Version 3

Block 12 - OpenAI Chat Model1

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

Block 13 - OpenAI Chat Model2

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

Block 14 - SUPERVISOR

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

Block 15 - Sticky Note

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

Block 16 - Sticky Note1

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

Block 17 - Sticky Note2

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

Block 18 - Sticky Note3

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

Block 19 - Sticky Note4

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

Block 20 - Sticky Note5

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

Block 21 - Sticky Note6

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

3. Summary Table

Workflow Manage Gmail and Google Calendar with a multi-agent executive assistant (GPT-4o)
Complexity advanced
Nodes 21
Categories Personal Productivity, AI Chatbot
Author Jitesh Dugar
Published 18 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15798/15798.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 Manage Gmail and Google Calendar with a multi-agent executive assistant (GPT-4o) do?

This workflow turns n8n into a smart, conversational personal assistant. Think of it as a digital manager for your daily work life. It can read your emails, write out message drafts, check when you...

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.