Templates / Generate weekly sales insights with Google Sheets, Gemini AI and Gmail

Generate weekly sales insights with Google Sheets, Gemini AI and Gmail

Ready for 3.0

by Avkash Kakdiya ✓ · 95 views · created 2026-04-01 · CRM, AI Summarization

Ready 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.

Nodes used (7)

GmailGoogle SheetsGoogle Gemini

What it does

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 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. Step-by-step - 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. Why use this? - Automates weekly reporting with zero manual effort - Provides AI-driven insights for better decision-making - Visualizes performance trends clearly with charts - Improves communication with clean, professional email reports - Saves time on data cleaning, analysis, and formatting

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.