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

# Klaviyo

> The Klaviyo integration sends shipment events from Perform.AI to your Klaviyo account so Klaviyo flows can send email and SMS from delivery status.

## Summary

The Klaviyo integration sends shipment events from Perform.AI to your Klaviyo account, so the email and SMS notifications you run in Klaviyo can react to delivery status. You connect a Klaviyo account once, then create notifications in the Notification Center that use Klaviyo as the channel.

## Who it’s for

Marketing and CRM teams who send customer communication from Klaviyo and want delivery updates to come from the same tool, with the same templates and flows, instead of a second notification system.

## Key benefits

* **Shipment events reach your Klaviyo flows.** Each Klaviyo notification you create in Perform.AI sends an event to Klaviyo when its trigger fires, so a Klaviyo flow can send the shopper an email or SMS.
* **One connection, many notifications.** Connect a Klaviyo account once and reuse it across your Klaviyo notifications, each with its own trigger and filters.
* **Several Klaviyo accounts in one organization.** Add more than one Klaviyo account and choose which one each notification sends to.
* **Notification Center triggers and filters.** Klaviyo notifications use the Notification Center’s trigger list and its carrier, Tracking Page and tag filters.

## How it works

### Connecting a Klaviyo account

| Field | Rule |
| - | - |
| Klaviyo Account Name | A name that identifies this account in Perform.AI. You choose it when you create a notification. |
| API Key | Your Klaviyo account’s public API key, a six-character code found in Klaviyo under **Settings** > **API Keys**. It is case-sensitive. Each API key can be connected only once. |

After you activate the account, its status changes to Activated and it appears at the top of the Integrations Overview page.

### Klaviyo notifications

A Klaviyo notification is created in the Notification Center like an email or SMS notification, with Klaviyo selected as the communication channel.

| Setting | Rule |
| - | - |
| Notification name | Up to 32 characters. |
| Trigger | Choose a trigger category from the list. The list shows each trigger with its event types. |
| Filters | Optional. Limit the notification to shipments with a given carrier or tags. If you use the Premium Tracking Page, you can also filter by Tracking Page. |
| Klaviyo account | The connected account this notification sends to. |

The notification sends when a shipment receives an event that matches the trigger and passes the filters. If several triggers match the same event, only the highest-priority trigger fires and the lower-priority ones are suppressed. What the shopper receives, such as which Klaviyo flow starts and what the email or SMS says, is set up in Klaviyo.

A notification has one of four statuses:

| Status | What it means |
| - | - |
| Draft | The notification sends nothing. The trigger can be changed only in this status. |
| Active | The notification is live after you select **Activate**. To edit it, deactivate it first. |
| Deactivated | You can edit every field except the trigger. |
| Archived | The notification is hidden. |

If a trigger is deactivated, every notification linked to it is deactivated too. Reactivating the trigger does not reactivate those notifications.

## How to set it up

Connect the account first, then create the notification.

1. Go to **Settings** > **Integrations**, find the **Klaviyo** tile and select **Add Account**.
2. Enter a **Klaviyo Account Name** and the account’s public **API Key**, then select **Activate**. A success banner appears and the account status changes to Activated.
3. Go to **Post-Purchase** > **Notifications**. The Notification Center opens. Select **Add Notification**.
4. Select **Klaviyo** as the communication channel.
5. Enter a notification name (up to 32 characters) and choose the trigger category. You can scroll the list or search for an event.
6. Optional: under **Filter by**, add carrier or tag filters. If you use the Premium Tracking Page, you can also add a Tracking Page filter.
7. Under **Klaviyo Account Name**, choose the account to send to. Select **Save**, then **Activate**.

> [!TIP]
>
> The Klaviyo API key is case-sensitive. Copy it from Klaviyo rather than typing it.

## Use via API and MCP

The Klaviyo connection has no endpoint of its own. The same shipment events are available to your own systems through [webhooks](https://docs.perform.ai/guides/webhooks.md).

## FAQ

### How do I connect Klaviyo to Perform.AI?

Go to **Settings** > **Integrations**, select **Add Account** on the Klaviyo tile, enter an account name and your Klaviyo public API key, then select **Activate**. After that, create a notification in the Notification Center with Klaviyo as the channel.

### Where do I find my Klaviyo API key?

In Klaviyo, under **Settings** > **API Keys**. Use the public API key, which is a six-character code.

### Can I connect more than one Klaviyo account?

Yes. Add each account from the Klaviyo tile on the Integrations page. When you create a notification, you choose which account it sends to. Each API key can be connected only once.

### Which shipments does a Klaviyo notification cover?

All shipments that receive an event matching the trigger, unless you add filters. Filters limit the notification to selected carriers or shipment tags, and to selected Tracking Pages if you use the Premium Tracking Page. If several triggers match the same event, only the highest-priority trigger fires.

### Who writes the email or SMS that the shopper receives?

You do, in Klaviyo. Perform.AI sends the event; the flow, the template and the sending are handled in your Klaviyo account.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| The Klaviyo account will not activate | The API key was entered with the wrong case, or it is already connected | Copy the public API key from Klaviyo again. Each key can be connected only once. |
| Nothing arrives in Klaviyo | The notification is still in Draft, or was saved but not activated | Open the notification in **Post-Purchase** > **Notifications** and select **Activate**. A Draft notification sends nothing. |
| A notification stopped sending | Its trigger was deactivated, which deactivates every linked notification | Check the notification’s status in **Post-Purchase** > **Notifications**. Reactivating the trigger does not reactivate linked notifications. |
| A notification does not fire for an event | A higher-priority trigger matched the same event | Only the highest-priority matching trigger fires. Check which other notifications use a trigger that matches the event. |
| Only some shipments trigger the flow | Carrier, Tracking Page or tag filters exclude the others | Edit the notification’s filters, or remove them to cover all shipments. |
| You cannot change the trigger | The notification is not in Draft | The trigger can be changed only while the notification is in Draft. |

## Related

* [Delivery Notifications](https://docs.perform.ai/products/post-purchase/delivery-notifications.md)
* [Webhooks](https://docs.perform.ai/products/integrations/webhooks.md)
* [Integrations overview](https://docs.perform.ai/products/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.