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 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.33
Connector version
1.0.2
SDK commit
cb4380e76ac5cbc67b9089f94522be1bbe9f8d73
Support Open Source
Check us out on Github and join 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), [Search](./REFERENCE.md#profiles-search) |\n| Lists | [List](./REFERENCE.md#lists-list), [Get](./REFERENCE.md#lists-get), [Search](./REFERENCE.md#lists-search) |\n| Campaigns | [List](./REFERENCE.md#campaigns-list), [Get](./REFERENCE.md#campaigns-get), [Search](./REFERENCE.md#campaigns-search) |\n| Events | [List](./REFERENCE.md#events-list), [Search](./REFERENCE.md#events-search) |\n| Metrics | [List](./REFERENCE.md#metrics-list), [Get](./REFERENCE.md#metrics-get), [Search](./REFERENCE.md#metrics-search) |\n| Flows | [List](./REFERENCE.md#flows-list), [Get](./REFERENCE.md#flows-get), [Search](./REFERENCE.md#flows-search) |\n| Email Templates | [List](./REFERENCE.md#email-templates-list), [Get](./REFERENCE.md#email-templates-get), [Search](./REFERENCE.md#email-templates-search) |
Example Prompts
Lorem ipsum
List all profiles in my Klaviyo account - Show me details for a recent profile - Show me all email lists - Show me details for a recent email list - What campaigns have been created? - Show me details for a recent campaign - Show me all email campaigns - List all events for tracking customer actions - Show me all metrics (event types) - Show me details for a recent metric - What automated flows are configured? - Show me details for a recent flow - List all email templates - Show me details for a recent 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 two authentication methods: Open source mode, where you provide your Klaviyo private API key directly via KlaviyoAuthConfig(api_key="..."), and Hosted mode, where credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client ID, client secret, customer name, and optional organization ID.
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?
The Klaviyo connector currently supports read operations only. Write operations such as creating or updating profiles, deleting lists, sending campaigns, or adding profiles to lists are not currently supported.
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.