Give agents tools for secure, real-time access to fetch, search, write, and sync across every system, with replication, entity mapping, and auth built-in.


About this Connector
Klaviyo is a marketing automation platform that helps businesses build customer relationships through personalized email, SMS, and push notifications. This connector provides access to Klaviyo's core entities including profiles, lists, campaigns, events, metrics, flows, and email templates for marketing analytics and customer engagement insights.
CRM
Sales Analytics
Customer Data
Version Information
Package version
0.1.2
Connector version
1.0.0
SDK commit
5b20f488dec0e8f29410823753106603c23a4b65
Support Open Source
Star us on GitHub to help grow the Airbyte community
Installation & Usage
1
Install Package
Using uv or pip
bash
uv pip install airbyte-agent-klaviyo
2
Import
Initialize and use
python
from airbyte_agent_klaviyo import KlaviyoConnector
from airbyte_agent_klaviyo.models import KlaviyoAuthConfig
connector = KlaviyoConnector(
auth_config=KlaviyoAuthConfig(
api_key="<Your Klaviyo private API key>"
)
)3
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@KlaviyoConnector.tool_utils
async def klaviyo_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Profiles | [List](./REFERENCE.md#profiles-list), [Get](./REFERENCE.md#profiles-get) |\n| Lists | [List](./REFERENCE.md#lists-list), [Get](./REFERENCE.md#lists-get) |\n| Campaigns | [List](./REFERENCE.md#campaigns-list), [Get](./REFERENCE.md#campaigns-get) |\n| Events | [List](./REFERENCE.md#events-list) |\n| Metrics | [List](./REFERENCE.md#metrics-list), [Get](./REFERENCE.md#metrics-get) |\n| Flows | [List](./REFERENCE.md#flows-list), [Get](./REFERENCE.md#flows-get) |\n| Email Templates | [List](./REFERENCE.md#email-templates-list), [Get](./REFERENCE.md#email-templates-get) |
Example Prompts
Lorem ipsum
List all profiles in my Klaviyo account - Get profile details for a specific contact - Show me all email lists - Get details for a specific email list - What campaigns have been created? - Get details for a specific campaign - Show me all email campaigns - List all events for tracking customer actions - Show me all metrics (event types) - Get details for a specific metric - What automated flows are configured? - Get details for a specific flow - List all email templates - Get details for a specific email template
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Agent-Native Design
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Production Ready
Battle-tested connectors with comprehensive error handling, logging, and retry logic.
Open Source
Fully open source under the MIT license. Contribute, customize, and extend freely.
Works with your favorite frameworks
🦜
LangChain
🦙
LlamaIndex
🤖
CrewAI
⚡
AutoGen
🧠
OpenAI Agents SDK
🔮
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The Klaviyo connector supports API key authentication. You provide your Klaviyo private API key through the KlaviyoAuthConfig when initializing the connector.
Can I use this connector with any AI agent framework?
The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.
Does this connector support write operations?
Currently, the Klaviyo connector focuses on read operations only. Write operations such as creating profiles, updating contact information, deleting lists, sending campaigns, or adding profiles to lists are not supported at this time.
How is this different from the Airbyte data connector?
Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.
Will there be a platform for agent connectors?
The hosted version with secure credential storage through Airbyte Cloud is already available. See the hosted usage section in the documentation for setup instructions.