< Back to all integrations
Advertising & Growth Stack

Connect AI agents and workflows to Klaviyo: profiles, lists, segments, events, campaigns and flows, so every system can feed your email and SMS.

Book a demo
[ Klaviyo + engini ]

Klaviyo for AI agents and workflows.

engini lets your AI agents and workflows work in Klaviyo: create and update profiles with custom properties, add them to lists, send events from any system so flows fire on what customers actually did, read segments, campaigns and metrics, and start a workflow when profiles join a segment. Orders, returns, subscriptions and support tickets from your other systems drive the messages. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Sign-inA Klaviyo private API key with the scopes you choose
ReachProfiles, lists, segments, events, metrics, campaigns and flows
TriggersNew profiles and segment changes, on a schedule
[ 01 / What agents can do ]

What your agent can do in Klaviyo. Every tool is one you allow or leave out.

The Klaviyo tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Profiles, Get Profile

Read customers and their properties.

Read
Get Lists, Get Segments

Read who is in which audience.

Read
Get Campaigns, Get Flows

Read what you send.

Read
Get Metrics

Read opens, clicks, orders and revenue by metric.

Read

Write

Create or Update Profile

Add a customer or change properties.

Write
Add Profile to List, Remove Profile from List

Manage list membership.

Write
Create Event

Send an event, such as an order shipped or a ticket closed, to trigger flows.

Write
Subscribe Profile, Unsubscribe Profile

Manage email and SMS consent.

Write

Any endpoint

Send API Request

Call any Klaviyo API endpoint, with the key added for you.

Any call

Triggers

Check for New Profiles

Profiles created since the last check.

Scheduled
Check for Segment Changes

Profiles that joined a segment you watch.

Scheduled

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Klaviyo. Four ways in, one set of permissions.

MCP

Claude, ChatGPT, Cursor

Create an MCP server in engini with your Klaviyo connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Klaviyo tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

For coding agents

The engini CLI connects Klaviyo and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Klaviyo tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Klaviyo and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Klaviyo through engini
// .cursor/mcp.json: Cursor, connected to Klaviyo through engini
{
"mcpServers": {
"engini-klaviyo": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Klaviyo connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“Send an Order Shipped event for order 1042 with the tracking link.”
“Which customers bought twice but not in 90 days?”
“Add these wholesale buyers to the B2B list.”
“How much revenue did the welcome flow drive last month?”
“Unsubscribe this phone number from SMS.”
“Update Dana's loyalty tier to Gold.”

Each request runs through the Klaviyo tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Klaviyo. Agents and workflows, across systems.

Commerce

Events from every system

Shipments from ShipStation, returns from the ERP and subscriptions from Recharge or Stripe become Klaviyo events that fire flows.

ShipStationNetSuiteStripeKlaviyo
Customer service

Support in the journey

A closed Zendesk or Gorgias ticket sends a Klaviyo event, so the follow-up email fits what happened.

ZendeskKlaviyo
Wholesale

B2B buyers in their own flows

Wholesale customers from the ERP are added to their own Klaviyo list with tier and terms.

NetSuiteKlaviyo
Marketing

Results on request

An agent answers which flows and campaigns drove revenue. Its toolset holds read tools only.

ClaudeKlaviyo

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Klaviyo and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Klaviyo. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Klaviyo tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Klaviyo account and engini acts as that person, with their Klaviyo permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRSecurity at engini →
[ 05 / Set up ]

Connect Klaviyo in three steps. Then decide what each agent may do.

Step 01

Sign in to Klaviyo

In Klaviyo, create a private API key with only the scopes the workflows need, then add a Klaviyo connection with it.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Klaviyo from Claude, ChatGPT, Cursor or your own code.

[ 06 / Questions ]

Klaviyo and engini. Straight answers.

Can an AI agent write to Klaviyo, or only read?

Both. engini has tools to create and update profiles, manage list membership, send events and manage email and SMS consent. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Does the agent act as me in Klaviyo?

It acts as the Klaviyo account behind the private key, with the scopes that key was given. Every run is recorded under the person who started it.

Can a change in Klaviyo start work?

Yes. Scheduled triggers check for new profiles and for profiles that join a segment you watch. A workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any Klaviyo API endpoint through the same connection, and give it only to the agents that need it.