> ## Documentation Index
> Fetch the complete documentation index at: https://help.afflo.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Klaviyo

> Use affiliate events and properties in your email and SMS automations.

The Klaviyo integration sends affiliate activity to Klaviyo so you can segment, trigger flows, and personalize messages based on partner behavior.

## What it does

* Sends events like **Affiliate joined**, **Affiliate first sale**, and **Payout sent** to Klaviyo
* Syncs partner profile properties (tier, status, program) to Klaviyo profiles
* Powers flows like "Welcome new affiliates," "Nudge inactive partners," or "Celebrate top earners"

## Before you start

* A Klaviyo account on a paid plan (events require Klaviyo's paid tier)
* Private API key from Klaviyo with write access

## Connect

<Steps>
  <Step title="Get your Klaviyo API key">
    In Klaviyo, go to **Account → Settings → API keys** and create a private key with write access.
  </Step>

  <Step title="Open the integration">
    In Afflo, go to **Integrations → Marketing → Klaviyo** and click **Connect**.
  </Step>

  <Step title="Paste the key">
    Paste the private API key and save.
  </Step>

  <Step title="Verify">
    The card shows **Connected** and the first events start flowing within a few minutes.
  </Step>
</Steps>

## What gets sent

* **Events**: affiliate created, status changed, first sale, payout processed, tier changed
* **Profile properties**: current tier, program(s), total earnings, last sale date

Use these in Klaviyo segments and flows the same way you'd use order or browse events.

## Tips

* Build an "Affiliate onboarding" flow triggered by **Affiliate joined** — it's the highest-leverage automation in this integration.
* Segment top earners on **total earnings** to run exclusive perks or gifting campaigns.
* Keep a single source of truth for contact info. If an email in Afflo differs from Klaviyo, the Afflo value wins on new events.

## Troubleshooting

**Events not appearing.** Confirm the Klaviyo key has write access and that your Klaviyo plan supports custom events.

**Profile properties stale.** Properties update on each event. If nothing's happened recently, they'll catch up the next time a partner moves through the system.

## Related

<CardGroup cols={2}>
  <Card title="Connect your email" icon="mail-check" href="/integrations/marketing/connect-your-email">
    Send from your own domain.
  </Card>

  <Card title="Outreach" icon="send" href="/tour/outreach">
    Run cold email from inside Afflo.
  </Card>
</CardGroup>
