Automate Daily Email Digest with Gmail and GPT Summary Sent Every Afternoon
Needs changesWhat this workflow does
This workflow has 6 nodes and runs on a schedule (legacy Cron node). Along the way it connects Gmail.
How it runs
Trigger: On a schedule (legacy Cron node).
- Calculate Today's Dates (Function): runs custom JavaScript (legacy Function node)
- Get Today's Emails (Gmail) (Gmail): get many
- Combine Email Content (Function): runs custom JavaScript (legacy Function node)
- AI: Summarize Emails (OpenAI): uses OpenAI
- Send Summary Email (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Cron in Afternoon Trigger (4 PM): replace with Schedule Trigger.
- Function (legacy) in Calculate Today's Dates, Combine Email Content: replace with Code node, mode 'Run Once for All Items'.
- OpenAI (legacy) in AI: Summarize Emails: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Cron Afternoon Trigger (4 PM) | Schedule Trigger |
| Function (legacy) Calculate Today's Dates, Combine Email Content | Code node, mode 'Run Once for All Items' |
| OpenAI (legacy) AI: Summarize Emails | OpenAI node (AI section) |
Nodes used (4)
- Cron
n8n-nodes-base.cron - Function
n8n-nodes-base.function - Gmail
n8n-nodes-base.gmail - OpenAI
n8n-nodes-base.openAi
From the author
How it works This workflow helps you stay on top of your inbox without constant interruptions. Every afternoon, it automatically: - Fetches all emails received in your inbox throughout the current day. - Intelligently summarizes the key content of these…