Fill cancelled appointment slots from a Google Sheets waitlist via Gmail
Ready for 3.0What this workflow does
This workflow has 23 nodes and runs on a schedule (every 15 minutes) (plus 1 other trigger). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: On a schedule (every 15 minutes) (plus 1 other trigger).
- Set Configuration Params (Edit Fields (Set)): sets 11 fields: googleSheetId, testMode, businessName…
- Prepare Failure Notification (Code): runs custom JavaScript code
- Verify Configuration Settings (Code): runs custom JavaScript code
- Notify Staff of Failure (Gmail): uses Gmail
- Fetch Spreadsheet Data (HTTP Request): calls an HTTP API
- Validate Column Presence (Code): runs custom JavaScript code
- Read Booking Data (Google Sheets): uses Google Sheets
- Read Waitlist Data (Google Sheets): uses Google Sheets
- Select Slots and Clients (Code): runs custom JavaScript code
- Identify Rows for Correction (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
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 (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow runs every 15 minutes to match cancelled appointments in Google Sheets with eligible clients from a waitlist, sends time-limited slot-offer emails via Gmail, and updates both the Bookings and Waitlist tabs while notifying staff of…