Send weekly client reports from Google Sheets with Gemini and Gmail approvals
Ready for 3.0What this workflow does
This AI workflow has 51 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Configure Report Template (Edit Fields (Set)): sets 4 fields: test_mode, spreadsheet_id, sender_name…
- Validate Report Configuration (Code): runs custom JavaScript code
- Demo Mode? (If): checks a condition and branches into true / false
- Load Demo Dataset (Code): runs custom JavaScript code
- Get Active Clients from Sheet (Google Sheets): read (sheet)
- Normalize Dataset (Code): runs custom JavaScript code
- Filter Active Clients (Code): runs custom JavaScript code
- Validate Dataset (Code): runs custom JavaScript code
- Process Clients One at a Time (Loop Over Items (Split in Batches)): loops over the items in batches
- Dataset Valid? (If): checks a condition and branches into true / false
…plus 37 more steps. See the full node list below.
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - No Operation, do nothing
n8n-nodes-base.noOp - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Quick overview This workflow builds weekly client report emails from Google Sheets data, generates a short narrative with Google Gemini, routes the draft through a Gmail approval step, and logs each report’s status back to Google Sheets before sending the…