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.62

Connector version

1.0.7

SDK commit

cb4380e76ac5cbc67b9089f94522be1bbe9f8d73

Support Open Source

Check us out on Github and join 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), [Search](./REFERENCE.md#campaigns-search) |\n| Lists | [List](./REFERENCE.md#lists-list), [Get](./REFERENCE.md#lists-get), [Search](./REFERENCE.md#lists-search) |\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), [Search](./REFERENCE.md#reports-search) |\n| Email Activity | [List](./REFERENCE.md#email-activity-list), [Search](./REFERENCE.md#email-activity-search) |\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

List all subscribers in my main mailing list - List all automation workflows in my account - Show me all segments for my primary audience - List all interest categories for my primary audience - Show me email activity for a recent campaign - Show me the performance report for a recent campaign - Show me all my email campaigns from the last month - What are the open rates for my recent campaigns? - Who unsubscribed from list \{list_id\} this week? - What tags are applied to my subscribers? - 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 in open source mode, where you provide your Mailchimp API key directly (found under Account > Extras > API keys). In hosted mode, credentials are stored securely in Airbyte Cloud using Airbyte's own OAuth-based auth config.

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?

No, the Mailchimp connector currently supports read operations only. Write operations such as creating campaigns, adding subscribers, deleting campaigns, updating subscriber information, sending campaigns, or creating automation workflows 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.

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