All connectors

Mailchimp

Mailchimp Connector for AI Agents

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.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors

About this Connector

Mailchimp is an email marketing platform that enables businesses to create, send, and analyze email campaigns, manage subscriber lists, and automate marketing workflows. This connector provides read access to campaigns, lists, reports, email activity, automations, and more for marketing analytics and audience management.

CRM

Sales Analytics

Customer Data

email marketing, campaign analytics, audience management

Version Information

Package version

0.1.30

Connector version

1.0.4

SDK commit

5b20f488dec0e8f29410823753106603c23a4b65

Support Open Source

Star us on GitHub to help grow the Airbyte community

Github

Installation & Usage

Get started with the Mailchimp connector in minutes

1

Install Package

Using uv or pip

bash

Copy
uv pip install airbyte-agent-mailchimp

2

Import

Initialize and use

python

Copy
from airbyte_agent_mailchimp import MailchimpConnector
from airbyte_agent_mailchimp.models import MailchimpAuthConfig

connector = MailchimpConnector(
    auth_config=MailchimpAuthConfig(
        api_key="<Your Mailchimp API key. You can find this in your Mailchimp account under Account > Extras > API keys.>"
    )
)

3

Tool

Add tools to your agent

python

Copy
@agent.tool_plain # assumes you're using Pydantic AI
@MailchimpConnector.tool_utils
async def mailchimp_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Supported Entities & Actions

Access all your Mailchimp data through a unified API

Lorem ipsum

Lorem ipsum

| Entity | Actions |\n|--------|---------|\n| Campaigns | [List](./REFERENCE.md#campaigns-list), [Get](./REFERENCE.md#campaigns-get) |\n| Lists | [List](./REFERENCE.md#lists-list), [Get](./REFERENCE.md#lists-get) |\n| List Members | [List](./REFERENCE.md#list-members-list), [Get](./REFERENCE.md#list-members-get) |\n| Reports | [List](./REFERENCE.md#reports-list), [Get](./REFERENCE.md#reports-get) |\n| Email Activity | [List](./REFERENCE.md#email-activity-list) |\n| Automations | [List](./REFERENCE.md#automations-list) |\n| Tags | [List](./REFERENCE.md#tags-list) |\n| Interest Categories | [List](./REFERENCE.md#interest-categories-list), [Get](./REFERENCE.md#interest-categories-get) |\n| Interests | [List](./REFERENCE.md#interests-list), [Get](./REFERENCE.md#interests-get) |\n| Segments | [List](./REFERENCE.md#segments-list), [Get](./REFERENCE.md#segments-get) |\n| Segment Members | [List](./REFERENCE.md#segment-members-list) |\n| Unsubscribes | [List](./REFERENCE.md#unsubscribes-list) |

Example Prompts

The Mailchimp connector is optimized to handle prompts like these

Lorem ipsum

Show me all my email campaigns from the last month - List all subscribers in my main mailing list - What are the open rates for my recent campaigns? - Show me the performance report for campaign \{campaign_id\} - List all automation workflows in my account - Who unsubscribed from list \{list_id\} this week? - Show me all segments for my primary audience - What tags are applied to my subscribers? - List all interest categories for list \{list_id\} - Show me email activity for campaign \{campaign_id\} - How many subscribers do I have in each list? - What are my top performing campaigns by click rate?

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

Use the Mailchimp connector with any AI agent framework

🦜

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.

How do I authenticate with Mailchimp?

The Mailchimp connector supports API key authentication. You can find your API key in your Mailchimp account under Account > Extras > API keys.

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 connector focuses on read operations for campaigns, lists, reports, email activity, and automations. Write operations such as creating campaigns, adding subscribers, or sending campaigns are not yet 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.

20,000+
community members
6,000+
daily active companies
2PB+
synced/month
900+
contributors