Tech With Galvan
Back to Articles
AutomationJan 17, 2029 • 4 min read

How to Send Birthday and Anniversary Offers Automatically

Automate birthday and anniversary offers — email/SMS templates, timing, and tools. Build customer loyalty with personalized celebrations.

Galvan
Galvan

Founder & Creator

Introduction

Birthday and anniversary offers are the highest-converting automated emails — 40-50% open rates (vs 20% for regular emails) and 10-15% redemption rates. They work because they’re personal, timely, and make customers feel valued.

This post shows you how to automate birthday and anniversary offers.

The birthday email

Template

Subject: 🎂 Happy Birthday, [Name]! Here’s a gift from us.

Hi [Name],

Happy Birthday! 🎉

To celebrate, here’s a special gift: 20% off your next visit (or a free [product/service]).

Use code: BIRTHDAY20 Valid until: [Date + 30 days]

[Book Now / Shop Now]

Wishing you a wonderful year ahead!

Best, [Your Business Name]

Best practices

  • Send on their birthday (not before, not after)
  • Send at 9 AM (high open rate)
  • Include a clear expiration (30 days)
  • Make the offer generous (20%+ or free item)
  • Include a photo (cake, balloons, or your product)

The anniversary email

Template

Subject: 🎉 Happy Anniversary! [X] years with us.

Hi [Name],

Can you believe it’s been [X] years since you first visited us? We’re so grateful for your loyalty.

To celebrate, here’s a special thank-you gift: 25% off your next purchase (or a free [product/service]).

Use code: ANNIVERSARY25 Valid until: [Date + 30 days]

[Shop Now / Book Now]

Thank you for being part of our family!

Best, [Your Business Name]

Best practices

  • Calculate anniversary from first purchase/visit
  • Mention how long they’ve been a customer
  • Make the offer better than birthday (they’re more loyal)
  • Include a “thank you” message (not just a discount)

Step 1: Collect birthday/anniversary data

At point of sale

  • Ask during checkout: “Would you like to receive a birthday offer?”
  • Add a birthday field to your signup form
  • Include in your onboarding questionnaire

From existing customers

  • Send a one-time email: “We’d love to celebrate your birthday! Share your date of birth.”
  • Incentivize: “Share your birthday and get 10% off your next visit”

Store in your database

Add a birthday column (and first_visit_date for anniversary) to your customer database.

Step 2: Automate with Python + Resend

import resend, os
from datetime import datetime, timedelta

resend.api_key = os.environ["RESEND_API_KEY"]

def send_birthday_email(customer):
    resend.Emails.send({
        "from": "Your Business <[email protected]>",
        "to": [customer["email"]],
        "subject": f"🎂 Happy Birthday, {customer['name']}!",
        "html": f"""
        <h2>Happy Birthday, {customer['name']}! 🎉</h2>
        <p>To celebrate, here's a special gift: <strong>20% off</strong> your next visit.</p>
        <p>Use code: <strong>BIRTHDAY20</strong></p>
        <p>Valid until: {(datetime.now() + timedelta(days=30)).strftime('%B %d, %Y')}</p>
        <a href="{BOOKING_LINK}" style="display:inline-block;padding:12px 24px;
           background:#4285f4;color:white;text-decoration:none;border-radius:8px;">
           Book Now
        </a>
        """,
    })

def send_anniversary_email(customer):
    years = (datetime.now() - customer["first_visit"]).days // 365
    resend.Emails.send({
        "from": "Your Business <[email protected]>",
        "to": [customer["email"]],
        "subject": f"🎉 Happy Anniversary! {years} year(s) with us.",
        "html": f"""
        <h2>Happy Anniversary, {customer['name']}! 🎉</h2>
        <p>It's been {years} year(s) since your first visit. Thank you for your loyalty!</p>
        <p>Here's a special thank-you gift: <strong>25% off</strong> your next purchase.</p>
        <p>Use code: <strong>ANNIVERSARY25</strong></p>
        <a href="{BOOKING_LINK}">Shop Now</a>
        """,
    })

# Run daily via cron
def daily_check():
    customers = load_customers_from_db()
    today = datetime.now().date()
    
    for c in customers:
        # Birthday check
        if c["birthday"] and c["birthday"].month == today.month and c["birthday"].day == today.day:
            send_birthday_email(c)
            print(f"Birthday email sent to {c['name']}")
        
        # Anniversary check
        if c["first_visit"] and c["first_visit"].month == today.month and c["first_visit"].day == today.day:
            send_anniversary_email(c)
            print(f"Anniversary email sent to {c['name']}")

daily_check()

Step 3: Automate with Google Sheets + Apps Script

For non-developers, use Google Sheets + Apps Script:

function sendBirthdayEmails() {
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  const data = sheet.getDataRange().getValues();
  const today = new Date();
  
  for (let i = 1; i < data.length; i++) {
    const name = data[i][0];
    const email = data[i][1];
    const birthday = new Date(data[i][2]);
    
    if (birthday.getMonth() === today.getMonth() && birthday.getDate() === today.getDate()) {
      const subject = `Happy Birthday, ${name}!`;
      const body = `Hi ${name},\n\nHappy Birthday! 🎉\n\nHere's a special gift: 20% off your next visit.\nUse code: BIRTHDAY20\nValid for 30 days.\n\nBest,\nYour Business`;
      MailApp.sendEmail(email, subject, body);
      Logger.log(`Birthday email sent to ${name}`);
    }
  }
}

Set up a daily trigger (see Review Request System).

Step 4: WhatsApp birthday messages

import requests, os

def send_birthday_whatsapp(phone, name, business_name, offer_code):
    url = "https://live-server-XXXX.wati.io/api/v1/sendSessionMessage"
    message = f"🎂 Happy Birthday, {name}! 🎉\n\nAs a special gift, here's 20% off your next visit to {business_name}.\n\nUse code: {offer_code}\nValid for 30 days.\n\nWe hope you have a wonderful day! 🎈"
    
    payload = {"whatsappNumber": phone, "messageText": message}
    headers = {"Authorization": f"Bearer {os.environ['WATI_API_KEY']}"}
    requests.post(url, json=payload, headers=headers)

Tracking and metrics

Metric Target How to track
Open rate (birthday email) 40-50% Email provider dashboard
Redemption rate 10-20% Track offer code usage
Revenue from birthday offers 5-10% of monthly revenue POS/booking system
Customer satisfaction NPS improvement Post-visit survey

Common mistakes

  • Asking for birthday too aggressively — “What’s your date of birth?” feels invasive. Frame it as “We’d love to celebrate your birthday with a gift!”
  • Sending too late — birthday emails should arrive on the birthday, not a week before or after
  • Generic offers — “10% off” is weak. “Free dessert on your birthday” is compelling.
  • Not tracking redemptions — if nobody uses the offer, it’s not working
  • Sending to everyone — only send to customers who opted in
  • Forgetting to segment — VIP customers should get better offers than one-time visitors

Key Concepts

  • Birthday offer = discount/gift sent on customer’s birthday
  • Anniversary offer = discount/gift sent on customer’s first-visit anniversary
  • Redemption rate = % of recipients who use the offer
  • Opt-in = customer consent to receive messages
  • Personalization = tailoring messages to individual customers

What to Try Next

FAQ

How do I collect birthdays without being creepy?

Frame it as a benefit: “Share your birthday and we’ll send you a special gift!” Make it optional. Never require it. Use a simple form or ask during checkout. Most customers are happy to share if there’s a reward.

What’s a good birthday offer?

20-25% off or a free item (dessert, drink, small product). The offer should feel generous — a 5% discount feels cheap. Make it easy to redeem (no minimum purchase, no restrictions).

Should I send birthday offers to all customers or just loyal ones?

All customers who opted in. But segment: VIP customers get better offers (free item vs 10% off). One-time visitors get a standard offer. This incentivizes loyalty.

What if a customer’s birthday is during a busy period?

Send the offer anyway — it’s their birthday. If you’re closed, extend the validity period. The gesture matters more than the timing. See Automate Customer Follow-Ups.