Draft weekly vendor update emails with Google Sheets, OpenAI, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 10 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).
- Settings (Edit Fields (Set)): sets 3 fields: AGENCY_NAME, AGENT_NAME, SIGNATURE_HTML
- AI instructions (Edit Fields (Set)): sets 1 field: SYSTEM_PROMPT
- Read vendor listings (Google Sheets): uses Google Sheets
- Active vendors only (Filter): keeps only the items that match a condition
- Write vendor update (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Subject and body
- Format email (Code): runs custom JavaScript code
- Save draft for review (Gmail): create (draft)
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 (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
Quick overview UK estate agents (and any agent who reports back to sellers) who want each vendor to get a friendly weekly update on viewings, enquiries and feedback, without writing every email by hand and without anything going out unchecked. How it works 1.…