Mailchimp

Mailchimp is a marketing automation and email marketing platform.

Integrate the Mailchimp API with the Python API

Setup the Mailchimp API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Mailchimp and Python remarkably fast. Free for developers.

Run Python Code with Python API on Link Clicked from Mailchimp API
Mailchimp + Python
 
Try it
Run Python Code with Python API on New Audience from Mailchimp API
Mailchimp + Python
 
Try it
Run Python Code with Python API on New Campaign from Mailchimp API
Mailchimp + Python
 
Try it
Run Python Code with Python API on New Customer from Mailchimp API
Mailchimp + Python
 
Try it
Run Python Code with Python API on New File from Mailchimp API
Mailchimp + Python
 
Try it
Link Clicked from the Mailchimp API

Emit new event when a recipient clicks a pre-specified link in an specific campaign.

 
Try it
New Audience from the Mailchimp API

Emit new event when an audience is added to the connected Mailchimp account.

 
Try it
New Campaign from the Mailchimp API

Emit new event when a new campaign is created or sent

 
Try it
New Customer from the Mailchimp API

Emit new event when a new customer is added to a selected store.

 
Try it
New File from the Mailchimp API

Emit new event when a new file is added to the File Manager of the connected Mailchimp account.

 
Try it
Add Member To Segment with the Mailchimp API

Adds a new member to a static segment. See docs here

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Add Note to Subscriber with the Mailchimp API

Adds a new note to an existing subscriber. See docs here

 
Try it
Add Or Remove Members Tags with the Mailchimp API

Add or remove member tags. See docs here

 
Try it
Add or Update Subscriber with the Mailchimp API

Adds a new subscriber to an audience or updates existing subscriber. See docs here

 
Try it

Overview of Mailchimp

The Mailchimp API taps into the heart of your email marketing efforts, allowing you to manage subscribers, campaigns, and reports. With the API, you can automate tasks like syncing subscriber lists, segmenting contacts based on behavior, and personalizing email content to match user profiles. It's a powerful tool for marketers looking to fine-tune their email strategy and maximize engagement.

Connect Mailchimp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mailchimp: {
      type: "app",
      app: "mailchimp",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://login.mailchimp.com/oauth2/metadata`,
      headers: {
        Authorization: `Bearer ${this.mailchimp.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}