Run fair, bot-proof Shopify drops with GPT-4o-mini, WhatsApp and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 66 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Google Sheets, OpenAI, Gmail and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Set Drop Config (Code): runs custom JavaScript code
- Route Run (Switch): routes items into 4 branches
- Normalize Entry (Edit Fields (Set)): sets 14 fields: entry_id, drop_id, name…
- Read Drops (Draw) (Google Sheets): uses Google Sheets
- Read Entries (Sweep) (Google Sheets): uses Google Sheets
- Verify Claim Token (Edit Fields (Set)): sets 3 fields: entry_id, exp, valid
- Read Drop (Google Sheets): uses Google Sheets
- Due for Draw (Filter): keeps only the items that match a condition
- Tag Entry States (Edit Fields (Set)): sets 3 fields: claim_by_ms, pay_by_ms, task
- Read Entry (Google Sheets): uses Google Sheets
…plus 52 more steps. See the full node list below.
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Filter
n8n-nodes-base.filter - Limit
n8n-nodes-base.limit - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow runs limited Shopify drops by collecting waitlist entries via webhooks, scoring and filtering bots with OpenAI, drawing size-based winners with weighted randomness, sending expiring claim links via WhatsApp or Gmail, and…