Customers
Notify customers of expiring gift cards
Runs daily, finds all enabled gift cards expiring within a set number of days, and sends each customer a reminder email via SendGrid.
Setup guide
Before you start
This template runs daily and sends gift card expiry reminders through SendGrid.
How it works
- It calculates one exact reminder date based on the configured number of days before expiry
- It finds enabled gift cards expiring on that date
- It schedules one reminder email per gift card customer
- Gift cards without a customer or customer email are skipped
Configure in setup
Days before expiry: how many days ahead of the expiry date the reminder should be sentSendGrid API key: API key used to send the emailsFrom email: verified SendGrid sender email addressFrom name: sender display name shown in the message
Notes
- This template is best scheduled to run once per day
- The reminder is based on the workflow run date and the gift card expiry date returned by Shopify
Setup fields
Days before expiry
numberRequiredconfig
How many days before the expiry date the reminder email should be sent.
From name
textRequiredenv
Sender display name shown in the reminder email.
From email
textRequiredenv
Verified SendGrid sender email address used in the reminder email.
SendGrid API key
textareaRequiredenv
SendGrid API key used to send the gift card reminder emails.