Send Customers a Birthday Discount Code Automatically
An n8n workflow that checks your customer list each morning for birthdays, generates a unique discount code, and emails a warm birthday message with the offer — a small personal touch that drives repeat purchases and loyalty on autopilot.
- 1
Run each morning
A
Schedule Triggerreads your customer list with birthday fields. - 2
Match today's birthdays
A
Filter/Codekeeps customers whose birthday month and day equal today. - 3
Generate a code
An
HTTP Requestcreates a unique single-use discount code in your store for each birthday customer. - 4
Send the wish + offer
A
Gmailnode emails a warm happy-birthday message with their personal code and an expiry to prompt action.
Frequently asked questions
Where do birthdays come from?
A customer field you collect at signup or checkout — stored in your CRM, e-commerce platform or a Google Sheet. The daily run matches today's month and day against that field. No birthday on file means no email, so it's opt-in by nature.
How is the discount code unique?
The workflow creates a single-use code via your store's API (Shopify/WooCommerce discount create) or pulls one from a pre-generated pool. Unique codes prevent sharing and let you attribute redemptions to the birthday campaign.