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

Root

LIST API ROOT RESOURCES

Get links to all other resources available in the API.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_API_ROOT_RESOURCES])

ActivityFeed

GET LATEST CHIMP CHATTER

Return the Chimp Chatter for this account ordered by most recent.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_LATEST_CHIMP_CHATTER])

AccountExports

LIST ACCOUNT EXPORTS

Get a list of account exports for a given account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_ACCOUNT_EXPORTS])

ADD EXPORT

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

AccountExport

GET ACCOUNT EXPORT INFO

Get information about a specific account export.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_ACCOUNT_EXPORT_INFO])

AuthorizedApps

LIST AUTHORIZED APPS

Get a list of an account's registered, connected applications.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_AUTHORIZED_APPS])

GET AUTHORIZED APP INFO

Get information about a specific authorized application.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_AUTHORIZED_APP_INFO])

Automations

LIST AUTOMATIONS

Get a summary of an account's classic automations.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_AUTOMATIONS])

ADD AUTOMATION

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

GET AUTOMATION INFO

Get a summary of an individual classic automation workflow's settings and content. The `trigger_settings` object returns information for the first email in the workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_AUTOMATION_INFO])

PAUSE AUTOMATION EMAILS

Pause all emails in a specific classic automation workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_PAUSE_AUTOMATION_EMAILS])

START AUTOMATION EMAILS

Start all emails in a classic automation workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_START_AUTOMATION_EMAILS])

ARCHIVE AUTOMATION

Archiving will permanently end your automation and keep the report data. You’ll be able to replicate your archived automation, but you can’t restart it.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ARCHIVE_AUTOMATION])

LIST AUTOMATED EMAILS

Get a summary of the emails in a classic automation workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_AUTOMATED_EMAILS])

GET WORKFLOW EMAIL INFO

Get information about an individual classic automation workflow email.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_WORKFLOW_EMAIL_INFO])

DELETE WORKFLOW EMAIL

Removes an individual classic automation workflow email. Emails from certain workflow types, including the Abandoned Cart Email (abandonedCart) and Product Retargeting Email (abandonedBrowse)
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_WORKFLOW_EMAIL])

UPDATE WORKFLOW EMAIL

Update settings for a classic automation workflow email. Only works with workflows of type: abandonedBrowse, abandonedCart, emailFollowup, or singleWelcome.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_WORKFLOW_EMAIL])

LIST AUTOMATED EMAIL SUBSCRIBERS

Get information about a classic automation email queue.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_AUTOMATED_EMAIL_SUBSCRIBERS])

ADD SUBSCRIBER TO WORKFLOW EMAIL

Manually add a subscriber to a workflow, bypassing the default trigger settings. You can also use this endpoint to trigger a series of automated emails in an API 3.0 workflow type.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_SUBSCRIBER_TO_WORKFLOW_EMAIL])

GET AUTOMATED EMAIL SUBSCRIBER

Get information about a specific subscriber in a classic automation email queue.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_AUTOMATED_EMAIL_SUBSCRIBER])

PAUSE AUTOMATED EMAIL

Pause an automated email.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_PAUSE_AUTOMATED_EMAIL])

START AUTOMATED EMAIL

Start an automated email.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_START_AUTOMATED_EMAIL])

LIST SUBSCRIBERS REMOVED FROM WORKFLOW

Get information about subscribers who were removed from a classic automation workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_SUBSCRIBERS_REMOVED_FROM_WORKFLOW])

REMOVE SUBSCRIBER FROM WORKFLOW

Remove a subscriber from any point in a classic automation workflow; once removed, they cannot be re-added to that workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_REMOVE_SUBSCRIBER_FROM_WORKFLOW])

GET SUBSCRIBER REMOVED FROM WORKFLOW

Get information about a specific subscriber who was removed from a classic automation workflow.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_SUBSCRIBER_REMOVED_FROM_WORKFLOW])

Batches

LIST BATCH REQUESTS

Get a summary of batch requests that have been made.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_BATCH_REQUESTS])

START BATCH OPERATION

Begin processing a batch operations request.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_START_BATCH_OPERATION])

GET BATCH OPERATION STATUS

Get the status of a batch request.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_BATCH_OPERATION_STATUS])

DELETE BATCH REQUEST

Stops a batch request from running. Since only one batch request is run at a time, this can be used to cancel a long running request. The results of any completed operations will not be availa
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_BATCH_REQUEST])

BatchWebhooks

LIST BATCH WEBHOOKS

Get all webhooks that have been configured for batches.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_BATCH_WEBHOOKS])

ADD BATCH WEBHOOK

Configure a webhook that will fire whenever any batch request completes processing. You may only have a maximum of 20 batch webhooks.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_BATCH_WEBHOOK])

GET BATCH WEBHOOK INFO

Get information about a specific batch webhook.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_BATCH_WEBHOOK_INFO])

UPDATE BATCH WEBHOOK

Update a webhook that will fire whenever any batch request completes processing.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_BATCH_WEBHOOK])

DELETE BATCH WEBHOOK

Remove a batch webhook. Webhooks will no longer be sent to the given URL.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_BATCH_WEBHOOK])

TemplateFolders

LIST TEMPLATE FOLDERS

Get all folders used to organize templates.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_TEMPLATE_FOLDERS])

ADD TEMPLATE FOLDER

Create a new template folder.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_TEMPLATE_FOLDER])

GET TEMPLATE FOLDER

Get information about a specific folder used to organize templates.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_TEMPLATE_FOLDER])

UPDATE TEMPLATE FOLDER

Update a specific folder used to organize templates.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_TEMPLATE_FOLDER])

DELETE TEMPLATE FOLDER

Delete a specific template folder, and mark all the templates in the folder as 'unfiled'.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_TEMPLATE_FOLDER])

CampaignFolders

LIST CAMPAIGN FOLDERS

Get all folders used to organize campaigns.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_LIST_CAMPAIGN_FOLDERS])

ADD CAMPAIGN FOLDER

Create a new campaign folder.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_ADD_CAMPAIGN_FOLDER])

GET CAMPAIGN FOLDER

Get information about a specific folder used to organize campaigns.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_GET_CAMPAIGN_FOLDER])

UPDATE CAMPAIGN FOLDER

Update a specific folder used to organize campaigns.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_CAMPAIGN_FOLDER])

DELETE CAMPAIGN FOLDER

Delete a specific campaign folder, and mark all the campaigns in the folder as 'unfiled'.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_DELETE_CAMPAIGN_FOLDER])

Campaigns

LIST CAMPAIGNS

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

ADD CAMPAIGN

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

GET CAMPAIGN INFO

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

UPDATE CAMPAIGN SETTINGS

Update some or all of the settings for a specific campaign.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_UPDATE_CAMPAIGN_SETTINGS])

DELETE CAMPAIGN

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

CANCEL CAMPAIGN

Cancel a Regular or Plain-Text Campaign after you send, before all of your recipients receive it. This feature is included with Mailchimp Pro.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.MAILCHIMP_CANCEL_CAMPAIGN])

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🧪