> For the complete documentation index, see [llms.txt](https://docs.bixgrow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bixgrow.com/other-settings/affiliate-messages/email-automation/klaviyo.md).

# Klaviyo

## Connection and integration

Go to **Affiliate messages** > **Email automation**, click the **Integrate** button, and you will be redirected to the Integration tab to connect your Klaviyo account to send automatic emails.&#x20;

[**👉 Learn more about how to connect Klaviyo with BixGrow.**](/other-settings/integrations/with-email-platforms/klaviyo.md)

## Sync affiliate list to Klaviyo

After the integration step, you have to sync your affiliate list to Klaviyo. Move back to **Affiliate messages** > **Klaviyo** > **Sync Affiliates**.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FmxSpsrvMMZzWvBwnQPJV%2Fimage.png?alt=media&amp;token=008a0567-63d3-4cd4-8ddf-f48a61da9c2f" alt=""><figcaption></figcaption></figure>

Select the **List** you've created for your affiliates and click **Save and Sync** to complete the integration.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Ft0iXJuLNqxW08RG6SloY%2Fimage.png?alt=media&amp;token=f3b44703-6b04-49cc-b4cd-9cabbb1675d5" alt=""><figcaption></figcaption></figure>

To change the list you're sending to Klaviyo, click the more option icon and select **Change list**.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FE8uWcasLL52b5bmxW2Nm%2Fimage.png?alt=media&amp;token=7c2ea765-e583-4e2c-bb6b-9b3f5dafaacf" alt=""><figcaption></figcaption></figure>

## Send BixGrow events to Klaviyo

Next, click on the **Sync events** button to sync 11 BixGrow events to Klaviyo.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FcdvzclWYjAC8I6GmY80G%2Fimage.png?alt=media&amp;token=93a257cf-5a1d-4219-854e-038894a32dd2" alt=""><figcaption></figcaption></figure>

You can take a look at 11 unique real-time events that BixGrow sends to Klaviyo.

<table data-search="false"><thead><tr><th width="240">Event</th><th width="561">Definition</th></tr></thead><tbody><tr><td>BixGrow - Affiliate Applied</td><td>Someone filled out the signup form and is pending</td></tr><tr><td>BixGrow - Approved Affiliate</td><td>You accepted the affiliate account</td></tr><tr><td>BixGrow - Denied Affiliate</td><td>You rejected or deactivated the account</td></tr><tr><td>BixGrow - Added Affiliate</td><td>You manually added an affiliate to a program</td></tr><tr><td>BixGrow - Affiliate Reset Password Request </td><td>The affiliate asked for a new password</td></tr><tr><td>BixGrow - New Referral Order</td><td>An affiliate drove a new sale</td></tr><tr><td>BixGrow - Approved Referral Order </td><td>You confirmed the referral sale is valid</td></tr><tr><td>BixGrow - Denied Referral Order </td><td>You rejected the referral sale</td></tr><tr><td>BixGrow - Commission Payout</td><td>You paid the affiliate balance</td></tr><tr><td>BixGrow - New Coupon Assigned</td><td>A coupon code was successfully given to an affiliate</td></tr><tr><td>BixGrow - Affiliate Joined via Post-Purchase Widget</td><td>A customer became an affiliate via the thank-you page popup</td></tr></tbody></table>

## Properties

Once connected, BixGrow automatically sends affiliate data to Klaviyo profiles using custom properties. You can use these fields to personalize your emails or group your affiliates.

<table data-search="false"><thead><tr><th width="169">Event properties</th><th width="349">Value</th><th width="243">Example</th></tr></thead><tbody><tr><td>Brand name</td><td>{{ event.brand_name|default:'' }}</td><td>BixGrow Demo Shop</td></tr><tr><td>Affiliate's first name</td><td>{{ event.first_name|default:'' }}</td><td>John</td></tr><tr><td>Affiliate's last name</td><td>{{ event.last_name|default:'' }}</td><td>Doe</td></tr><tr><td>Affiliate coupon</td><td>{{ event.affiliate_coupon|default:'' }}</td><td>DEMO-COUPON-10</td></tr><tr><td>Affiliate link</td><td>{{ event.affiliate_link|default:'' }}</td><td>https://bixgrow.com?ref=demo</td></tr><tr><td>Commission rate</td><td>{{ event.commission_rate|default:'' }}</td><td>10%</td></tr><tr><td>Order number</td><td>{{ event.order_number|default:'' }}</td><td>#1001</td></tr><tr><td>Total sales</td><td>{{ event.total|default:'' }}</td><td>100.00</td></tr><tr><td>Commissionable sales</td><td>{{ event.commissionable_sales|default:'' }}</td><td>100.00</td></tr><tr><td>Commission amount</td><td>{{ event.commission_amount|default:'' }}</td><td>10.00</td></tr><tr><td>Customer name</td><td>{{ event.customer_name|default:'' }}</td><td>John Doe</td></tr><tr><td>Affiliate log-in URL</td><td>{{ event.affiliate_login_url|default:'' }}</td><td>https://bixgrow-demo-store.bixgrow.com/login</td></tr><tr><td>Commission paid out amount</td><td>{{ event.paid_amount|default:'' }}</td><td>50.00</td></tr><tr><td>Reset password link</td><td>{{ event.reset_password_link|default:'' }}</td><td>https://bixgrow.com/reset-password/demo-token</td></tr><tr><td>Password</td><td>{{ event.password|default:'' }}</td><td>123456789</td></tr></tbody></table>

Supported event properties in each event:

<table data-search="false"><thead><tr><th width="318">Event</th><th width="561">Properties</th></tr></thead><tbody><tr><td>BixGrow - Affiliate Applied</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li></ul><p></p></td></tr><tr><td>BixGrow - Approved Affiliate</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Affiliate coupon</li><li>Affiliate link</li><li>Commission rate</li><li>Affiliate login URL</li></ul></td></tr><tr><td>BixGrow - Denied Affiliate</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li></ul></td></tr><tr><td>BixGrow - Added Affiliate</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Affiliate coupon</li><li>Affiliate link</li><li>Commission rate</li><li>Password</li><li>Affiliate login URL</li></ul></td></tr><tr><td>BixGrow - Affiliate Reset Password Request</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Reset password link</li><li>Affiliate login URL</li></ul></td></tr><tr><td>BixGrow - New Referral Order</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Order number</li><li>Total sales</li><li>Commissionable sales</li><li>Commission amount</li><li>Customer name</li><li>Affiliate login URL</li></ul></td></tr><tr><td>BixGrow - Approved Referral Order</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Order number</li><li>Total sales</li><li>Commissionable sales</li><li>Commission amount</li><li>Customer name</li><li>Affiliate login URL</li></ul></td></tr><tr><td>BixGrow - Denied Referral Order </td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's first name</li><li>Order number</li></ul></td></tr><tr><td>BixGrow - Commission Payout</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Commission paid out amount</li><li>Affiliate login URL</li></ul></td></tr><tr><td>BixGrow - New Coupon Assigned</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Affiliate coupon</li><li>Affiliate log-in URL</li></ul></td></tr><tr><td>BixGrow - Affiliate Joined via Post-Purchase Widget</td><td><ul><li>Brand name</li><li>Affiliate's first name</li><li>Affiliate's last name</li><li>Affiliate coupon</li><li>Affiliate link</li><li>Commission rate</li><li>Password</li><li>Affiliate login URL</li></ul></td></tr></tbody></table>

## Create event-based automations (Flow setup)

In Klaviyo, go to **Flows,** click **Create Flow,** and click the **Build your own** button to start.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FonyJsbyUayN4Vj6tNY9W%2Fimage.png?alt=media&amp;token=4cfd98aa-ecc1-40fd-b1d9-98edfc8be63b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FMrDPC3L75ICJfv5xhCBm%2Fimage.png?alt=media&amp;token=0341c54f-7b8f-4ef4-861d-add8e282a341" alt=""><figcaption></figcaption></figure>

Enter your flow name (e.g., Approved Affiliates) and click **Create flow**.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FyjQmMkbfbX0L4YxF3DWg%2Fimage.png?alt=media&amp;token=e5edb777-a7e7-46d9-a479-44203e41a825" alt=""><figcaption></figcaption></figure>

In the **Select a trigger** menu, click on the **Your metrics** option.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fsb4mBQD0rWSeBHTLGGTg%2Fimage.png?alt=media&amp;token=e14fe999-2840-4e7f-b2a5-a1a9e0232381" alt=""><figcaption></figcaption></figure>

Choose the **API** option from the event folders. You will see all the enabled BixGrow triggers.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fl6o4NrantmiVQwWsCya4%2Fimage.png?alt=media&amp;token=9a50ae9f-cf96-4f76-906f-185f2ed8f63b" alt=""><figcaption></figcaption></figure>

Select the specific event you want to use to start the flow (for example: BixGrow - Affiliate Approved) and click **Save**.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FP46un3aX9Ps2sjqIaXAD%2Fimage.png?alt=media&amp;token=9c6ece49-8de1-4c8f-802e-d8e007d57460" alt=""><figcaption></figcaption></figure>

Drag the Email block into the workflow path and start personalizing your message using the Klaviyo editor.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fepppef5SrASA0jQ8SWEd%2Fimage.png?alt=media&amp;token=39da1958-5e10-4275-bf3e-3518dd74fd9c" alt=""><figcaption></figcaption></figure>

Fill out your email details: email name, subject line, and preview text.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fky3Mm3RFuvDz1eP9HC5u%2Fimage.png?alt=media&amp;token=23095259-c740-40f3-bf29-6be194ee0317" alt=""><figcaption></figcaption></figure>

Click on **Email > Edit** to customize the email content

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2F5daaUnt1l3fpTfEHh3Je%2Fimage.png?alt=media&amp;token=78f5d7cd-123d-49c7-b8ae-6ce879b737b8" alt=""><figcaption></figcaption></figure>

Click on your preferred option (e.g., **Drag and drop**) to move forward to the design page and start adding your custom text.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FgAaIycfW937l3k9jTOsL%2Fimage.png?alt=media&amp;token=48126e99-18f9-40d2-80b8-1617d6b935b9" alt=""><figcaption></figcaption></figure>

Now, drag a block from the menu, then drop it into your email preview layout and type out your message.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2Fv3B4wuyrHulOWKst70E9%2Fimage.png?alt=media&amp;token=704472d1-6792-4868-8207-1c8ef6b393a9" alt=""><figcaption></figcaption></figure>

To print specific details (like an affiliate’s link or coupon code) inside a Klaviyo email text box, you need to copy the event properties.

[**👉 View the available event properties**](#properties)

When everything looks good, click **Exit** > **Done**, and change your email status from **Draft** to Live to start sending.

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FHu4uMc8vT12r8t6XhBcC%2Fimage.png?alt=media&amp;token=7934ab16-2a85-4b95-9384-01518a6e88da" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1262132294-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8I1FvDPwi1VP7QixsjAS%2Fuploads%2FSzxqPz0WluDwNo0Z0zVt%2Fimage.png?alt=media&amp;token=635c29df-b3f7-48e3-94be-de441f85c43b" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
You must fully build and set up your email flows in Klaviyo before you change your email service in BixGrow. If you switch to Klaviyo before your flows are ready, BixGrow will stop sending emails, and your affiliates will not receive any messages.
{% endhint %}

{% hint style="info" icon="key" %}
Recommended setup step:

1. Create all your automated email flows inside Klaviyo and keep them in **Draft** status first.
2. Go to your BixGrow settings and switch your email service to Klaviyo.
3. Go back to Klaviyo and immediately change your flow statuses from **Draft** to **Live**.
   {% endhint %}
