Send promo code expiry alerts using Webhook, Google Sheets, Gmail and Slack
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Google Sheets and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize Promo Data (Edit Fields (Set)): sets 5 fields: body.code, body.discount_type, body.value…
- Expiry Is Valid (If): checks a condition and branches into true / false
- Send Promo Email (Gmail): uses Gmail
- Save Promo to Sheet (Google Sheets): append
- Calculate Days Left (Edit Fields (Set)): sets 1 field: daysLeft
- Is Urgent (1 Day Left) (If): checks a condition and branches into true / false
- Slack: uses Slack
- Is Warning (2–3 Days Left) (If): checks a condition and branches into true / false
- Slack: uses Slack
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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 (6)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
Promo Code Expiry Alert System > Webhook, Google Sheets, Gmail & Slack --- This workflow automates promo code management by receiving data via webhook, validating expiry, storing it in Google Sheets and sending alerts through Gmail and Slack based on…