Use mailchimp with Langchain Python

Mailchimp is an all-in-one Marketing Platform for small businesses.
🔗 Connect and Use mailchimp
1. 🔑 Connect your mailchimp accoun
2. ✅ Select an action
3. 🚀 Go live with the agent
What do you want to do?
Actions
root
- LIST API ROOT RESOURCES
activityFeed
accountExports
accountExport
authorizedApps
automations
batches
batchWebhooks
templateFolders
campaignFolders
campaigns
connectedSites
conversations
customerJourneys
fileManager
lists
Surveys
landingPages
reports
templates
ecommerce
searchCampaigns
searchMembers
ping
facebookAds
reporting
verifiedDomains

API actions for mailchimp for AI assitants/agents

Language
JS
PYTHON
Framework

Campaigns

REPLICATE CAMPAIGN

Replicate a campaign in saved or send status.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_REPLICATE_CAMPAIGN])

SEND CAMPAIGN

Send a Mailchimp campaign. For RSS Campaigns, the campaign will send according to its schedule. All other campaigns will send immediately.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_SEND_CAMPAIGN])

SCHEDULE CAMPAIGN

Schedule a campaign for delivery. If you're using Multivariate Campaigns to test send times or sending RSS Campaigns, use the send action instead.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_SCHEDULE_CAMPAIGN])

UNSCHEDULE CAMPAIGN

Unschedule a scheduled campaign that hasn't started sending.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UNSCHEDULE_CAMPAIGN])

SEND TEST EMAIL

Send a test email.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_SEND_TEST_EMAIL])

PAUSE RSS CAMPAIGN

Pause an RSS-Driven campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_PAUSE_RSS_CAMPAIGN])

RESUME RSS CAMPAIGN

Resume an RSS-Driven campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_RESUME_RSS_CAMPAIGN])

RESEND CAMPAIGN

Remove the guesswork for resending a campaign to certain segments. You can use this endpoint as a shortcut to replicate a campaign and resend it to common segments, such as those who didn't op
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_RESEND_CAMPAIGN])

GET CAMPAIGN CONTENT

Get the the HTML and plain-text content for a campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_CAMPAIGN_CONTENT])

SET CAMPAIGN CONTENT

Set the content for a campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_SET_CAMPAIGN_CONTENT])

LIST CAMPAIGN FEEDBACK

Get team feedback while you're working together on a Mailchimp campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_CAMPAIGN_FEEDBACK])

ADD CAMPAIGN FEEDBACK

Add feedback on a specific campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_CAMPAIGN_FEEDBACK])

GET CAMPAIGN FEEDBACK MESSAGE

Get a specific feedback message from a campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_CAMPAIGN_FEEDBACK_MESSAGE])

UPDATE CAMPAIGN FEEDBACK MESSAGE

Update a specific feedback message for a campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_CAMPAIGN_FEEDBACK_MESSAGE])

DELETE CAMPAIGN FEEDBACK MESSAGE

Remove a specific feedback message for a campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_CAMPAIGN_FEEDBACK_MESSAGE])

GET CAMPAIGN SEND CHECKLIST

Review the send checklist for a campaign, and resolve any issues before sending.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_CAMPAIGN_SEND_CHECKLIST])

ConnectedSites

LIST CONNECTED SITES

Get all connected sites in an account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_CONNECTED_SITES])

ADD CONNECTED SITE

Create a new Mailchimp connected site.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_CONNECTED_SITE])

GET CONNECTED SITE

Get information about a specific connected site.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_CONNECTED_SITE])

DELETE CONNECTED SITE

Remove a connected site from your Mailchimp account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_CONNECTED_SITE])

VERIFY CONNECTED SITE SCRIPT

Verify that the connected sites script has been installed, either via the script URL or fragment.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_VERIFY_CONNECTED_SITE_SCRIPT])

Conversations

LIST CONVERSATIONS

List of conversations for an account is available via an endpoint, but it's deprecated in favor of Inbox. The endpoint excludes new Inbox data including campaign replies and messages. Past con
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_CONVERSATIONS])

GET CONVERSATION

API endpoint for Conversations is deprecated, replaced by Inbox. Although historical data is accessible, new campaign replies and messages are not retrievable through this endpoint.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_CONVERSATION])

LIST MESSAGES

Legacy "Conversations" endpoint is deprecated; use "Inbox" for new messages. Old conversations are accessible, but new campaign replies and Inbox messages are not.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_MESSAGES])

GET MESSAGE

The conversation endpoint is outdated and replaced by Inbox, which isn't supported by it. Historical conversation data is accessible, but new replies and Inbox messages are not.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_MESSAGE])

CustomerJourneys

CUSTOMER JOURNEYS API TRIGGER FOR A CONTACT

Create a trigger step in the Customer Journey builder via the API. Use the provided URL with {journey_id} and {step_id} to activate conditions for a contact.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_CUSTOMER_JOURNEYS_API_TRIGGER_FOR_A_CONTACT])

FileManager

LIST STORED FILES

Get a list of available images and files stored in the File Manager for the account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_STORED_FILES])

ADD FILE

Upload a new image or file to the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_FILE])

GET FILE

Get information about a specific file in the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_FILE])

UPDATE FILE

Update a file in the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_FILE])

DELETE FILE

Remove a specific file from the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_FILE])

LIST FOLDERS

Get a list of all folders in the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_FOLDERS])

ADD FOLDER

Create a new folder in the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_FOLDER])

GET FOLDER

Get information about a specific folder in the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_FOLDER])

UPDATE FOLDER

Update a specific File Manager folder.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_FOLDER])

DELETE FOLDER

Delete a specific folder in the File Manager.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_FOLDER])

RETRIEVE FOLDER CONTENTS

Get a list of available images and files stored in this folder.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_RETRIEVE_FOLDER_CONTENTS])

Lists

GET LISTS INFO

Get information about all lists in the account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_LISTS_INFO])

ADD LIST

Create a new list in your Mailchimp account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_LIST])

GET LIST INFO

Get information about a specific list in your Mailchimp account. Results include list members who have signed up but haven't confirmed their subscription yet and unsubscribed or cleaned.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_LIST_INFO])

UPDATE LISTS

Update the settings for a specific list.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_LISTS])

DELETE LIST

Delete a list from your Mailchimp account. If you delete a list, you'll lose the list history—including subscriber activity, unsubscribes, complaints, and bounces. You’ll also lose subscribers
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_LIST])

BATCH SUBSCRIBE OR UNSUBSCRIBE

Batch subscribe or unsubscribe list members.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_BATCH_SUBSCRIBE_OR_UNSUBSCRIBE])

LIST ABUSE REPORTS

Get all abuse reports for a specific list.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_ABUSE_REPORTS])

GET ABUSE REPORT

Get details about a specific abuse report.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_ABUSE_REPORT])

LIST RECENT ACTIVITY

Get up to the previous 180 days of daily detailed aggregated activity stats for a list, not including Automation activity.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_RECENT_ACTIVITY])

LIST TOP EMAIL CLIENTS

Get a list of the top email clients based on user-agent strings.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_TOP_EMAIL_CLIENTS])

LIST GROWTH HISTORY DATA

Get a month-by-month summary of a specific list's growth activity.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_GROWTH_HISTORY_DATA])

GET GROWTH HISTORY BY MONTH

Get a summary of a specific list's growth activity for a specific month and year.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_GROWTH_HISTORY_BY_MONTH])

LIST INTEREST CATEGORIES

Get information about a list's interest categories.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_INTEREST_CATEGORIES])

Frequently asked questions

What is Composio.dev?

Composio.dev is a cutting-edge framework for building AI applications, designed to make the process of developing AI solutions super easy and fun! It's a collection of powerful tools and libraries that simplify the process of creating AI applications, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support mailchimp?

Composio.dev seamlessly integrates with mailchimp, making it a breeze to leverage its capabilities within the Composio.dev platform. You can use mailchimp to call functions on various platforms like Google, GitHub, and others, allowing you to incorporate different services into your AI applications with ease. It also supports user login via OAuth2 and can work with other popular frameworks such as LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with mailchimp and langchain_python?

When using mailchimp and langchain_python, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate mailchimp with langchain_python?

Integrating mailchimp with langchain_python is super easy with Composio.dev! You can use the Composio.dev API to call functions from both mailchimp and langchain_python, allowing you to tap into their capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with the language you're most comfortable with and integrate these powerful tools into your projects seamlessly.

What is the pricing for mailchimp and langchain_python?

Both mailchimp and langchain_python are completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes them accessible for developers and organizations of all sizes, whether you're a student working on a personal project or a startup building the next big thing. You can get started with these powerful tools without worrying about breaking the bank.

What kind of authentication is supported for mailchimp and langchain_python?

mailchimp and langchain_python support OAuth2 authentication, ensuring secure and authorized access to their functionalities. You can use the Composio.dev API to handle authentication and call functions from both mailchimp and langchain_python seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add mailchimp to my project?

Absolutely! You can easily incorporate mailchimp into your project by utilizing the Composio.dev API. This API allows you to call functions from both mailchimp and langchain_python, enabling you to leverage their capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add these powerful tools to your project with ease.

What is the accuracy of mailchimp and langchain_python?

mailchimp and langchain_python are designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. The comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for mailchimp and langchain_python?

mailchimp and langchain_python can be used for a wide range of AI applications, making them versatile tools for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. They're particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, these tools can help you bring your ideas to life.

How does mailchimp handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and mailchimp takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. mailchimp provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using mailchimp for your AI development needs.

Can I customize mailchimp and langchain_python for my specific needs?

Absolutely! mailchimp and langchain_python are highly customizable and extensible, allowing you to tailor their functionality, models, and configurations to meet your specific requirements. Whether you're building a chatbot, a content creation tool, or any other AI-powered application, you can customize these tools to fit your unique needs. Additionally, Composio.dev provides a flexible platform for integrating and orchestrating various AI tools and services, enabling you to create custom AI solutions that are tailored to your project.

What kind of support and documentation is available for mailchimp and langchain_python?

mailchimp and langchain_python have comprehensive documentation and a supportive community, making it easy for you to get started and find answers to your questions. Composio.dev also provides extensive resources, including tutorials, guides, and a dedicated support team to assist you throughout your AI development journey. Whether you're a beginner or an experienced developer, you'll have access to the resources you need to make the most of these powerful tools.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents🧪