Notify promo code renewal on schedule

Recipe ToolsMarketingDocument/FileSales Enablement

What it does

When a scheduled trigger fires every 5 hours, this automation searches a Google Sheets spreadsheet for promo codes. It identifies expired codes and those nearing expiration so someone can renew them before they lapse.

Who it's for

Marketing teams who manage promo codes and need timely renewal reminders without manual spreadsheet checks.

How teams use this

Catch expired promo codes before use

Run the check every 5 hours to find codes past their valid date so expired ones are removed from circulation before a customer encounters an error.

Alert the team when codes expire soon

Add a notification step to send Slack or email when codes expire within 7 days so the team has time to renew or retire them before customers are affected.

Track renewal history in the spreadsheet

Include a timestamp column and renewal status field to log when each code was checked and renewed so the team has an audit trail of all renewal activity.

How it works

  1. Run on schedule every 5 hours. This automation runs on a schedule every 5 hours to check for promo codes that need renewal.
  2. Search all rows in Google Sheets. Search all rows in a Google Sheets spreadsheet to find promo codes with expiration dates and validity information.
  3. Separate expired codes from expiring soon. Filter results to identify codes past their valid date and those expiring within the next renewal window for prioritization.
  4. Compile codes needing renewal. Gather all expired and expiring promo codes into a list so someone can review and renew them immediately.