Send post-visit Google review requests from Google Sheets via Gmail
Ready for 3.0What this workflow does
This workflow has 47 nodes and runs on a schedule (every hour) (plus 3 other triggers). Along the way it connects Google Sheets.
How it runs
Trigger: On a schedule (every hour) (plus 3 other triggers).
- Config (Edit Fields (Set)): sets 14 fields: now, run_started_ms, spreadsheet_url…
- Skip owner alert already attempted (Code): runs custom JavaScript code
- Config (opt-out) (Edit Fields (Set)): sets 2 fields: spreadsheet_url, optout_secret
- Read Visits (Google Sheets): read
- Alert text: workflow error (Edit Fields (Set)): sets 3 fields: alert_text, alert_subject, alert_html
- Read Visits (opt-out) (Google Sheets): read
- Select visits to ask (Code): runs custom JavaScript code
- Alert: email owner (Send Email): sends an email over SMTP
- Check unsubscribe link (Code): runs custom JavaScript code
- Send or report? (If): checks a condition and branches into true / false
…plus 33 more steps. See the full node list below.
Services it uses
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 (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Send Email
n8n-nodes-base.emailSend - Stop and Error
n8n-nodes-base.stopAndError - Error Trigger
n8n-nodes-base.errorTrigger - Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview For small service businesses (clinics, salons, studios, contractors) that log visits in Google Sheets: automatically email each client a Google review request after a completed visit, once per client, with quiet hours, double-send protection…