Send weekly AI summaries of Google Sheets data via Gmail using OpenAI
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs on a schedule (every week at 09:00). Along the way it connects Google Sheets, OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every week at 09:00).
- Read Google Sheets Data (Google Sheets): uses Google Sheets
- Aggregate: combines items into one
- Generate Summary with AI (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Format Report (Edit Fields (Set)): sets 3 fields: report_body, report_date, subject_line
- Send Report Email (Gmail): uses Gmail
- Log Report Sent (Google Sheets): append
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail
From the author
How it works - Runs automatically on a weekly schedule (every Monday at 9am by default). - Reads all rows from a Google Sheets spreadsheet containing your data. - Aggregates the data and sends it to OpenAI to generate a concise summary report. - Formats the…