Suggest meeting slots using AI
Needs changesWhat this workflow does
This AI workflow has 8 nodes and runs on Gmail events. Along the way it connects OpenAI Chat Model, Gmail and Google Calendar.
How it runs
Trigger: On Gmail events.
- Classify appointment (Text Classifier): classifies text into categories with AI, with model: OpenAI Chat Model
- Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Google Calendar)
- Send reply (Gmail): reply
- Mark as read (Gmail): mark as read
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Google Calendar + Gmail templates (239) · Other Google Calendar + OpenAI templates (184)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2023 — 25% of templates published before 2025 need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (6)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Calendar Tool
n8n-nodes-base.googleCalendarTool
From the author
The purpose of this n8n workflow is to automate the process of identifying incoming Gmail emails that are requesting an appointment, evaluating their content, checking calendar availability, and then composing and sending a response email. Note that to use…