Block 1 - Format Email1
- Type / Role
- n8n-nodes-base.set - set
- Config choices
- Version 3
How it works This workflow automatically generates a weekly sales performance report from Google Sheets data. It runs on a schedule, cleans and filters the dataset, and calculates week over week pe...
n8n-nodes-base.set, n8n-nodes-base.gmail, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.
Original n8n.io sourceThis workflow automatically generates a weekly sales performance report from Google Sheets data. It runs on a schedule, cleans and filters the dataset, and calculates week-over-week performance metrics. An AI model generates a concise business summary, while a chart visualizes category performance. Finally, the report is formatted into a professional HTML email and sent via Gmail.
Trigger & fetch data
Schedule Trigger1 – Runs the workflow weekly at a defined time.
Get row(s) in sheet1 – Fetches raw sales data from Google Sheets.
Clean & prepare data
Removing Empty Rows1 – Cleans dataset by removing empty rows and formatting numbers.
Filter Latest Week1 – Filters data to include only the relevant weekly range.
Sales Analytics Engine – Calculates totals, growth %, category performance, and prepares structured output.
Generate insights & visuals
Message a model – Uses AI to generate a short performance summary and recommendations.
HTTP Request1 – Generates a bar chart comparing category performance using QuickChart.
Format & send report
Format Email1 – Builds a styled HTML email with KPIs, insights, and tables.
Send Email1 – Sends the final report via Gmail to the configured recipient.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Generate weekly sales insights with Google Sheets, Gemini AI and Gmail |
|---|---|
| Complexity | intermediate |
| Nodes | 14 |
| Categories | CRM, AI Summarization |
| Author | Avkash Kakdiya |
| Published | 01 Apr 2026 |
Use the JSON export at /data/workflows/14563/14563.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
How it works This workflow automatically generates a weekly sales performance report from Google Sheets data. It runs on a schedule, cleans and filters the dataset, and calculates week over week pe...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.