Afflr
  • Getting Started with Afflr
  • Installation
    • Install Afflr
    • Onboarding
    • Enable Extension in Theme
  • Launch an Affiliate Program
    • Create an Affiliate Program
    • Edit/Update Program
    • Test Your Shopify Affiliate Program
  • Customization of an Affiliate Program
    • Customize Commission
    • Simple Commission
    • Tiered Commission
    • Recurring Commission
    • Rule Based Commission
    • Customize Discount
    • Customer Eligibility for Discounts
    • Additional Customization
  • Affiliates
    • Recruiting Affiliates in Afflr
    • Manually Adding an Affiliate in Afflr
    • Affiliate Registration with Forms
    • Importing Affiliates via CSV in Afflr
    • Reviewing and Approving Affiliates in Afflr
    • Enabling Auto-Approval for Affiliates
    • Changing an Affiliate Program in Afflr
    • Change the Affiliate Program for Multiple Affiliates
    • Export Affiliate List
  • Affiliate Portal
    • Enable Affiliate Portal
    • Registering using the Affiliate Portal
    • Affiliate Payout Request from Portal Page
  • Access Affiliate Link
    • Affiliate Link and Code
    • Access the Affiliate link and code by Admin
    • Access the affiliate link and code by affiliate
    • Customize Affiliate Code
  • Sign up & Thank You Page
    • Create an Affiliate Program sign-up form
    • Embed the Signup form in your Shopify store
    • Setting Up the Thank You Page in Afflr
    • Embed the Thank You Form in the Order Confirmation Page
  • Tracking
    • Track and Export Sales
    • Tracking Commission
  • Payout
    • Affiliate Payout Methods in Afflr
    • Offline Payout
    • Coupon Payout
    • PayPal
    • PayPal Classic
    • Tremendous
    • Store Credit
    • Bulk Payout
    • Address Payout Request
    • Track and Export Payouts History
  • Referral Marketing
    • Why Referral Marketing?
    • Convert Customers to Referral Partners
  • Settings
    • Commission Settings
    • Payout Settings
    • Fraud Prevention
    • Advanced Settings
  • Email Automation
    • Admin Email Notification
    • Affiliate Email Notification
    • Edit Email Template
    • Customize Email
    • Branded Email [Sending Domain]
  • Integration
    • Integrate with third-party apps
    • Klaviyo Integration
    • Zapier Integration
  • Frequently Asked Questions
    • Get Your Queries Answered
      • 1. How do I integrate the Afflr app with my Shopify store?
      • 2. How do you set up the first affiliate program?
      • 3. How do you manage affiliate relationships and communications?
      • 4. How do you turn customers into affiliates?
      • 5. How do you customize the referral code after generation?
      • 6. How to pay the affiliate?
      • 7. How can I track affiliate sales and commissions within the app?
      • 8. How to promote an Affiliate program?
      • 9. How do I manage affiliate applications and approvals?
      • 10. Can affiliates track their performance and earnings in real time through your app?
      • 11. What kind of customer support or assistance is available for Shopify owners?
      • 12. How will affiliates access their affiliate link or code?
      • 13. How do you enable the Afflr Sales tag for your affiliate orders?
      • 14. How can Affiliates request a payout?
      • 15. How to limit one customer's use of a referral code?
      • 16. How do you set the total usage limit for a referral code?
      • 17. How to archive an affiliate program?
      • 18. How to auto-generate referral codes while importing affiliates?
      • 19. How to set the minimum amount for eligible affiliates to request a payout?
      • 20. How can an affiliate edit their referral code?
      • 21. How to convert affiliates from pending to approved?
Powered by GitBook
On this page
  • Integrate Afflr with Klaviyo
  • To get the API Key
  • Klaviyo Afflr Integration
  • Klaviyo Trigger Events & Custom Properties in Afflr
  • Custom Properties of Events
  • Event 1: REFERRAL_CODE_CHANGE
  • Event 2: PAYOUT_SEND
  • Event 3: NEW_REFERRAL_SALE
  • Event 4: AFFILIATE_CHANGE_PROGRAM
  • Creating an Email Workflow in Klaviyo
  • Links for Reference

Was this helpful?

  1. Integration

Klaviyo Integration

Learn how to integrate Klaviyo with Afflr to send personalized emails for various actions in the affiliate program.

PreviousIntegrate with third-party appsNextZapier Integration

Last updated 3 months ago

Was this helpful?

empowers businesses with powerful email marketing tools enabling targeted campaigns and increased engagement. It helps to deliver data-driven strategies to drive sales and foster long-term customer relationships.

Integrate Afflr with Klaviyo

To get the API Key

  1. Click on your account at the bottom left of the page.

  2. Select Settings.

Klaviyo Settings
  1. Navigate to API Key.

  2. Click Create Private API Key.

  1. Provide a name for the API Key.

  2. Select Grant applications full access for every API scope.

  3. Click Create.

  1. Copy the API Key.

  1. Visit the Afflr app.

  2. Navigate to Settings -> Integration.

  3. Under Klaviyo, toggle the enable button.

  4. Enter the API Key.

  5. Click the Save button.

Klaviyo Afflr Integration

To check if Klaviyo is successfully integrated with Afflr:

  • Navigate to Klaviyo Home -> Audience -> Profile.

  • Check if "Afflr bot" is present under the profile.

Klaviyo Trigger Events & Custom Properties in Afflr

Klaviyo triggers actions (like sending emails or SMS) based on events (like new sign-ups). Using Afflr with Klaviyo, you get access to nine triggers. Custom properties enable the personalization of email content, including store name, affiliate name, etc.

You can check the trigger events and custom properties by navigating to Dashboard -> Audience -> Profile and clicking on the Afflr bot.

Triggers Available in Afflr:

S.No

Trigger

Function

1

Referral code changed

Triggered when referral code of affiliate is changed

2

New referral sale

Triggered when an affiliate makes a new sale

3

Payout sent

Triggered when payout is sent to the affiliate

4

Signed up as an affiliate via sign up form

Triggered when an affiliate signs up using sign up form

5

Signed up as an affiliate via manual creation

Triggered when an affiliate is added manually by the admin

6

Signed up as an affiliate via manual upload

Triggered when an affiliate list is imported to the app

7

Affiliate rejected for a program

Triggered when an affiliate is rejected from joining a program

8

Affiliate changed program

Triggered when an affiliate is assigned a new program

9

Affiliate approved for a program

Triggered when an affiliate is approved into a program

You can use these triggers to set up an event to perform any action through Klaviyo.

There are various custom properties available that can be added to your mail or SMS.

Property

Definition

Example

afflr_affiliate_code

The affiliate code of the affiliate you are sending mail to will be displayed

Welcome10

afflr_affiliate_commission

The lifetime commission earned by the affiliate will be displayed

1000

afflr_affiliate_link

The affiliate link of the affiliate you are sending mail to will be displayed

your-store-domain.myshopify.com?afflr_id=Welcome10

afflr_affiliate_paid_commission

The commission already paid to the affiliate will be displayed

300

afflr_affiliate_sales_revenue

The total revenue earned through the affiliate's sales will be displayed

5000

afflr_affiliate_source

The source through which the affiliate joined the program is displayed

Manual_Create

afflr_affiliate_status

The status of the affiliate is displayed

APPROVED

afflr_affiliate_unpaid_commission

The commission balance yet to be paid will be displayed

700

afflr_currency_code

The currency in which transactions take place will be displayed

USD

afflr_program_name

The program name of the trigger is displayed

Give $10, Get $10

updated_at

The time and date of any updation that occurred will be displayed

2024-05-09T09:30:34.202Z

Custom Properties of Events

Every Trigger event has its own set of custom properties that you can use to personalize the mail to affiliates.

Property

Definition

Example

affiliate_name

The name of the affiliate is displayed

John

affiliate_email

The email ID of the affiliate is displayed

john@xymail.com

You can use the above two properties on all events to display the affiliate name and email

Following are the additional properties available in some events:

Event 1: REFERRAL_CODE_CHANGE

Property

Definition

Example

affiliate_new_referralCode

The new referral code after the change is displayed

WelcomeJohn10

Event 2: PAYOUT_SEND

Property

Definition

Example

payout_amount

The amount sent as a payout to the affiliate is displayed

1000

payout_date

The date when the payout is sent is displayed

25-04-2024, 3:37:48 PM

payout_method,

The mode of payment is displayed

Coupon

payout_affiliate_notes

Any additional note mentioned during the payout will be displayed

Payment Sent

Event 3: NEW_REFERRAL_SALE

Property

Definition

Example

sales_amount

The total value order of the sales is displayed

250

Event 4: AFFILIATE_CHANGE_PROGRAM

Property

Definition

Example

new_program_name

The name of the new program assigned to the affiliate is displayed

Get 15% Give 15%

Creating an Email Workflow in Klaviyo

Example: Sending an Email for "Give $10, Get $10" Program When a New Sale is Made

  1. Navigate to Dashboard -> Flows.

  2. Click Create Flow.

  1. Select Create From Scratch.

  1. Enter the Flow Name and select the Tag.

  2. Click Create Flow.

  1. Choose Your Metrics and click on API.

  1. Select Afflr - New Referral Sale.

  1. Click Add beside the Profile Filter.

  1. Click Add beside the Profile Filter.

  2. Set the filter as:

  • Condition: Properties about someone

  • Dimension: afflr_program_name

  • Dimension Value: Give $10, Get $10

  1. Click Save.

  1. Check the metrics and click Save on the Set Up Trigger page.

  1. Confirm and save the trigger selection.

  1. Drag and drop Email from the Actions Tab.

  1. Click on Email#1 to customize your email.

  2. Click Select Template.

  1. Choose an existing template or create a blank email.

  1. Add Custom Properties by clicking Add Personalization.

  1. Insert the required properties and preview the content.

  1. You can preview the mail content by clicking Preview & test.

  2. Click Save.

  1. To make the flow live, click Review and Turn On.

  1. In the Review and Turn On dialog box, choose Live from the dropdown and click Turn On.

Similarly, you can create other trigger events to suit your affiliate program needs.

Links for Reference

Create Private API
Grant Access
Copy API Key
Klaviyo Afflr Integration
Afflr Bot in Klaviyo
Klaviyo Events and Custom Properties
Create Flow
Create From Scratch
Create Flow
API Metrics
New Event
Profile Filter
Save Filter
Save Event Trigger
Confirm and Save trigger
Add Email Trigger
Select Template
Choose a Template
Add Personalization
Add Custome Properties
Preview and Save Template

Using custom properties in email
Dynamic customer properties in email
Klaviyo
Review and Save
Review and Turn on Status