Get a morning email and calendar brief with Gmail, Google Calendar, GPT-4o-mini and Telegram
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 9 nodes and runs on a schedule (cron 0 8 * * 1-5). Along the way it connects Gmail, Google Calendar, OpenAI Chat Model and Telegram.
How it runs
Trigger: On a schedule (cron 0 8 * * 1-5).
- 2. Set — Config Values (Edit Fields (Set)): sets 9 fields: telegramChatId, gmailUserId, companyName…
- 3. Gmail — Fetch Unread Emails (Gmail): get many
- 4. Google Calendar — Fetch Today and Tomorrow (Google Calendar): get many
- 5. Code — Merge Emails and Calendar (Code): runs custom JavaScript code
- 6. AI Agent — Write Morning Brief (AI Agent): runs an AI agent, with model: 7. OpenAI — GPT-4o-mini Model
- 8. Code — Prepare Telegram Message (Code): runs custom JavaScript code
- 9. Telegram — Send Morning Brief (Telegram): uses Telegram
Services it uses
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 6. AI Agent — Write Morning Brief (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 6. AI Agent — Write Morning Brief (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail - Google Calendar
n8n-nodes-base.googleCalendar - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram
n8n-nodes-base.telegram
From the author
Description Activate this workflow once and every weekday morning at 8AM your phone receives a complete day briefing on Telegram — automatically. It fetches your unread emails and today's and tomorrow's calendar events in parallel, sends everything to…