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

# Klaviyo Integration | Adspirer

> Connect Klaviyo to Adspirer and let your AI assistant pull campaigns, flows, segments, profiles, and metrics alongside paid media performance.

Connect **Klaviyo** to Adspirer and your AI assistant can pull email and SMS campaign data, flows, segments, profiles, and lifecycle metrics — alongside the paid media data it already reads from Google Ads, Meta, Amazon, ChatGPT Ads, LinkedIn, and TikTok.

## Prerequisites

<Note>
  * A Klaviyo account you have at least **Analyst** access to (or higher)
  * Adspirer account on the **Plus, Pro, or Max** tier — Klaviyo is gated to paid plans
  * Adspirer connected to a [supported AI client](/docs/ai-clients/chatgpt)
</Note>

## Connecting Klaviyo

1. Open [adspirer.ai/connections](https://adspirer.ai/connections)
2. Scroll to the **Integrations** section and click **Connect** on the Klaviyo card
3. A Pipedream Connect popup opens — sign in to Klaviyo and approve the requested scopes
4. The popup closes and the card flips to **Connected**

Verify in your AI client:

```
What can you do with my Klaviyo account?
```

The agent will discover what's available via the `klaviyo` tool and reply with the actions it can run.

<Info>
  Adspirer uses [Pipedream Connect](https://pipedream.com/connect) to broker the OAuth grant. Your tokens stay in Pipedream and are scoped to your Adspirer user — Adspirer never sees the raw Klaviyo credentials.
</Info>

## What You Can Do

The Klaviyo integration is exposed through one router tool — **`klaviyo`** — that takes an `action` and a `tool_name`:

| action       | What it does                                                                                     |
| ------------ | ------------------------------------------------------------------------------------------------ |
| `list_tools` | Discover the Klaviyo actions available (the agent does this automatically before its first call) |
| `execute`    | Run a specific Klaviyo action with parameters                                                    |

The Pipedream Klaviyo catalog includes (non-exhaustive):

* Read campaigns (email + SMS) — opens, clicks, revenue, recipients
* Read flows and flow performance
* Pull segments and their membership counts
* Read individual profiles and lifecycle stage
* Query metrics (events) and metric aggregates
* List templates and audiences

The agent picks the right action based on what you ask. You don't need to memorize tool names.

## Example Prompts

```
What's my best-performing Klaviyo email this month and which Meta ad audience overlaps most with its openers?
```

```
Pull last quarter's Klaviyo flow revenue and compare it to my Google Ads conversion value for the same period.
```

```
Which Klaviyo segments grew the fastest in the last 30 days?
```

```
List the email campaigns I sent last month, sorted by revenue per recipient.
```

## Tier Gating

| Plan |                Klaviyo                |
| ---- | :-----------------------------------: |
| Free |                   —                   |
| Plus | <Badge color="green">Included</Badge> |
| Pro  | <Badge color="green">Included</Badge> |
| Max  | <Badge color="green">Included</Badge> |

Free users see the integration card in the Connections panel with an **Upgrade** prompt that links directly to the Adspirer plan picker.

## Disconnecting

Open [adspirer.ai/connections](https://adspirer.ai/connections), find the Klaviyo card, and click **Disconnect**. The grant is revoked in Pipedream and the agent loses access immediately.

<Note>
  Idle integrations (>90 days with no tool calls) are pruned automatically to keep your integration list tidy. You can always reconnect.
</Note>

## FAQ

<AccordionGroup>
  <Accordion title="Does this count against my Adspirer tool-call quota?">
    Yes — each `klaviyo` call counts as one tool call against your monthly (or annual pooled) quota, same as a Google Ads or Meta call.
  </Accordion>

  <Accordion title="Can the agent send Klaviyo campaigns?">
    v1 is focused on read access — pulling campaigns, flows, segments, and metrics for analysis alongside paid media. Send and edit actions are on the roadmap. If you have a specific send/edit workflow you want supported, [tell us](/docs/knowledge-base/support).
  </Accordion>

  <Accordion title="What if I have multiple Klaviyo accounts?">
    Connect each one separately — Adspirer treats them as distinct integrations and the agent will ask which one to query when ambiguous.
  </Accordion>

  <Accordion title="Why does this run through Pipedream?">
    Pipedream Connect handles OAuth, token refresh, and scope management for the long tail of SaaS APIs we'd otherwise have to maintain ourselves. The integration tool you see in chat is a thin Adspirer-side proxy to Pipedream's remote MCP — your tokens stay there, scoped to your Adspirer user.
  </Accordion>
</AccordionGroup>
