![]() |
VOOZH | about |
Last update
Last update 2 months ago
Categories
Share
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 urgency. It ensures teams never miss expiring promotions and can act proactively.
This workflow automates the complete lifecycle of promo code tracking and alerting. It starts by receiving promo data through a webhook, which can be triggered from any external system like a form, API or application. The data is then normalized to maintain consistency across all fields.
Once the data is structured, the workflow validates whether the promo code is still active based on its expiry date. If valid, it proceeds to send an email notification and store the details in a Google Sheet for record-keeping and tracking purposes.
The workflow then calculates the number of days remaining until expiry and intelligently categorizes the promo into urgency levels. Based on this, it sends Slack alerts—urgent alerts for promos expiring in one day and warning alerts for those expiring within two to three days.
code, discount_type, value, expiry and usage_limit.There can be many more use cases depending on how promo or expiry-based data is used in your system.
| Issue | Possible Cause | Solution |
|---|---|---|
| Workflow not triggering | Webhook not active | Activate workflow and use correct URL |
| No data in Google Sheets | wrong column mapping | Verify field mapping in Sheets node |
| Slack message not sent | Wrong channel ID or credentials | Reconnect Slack and check channel चयन |
| Wrong days calculation | Date format issue | Ensure expiry is in YYYY-MM-DD format |
| IF condition not working | Type mismatch (string vs number) | Use correct data types in expressions |
If you need assistance setting up this workflow or want to extend it with advanced features like dashboards, CRM integration or multi-channel notifications, feel free to reach out our n8n automtion experts at WeblineIndia
We specialize in building scalable automation workflows tailored to your business needs. Whether you're just getting started or looking to optimize existing processes, we’re here to help you succeed.
Get in touch to build custom n8n workflows or enhance this solution further.