Skip to main content

Setting up the Klaviyo Integration

G
Written by Guido Kaspers
Updated today

Before you can send return events from Swap to Klaviyo, you need to connect your Klaviyo account using a private API key.

Once connected, Swap will automatically send return events to Klaviyo, allowing you to trigger flows and personalise emails.


Prerequisites

Before setting up the integration, make sure:

  • Klaviyo Email Management is enabled for your store (Swap Support can activate this)

  • You have access to your Klaviyo account

  • You can create API keys in Klaviyo


Step 1: Create a private API key in Klaviyo

  1. In Klaviyo, go to Settings β†’ API Keys

  2. Click Create Private API Key

  3. Name the key (e.g. Swap Returns V2)

  4. Copy the API key

You will use this key to connect Klaviyo to Swap.


Step 2: Connect Klaviyo in Swap

  1. In the Swap dashboard, go to Integrations

  2. Locate Klaviyo

  3. Click Request (if not already enabled)

  4. Once enabled, click Settings

  5. Paste your API key

  6. Click Save


What happens after connecting

Once the integration is connected:

  • Swap starts sending return events to Klaviyo

  • Events appear as custom metrics (e.g. V2- Return Created)

  • If a customer profile does not exist in Klaviyo, it will be created automatically

  • You can start building flows using these events


More on Klaviyo:

Did this answer your question?