Draft Google review replies with Gmail alerts and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs on a schedule (cron 0 8 * * *) (plus 1 other trigger). Along the way it connects Gmail and OpenAI Chat Model.
How it runs
Trigger: On a schedule (cron 0 8 * * *) (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 18 fields: test_mode, source, my_email…
- Test mode? (If): checks a condition and branches into true / false
- Sample Google reviews (test mode) (Code): runs custom JavaScript code
- Paste mode? (If): checks a condition and branches into true / false
- Screen reviews (code rules) (Code): runs custom JavaScript code
- Paste reviews here (paste mode) (Edit Fields (Set)): sets 1 field: pasted_reviews
- Get Google review emails (Gmail): get many
- Send to AI? (If): checks a condition and branches into true / false
- Parse pasted reviews (Code): runs custom JavaScript code
- Read review notifications (Code): runs custom JavaScript code
…plus 13 more steps. See the full node list below.
Services it uses
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick overview This workflow runs daily at 8 AM (or manually), pulls new Google Business Profile review notification emails from Gmail or reviews you paste in, uses OpenAI to draft safe reply suggestions, and saves a single summary as a Gmail draft to you…