Klaviyo Integration

API Key (Bearer)

Connect your AI agent to Klaviyo. Manage lists, automate flows, create campaigns, and track events directly from conversations.

What your agent can do

With Klaviyo credentials, your agent gets full access to your lists, flows, campaigns, and events through the Klaviyo API.

List management

Create and manage subscriber lists, add or remove profiles, and organize contacts into targeted groups.

Flow automation

Build and manage automated flows for welcome series, abandoned carts, post-purchase sequences, and more.

Campaign creation

Create, schedule, and send email and SMS campaigns. Manage templates, content, and delivery settings.

Customer segmentation

Build dynamic segments based on behavior, purchase history, engagement, and custom properties.

Event tracking

Track custom events like purchases, page views, and product interactions. Use events to trigger flows and segments.

Prerequisites

  • A Klaviyo account (Free or any paid plan)
  • A private API key created from Settings > Account > API Keys
  • A ClawTrust agent on any plan (Starter, Pro, or Enterprise)

Step-by-step setup

Create a private API key in Klaviyo and add it to your agent.

1

Open Klaviyo Settings

Sign in to Klaviyo and navigate to Settings > Account > API Keys. This is where you manage your private API keys.

2

Create a private API key

Click "Create Private API Key". Name it (e.g., "ClawTrust Agent") and select the scopes your agent needs (Full Access or specific read/write permissions).

3

Copy the API key

Copy the generated private API key (starts with pk_). Klaviyo only shows the full key once. Store it securely before closing the dialog.

4

Add to ClawTrust

In your agent's dashboard, go to Credentials > Add Credential. Select "API Key (Bearer)", paste your private key, and set allowed domains to a.klaviyo.com.

Credential details

Type

API Key (Bearer Token)

Header

Authorization: Klaviyo-API-Key pk_xxx

Allowed domains

a.klaviyo.com

Fields

Private API Key (single field)

Example actions

Once connected, you can ask your agent to perform actions like these.

"Add this customer to the VIP segment"

Adds the specified profile to your VIP segment based on their email or profile ID.

"Create a welcome flow for new subscribers"

Sets up a new flow triggered by list subscription with your specified email sequence.

"Show me revenue from the Black Friday campaign"

Retrieves campaign performance metrics including attributed revenue, conversions, and ROI.

"Track a purchase event for order #1234"

Creates a tracked event with the order details, line items, and total value for attribution.

Ready to connect your agent to Klaviyo?

Add your private API key and your agent starts managing lists, flows, and campaigns immediately.