Generate automated daily email digests with Gmail and GPT-3.5 via OpenRouter
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 7 nodes and runs on a schedule (every day at 07:00). Along the way it connects OpenRouter Chat Model and Gmail.
How it runs
Trigger: On a schedule (every day at 07:00).
- Fetch Yeasterday's Date (Code): runs custom JavaScript code
- Fetch Email Which is Unread (Gmail): get many
- Aggregate: combines items into one
- Summary (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
- Send A email of Summary (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Aggregate
n8n-nodes-base.aggregate - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code
From the author
AI-Powered Daily Gmail Digest Summary using LangChain & OpenRouter This n8n template helps you automatically summarize your daily Gmail messages using OpenRouter's GPT model via LangChain. It generates a structured email digest highlighting key information,…