Skip to content

How to Set Up Referral Confirmation Emails

Shopify API · · Updated

The Referral confirmation email lets affiliates know each time a referral is credited. They don't have to log in to see their results. Setup takes four steps: connect your custom domain, turn on the email, choose the template, and customize the copy with shortcodes.

Availability: Turn this email on in Settings > Email settings, and edit it in Settings > Email templates. You'll need a verified Custom sender address before you can use it.

How Referral Confirmation Emails Work

  1. Referral confirmed: Your rules in Settings > Referrals control when a referral confirms. Depending on your setup, that happens when an order is paid or fulfilled, once any confirmation delay ends.
  2. Email sent: After the referral confirms, the affiliate who earned it gets an email. It includes any order or commission shortcodes you've added.
  3. Dashboard link: Clicking the Visit dashboard button takes the affiliate straight to their dashboard to check the referral.

Unlike other affiliate emails, this notification never uses noreply@simple-affiliate.com. Every message goes out from your own domain through a verified sender address.


Step 1: Connect your domain

  1. Open Simple Affiliate and go to Settings > Email settings.
  2. In the Custom sender address card, fill in Sender email with an address at your domain, then click Connect.
  3. Add the 4 DNS records shown in Simple Affiliate to your DNS provider.
  4. Click Check status until both Domain ownership and Email authentication (DKIM) show Verified.
Custom sender address after verification, both badges Verified, Hide DNS records showing three DKIM CNAMEs

Allow up to 72 hours for DNS records to propagate. If you need complete DNS instructions or help troubleshooting, read How to Send Affiliate Emails from a Custom Domain.


Step 2: Enable the referral confirmation email

  1. Still in Settings > Email settings, scroll down to Email notifications.
  2. Find To affiliates and turn on Referral confirmation.
  3. Click Save.
Settings > Email settings, Email notifications card with the Referral confirmation toggle on, under To affiliates

You can't turn this toggle on until your sender address is verified. Until then, the app shows the note "Connect and verify a custom sender address above to enable this."


Step 3: Select the referral confirmation email template

  1. Go to Settings > Email templates and find the Email content card.
  2. Click the dropdown labeled Select an email to translate.
  3. Under Program updates, choose Referral confirmation.
Email content card, Select an email to translate list open with Referral confirmation selected under Program updates

Choosing the template on the Email content card brings up its fields and shortcodes. Beside those fields, Email preview displays the message using sample values.


Step 4: Update the email content

The default template works right away, so you don't have to change anything. If you want to customize it, follow these steps:

  1. Button text: Change the dashboard button label if you don't want the default, "Visit dashboard".
  2. Subject: Update the subject line if you want something other than "A referral for [SHOP] has been credited".
  3. Body: Write your message with the formatting toolbar in Text mode, or switch to HTML for custom markup.
  4. Insert shortcodes: Place your cursor inside Subject or Body, then click a shortcode at the top of the card.
  5. Click Save.
Email content card for Referral confirmation with its shortcodes, Button text, Subject and Body, beside the Email preview and Send test

Available shortcodes

When an email goes out, shortcodes pull in real details for that affiliate and referral:

Shortcode

Replaced with

Example

[FIRSTNAME]

The affiliate's first name

John

[LASTNAME]

The affiliate's last name

Doe

[FULLNAME]

The affiliate's first and last name

John Doe

[CODE]

The affiliate's discount code

JOHN

[SHOP]

Your store name

Your Store

[ORDERNAME]

The Shopify order number of the referral

#1001

[COMMISSIONAMOUNT]

The commission the affiliate earned on the referral

$12.32

[ORDERAMOUNT]

The order amount of the referral

$123.20

For instance, if you write "You earned [COMMISSIONAMOUNT] on order [ORDERNAME].", each affiliate sees the exact commission for that referral.

Send a test email

Once you save, click Send test below Email preview. That sends a test copy to your Primary contact email using sample data from the template you saved. You get a daily limit of 20 test emails, and that limit is shared with CSV import template emails.


Important Rules to Remember

  • ⚠️ Verified sender required: Simple Affiliate never falls back to noreply@simple-affiliate.com for this email. If domain verification drops, such as when DKIM is removed, emails pause. Referrals confirmed during that pause won't receive backfilled emails later.
  • New confirmations only: Only referrals confirmed after you turn this on trigger an email. Earlier confirmed referrals won't get one.
  • Active affiliates only: Affiliates who are suspended or deleted don't receive this email.
  • Confirmation timing: Timing follows your rules in Settings > Referrals. If you've set a confirmation delay, the email goes out when that delay ends rather than at checkout.
  • One language: Emails send in your store's default language. Any changes you make in Email content apply to that language.

What Happens Next?

Each time a referral confirms, affiliates get an email from your custom sender address to keep them informed and motivated. Your store name appears as the display name, and replies go to your Reply-to email under Settings > Email settings.

Related articles

Simple to install. Simpler to run.

Install on Your Shopify Store