Avelon-Klaviyo workflow examples
- Article created by: Sam Gupta
- Created:
In this guide, we’ll walk you through all the different workflows available through the Avelon-Klaviyo integration and show you how to set up every workflow. But first, it’s worth understanding the difference between profile properties and event properties.
What workflows are in this article?
Quick tips for flow creation
- Make sure Smart sending is turned OFF on your flows. Smart sending stops Klaviyo sending emails to affiliates if they have been sent an email from your Klaviyo account within 16-hours. If you have Smart sending turned on and an affiliate is invited and then accepts within a few minutes, they will NOT be notified of their acceptance to your program.
- Copy and paste the examples into your emails, but refer to the Syntax guide below for other examples of what can be included in emails
- Remember: Syntax is event specific. All Syntax cannot be used across all Events. Use only the Event syntax available in the examples below for each trigger. For example, you cannot use Syntax from the Commission Updated flow within the Invite Created flow. Klaviyo will show a blank space if you incorrectly use Syntax in an email.
Types of syntax for profile properties and event properties
Profile properties and event properties sit separately from each other in Klaviyo and use different syntax.
Profile properties are stored on the affiliate’s profile, e.g. commission rate, category, sub category and website. Event properties belong to a single event, e.g. their affiliate link, a new promo code, or the URL to accept their invite to your program.
We’ll show you a few of the profile properties below, but please note that this list is not exhaustive. We are adding profile properties all the time.
Event property syntax and copy-paste examples are available below each Klaviyo event in this guide.
| Definition | Searchable name in Klaviyo | Syntax |
|---|---|---|
| First name | First name | {{ person.first_name }} |
| Last name | Last name | {{ person.last_name }} |
| Affiliate commission % | commissionPercent | {{ person|lookup:"commissionPercent" }} |
| Affiliates website link | website | {{ person|lookup:"website" }} |
| Affiliate category | category | {{ person|lookup:"category" }} |
| Affiliate sub category | subCategories | {{ person|lookup:"subCategories" }} |
| Affiliate country | country | {{ person|lookup:"country" }} |
| Invited date & time | invited | {{ person|lookup:"invited" }} |
1. Sending an invite to an affiliate
The event trigger for sending an invite to an affiliate is Invite created.
1. Click Flows > Create flow > Build your own > name your flow and then Your metrics and select Avelon Network from the dropdown
2. Click Invite created from the menu and then save your selection
3. Drag Email from the menu to underneath your trigger
4. Add personalisation to your email. Profile data can be added from Klaviyo’s Personalisation menu. Event data must be pasted in as syntax.
Profile level personalisation is data stored on the affiliate’s profile, such as first name, last name, website and commission percent. You can add it from the Personalisation menu or paste the syntax below.
Event level personalisation is data specific to this event, such as the accept/deny invitation link and promo codes. It will not appear in Klaviyo’s Personalisation menu, so you must paste the syntax below.
Examples of these are below:
Profile level personalisation
| Definition | Searchable name in Klaviyo | Syntax |
|---|---|---|
| First name | First name | {{ person.first_name }} |
| Last name | Last name | {{ person.last_name }} |
| Affiliate commission % | commissionPercent | {{ person.commissionPercent }} |
| Affiliates website link | website | {{ person|lookup:"website" }} |
| Affiliate category | category | {{ person|lookup:"category" }} |
| Affiliate sub category | subCategories | {{ person|lookup:"subCategories" }} |
| Affiliate country | country | {{ person|lookup:"country" }} |
| Invited date & time | invited | {{ person|lookup:"invited" }} |
Event level personalisation
| Definition | Syntax |
|---|---|
| Accept / deny decision page | {{ event.decideUrl }} |
| Promo code | {{ event.promoCode }} |
| Promo code discount percent | {{ event.promoCodeDiscountPercent }} |
| Promo code discount flat rate | {{ event.promoCodeDiscountFlatRate }} |
| Promo code other | {{ event.promoCodeOther }} |
Please be aware that ‘Promo code’ and all personalisation associating to promo code, including: Promo code discount percent, Promo code discount flat rate and Promo code other – are only available if you have sent an invite with a promo code.
Example of email structure for Invited Created
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
We'd love you to join our new Creator program!
Click here to accept our invitation
As an XX Creator, you'll get access to:
1. Monthly product allowances
2. A {{ event.promoCodeDiscountPercent }}% discount code for your followers
3. {{ person.commissionPercent }}% commission on any sales you drive through your affiliate link
Once you accept, you'll be sent your affiliate link and your promo code.
If you have any questions, please let me know!
Then highlight “Click here to accept our invitation”, click the link button and paste the below as the link address. If Klaviyo adds http:// in front, delete it.
{{ event.decideUrl }}
5. Once you’re happy with your email, just save it and press Review and turn on from the workflow overview
Please be aware that as of 24.07.2024, the accept/deny syntax was replaced by the decideUrl. This is to stop email providers pre-loading URLs and ensures much great security protocols.
Creating a reminder email if the affiliate hasn't responded
We also recommend setting up a reminder email for affiliates who receive this email. You can do this by setting up a conditional split in your workflow:
1. Once you’ve got your email set up as you like, select Conditional split from the menu on the left hand side and drag it below your email.
2. Select What someone has done (or not done) as the condition from the dropdown
3. Select Opened Email
4. Select zero times
5. Drag another email into your Yes branch and create a reminder email
You can create as many conditional split loops as you like, but we recommend cancelling the affiliates invite if they don’t respond within 30-days.
2. Welcoming an affiliate to your program
There are two event triggers for welcoming an affiliate to your program:
- Invite accepted
- Affiliate application accepted
These events are triggered when an affiliate is added to your program.
Invite accepted is when you invite an affiliate to your program and THEY accept, whilst affiliate application accepted is for when an affiliate applies to your program and YOU accept them.
We recommend setting up flows for both event triggers.
The event properties for this trigger are below:
| Definition | Syntax |
|---|---|
| Affiliate commission percent | {{ event.commissionPercent }} |
| Affiliate commission fixed amount | {{ event.commissionFixed }} |
| Affiliate link URL | {{ event.linkUrl }} |
| Affiliate link name | {{ event.linkName }} |
| Promo code | {{ event.promoCode }} |
| Promo code discount percent | {{ event.promoCodeDiscountPercent }} |
| Promo code discount flat rate | {{ event.promoCodeDiscountFlatRate }} |
| Promo code other | {{ event.promoCodeOther }} |
| CPC rate | {{ event.cpc }} |
Example of email structure for Invite Accepted & Affiliate application accepted
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
Welcome to the XX Creator program! We're happy you're here.
Your promo code is {{ event.promoCode }}, which gives your followers {{ event.promoCodeDiscountPercent }}% off their purchases.
You can promote XX with this code, or you can use your affiliate link. Your affiliate link is:
{{ event.linkUrl }}
You will earn {{ person.commissionPercent }}% commission on any sales you drive through your affiliate link or through your promo code.
If you have any questions, please let me know!
3. Affiliate link created
The event trigger for notifying an affiliate that you have created an affiliate link for them is Affiliate link created
The syntax for each metric within this event are available below:
| Definition | Syntax |
|---|---|
| Affiliate link URL | {{ event.url }} |
| Affiliate link commission % | {{ event.commissionPercent }} |
Example of email structure
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
A new affiliate link has been generated for you: {{ event.url }}
This link rewards you {{ event.commissionPercent }}% commission on any sale.
Thank you,
4. Affiliate link cancelled
The event trigger for notifying the affiliate that an affiliate link has been cancelled is Affiliate link cancelled.
The event metrics and syntax for this event trigger are available below:
| Definition | Syntax |
|---|---|
| Affiliate link URL | {{ event.url }} |
| Reason | {{ event.reason }} |
| Link name | {{ event.name }} |
Example of email structure
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
Your affiliate link {{ event.name }} has been cancelled: {{ event.url }}
The reason for this is:
{{ event.reason }}
Thank you,
5. Commission updated
The event trigger for notifying an affiliate that their commission has been updated is Commission updated. Please be aware that this is only for affiliate specific commissions, not for default (program) level commissions.
The event metrics and syntax for this event trigger are available below:
| Definition | Syntax |
|---|---|
| New value | {{ event.newValue }} |
| Old value | {{ event.oldValue }} |
| Change type | {{ event.changeType }} |
Example of email structure
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
Your commission has just been updated from {{ event.oldValue }}% to {{ event.newValue }}%.
Thank you,
6. Promo code created
The event trigger for notifying the affiliate that a new promo code has been created for them is Promo code created.
The event metrics and syntax for this event trigger are available below:
| Definition | Syntax |
|---|---|
| Promo code | {{ event.code }} |
| Discount % | {{ event.discountPercent }} |
| Commission % | {{ event.commissionPercent }} |
| Notes | {{ event.notes }} |
| Discount flat rate | {{ event.discountFlatRate }} |
| Discount other | {{ event.discountOther' }} |
Example of email structure
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
A new promo code has just been created for you: {{ event.code }}
This code gives your followers {{ event.discountPercent }}% off their orders and you earn {{ event.commissionPercent }}% commission when the code is used.
Thank you,
7. Promo code cancelled
The event trigger for notifying the affiliate that their promo code has been cancelled is Promo code deleted.
The event metrics and syntax for this event trigger are available below:
| Definition | Syntax |
|---|---|
| Promo code | {{ event.code }} |
Example of email structure
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
Your promo code {{ event.code }} has just been cancelled.
Thank you,
8. CPC updated
The event trigger for notifying the affiliate that their CPC has been updated is CPC updated.
The event metrics and syntax for this event trigger are available below:
| Definition | Syntax |
|---|---|
| CPC new value | {{ event.newValue }} |
| CPC old value | {{ event.oldValue }} |
| CPC change type | {{ event.changeType }} |
Example of email structure
You can paste the below into your Klaviyo email directly:
Hey {{ person.first_name|default:'there' }},
Your CPC (cost per click) has just been updated. Your new CPC rate is {{ event.newValue }}p per click. This means you will earn {{ event.newValue }}p every time a customer clicks your link.
Thank you,
How to check if a flows is being sent to your affiliates
2. Click the email you want to check in the flow
3. On the left hand side tab, it will show Email details. Click View details next to Performance
4. Scroll down to Deliverability and then click the highlighted ‘X recipients‘ underneath Delivery rate
5. You can then view the Recipients who have received that email and whether they have opened or clicked
If you’d like to check if one specific affiliate is receiving your flow, just:
- Copy their email
- Paste it into the search bar on your Klaviyo Dashboard and press Enter
- Their profile will appear and you can then check if that specific person has received your flow
Why might an affiliate not receive my email?
The two most common reasons affiliates may not receive your email are:
- If they have unsubscribed from your email list, or if they were part of your email list before you started sending emails through Avelon, and they unsubscribed
- If you have Smart sending turned on. We see this as the most common error. Skip below to learn how to turn off Smart sending.
How to turn off Smart Sending in Klaviyo
To turn OFF Smart Sending, just click the email inside the flow and when the left sidebar opens, scroll down to Settings and untick Skip recently emailed profiles.