Send weekly KPI summary emails from Google Sheets using Gemini and Gmail
Ready for 3.0What this workflow does
This AI workflow has 7 nodes and runs on a schedule (every week at 08:00). Along the way it connects Google Sheets, Google Gemini Chat Model and Gmail.
How it runs
Trigger: On a schedule (every week at 08:00).
- Get Weekly Data (Google Sheets): uses Google Sheets
- Compute KPIs (Code): runs custom JavaScript code
- Write Executive Summary with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Build HTML Report (HTML): parses or builds HTML
- Email HTML Report (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
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 (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - HTML
n8n-nodes-base.html - Gmail
n8n-nodes-base.gmail
From the author
Quick Overview This workflow runs weekly to read metrics from Google Sheets, compute totals and averages, generate an executive summary with Google Gemini, and send a styled HTML report email via Gmail. How it works 1. Runs every week on a schedule trigger.…