ConvertKit

Email Marketing for Online Creators

Integrate the ConvertKit API with the Python API

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

Run Python Code with Python API on New Subscriber Activation (Instant) from ConvertKit API
ConvertKit + Python
 
Try it
Run Python Code with Python API on New Unsubscriber Activation (Instant) from ConvertKit API
ConvertKit + Python
 
Try it
Run Python Code with Python API on New Webhook Event (Instant) from ConvertKit API
ConvertKit + Python
 
Try it
New Subscriber Activation (Instant) from the ConvertKit API

Emit new event when a new subscriber is activated. See docs here

 
Try it
New Unsubscriber Activation (Instant) from the ConvertKit API

Emit new event when a user unsubscribers. See docs here

 
Try it
New Webhook Event (Instant) from the ConvertKit API

Emit new event for each selected event types. See docs here

 
Try it
Add subscriber to a form with the ConvertKit API

Add subscriber to a form. 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 tag to a subscriber with the ConvertKit API

Add tag to a subscriber. See docs here

 
Try it
List subscribers with the ConvertKit API

Returns a list of your subscribers. See docs here

 
Try it
View a Single Subscribers with the ConvertKit API

Returns data for a single subscriber. See docs here

 
Try it

Overview of ConvertKit

ConvertKit's API offers granular control over email marketing campaigns, allowing users to automate subscriber management, broadcast sending, and sequence setup. Utilize Pipedream's power to react to events, sync data across platforms, or create personalized, timely campaigns. Pipedream's serverless platform connects ConvertKit with hundreds of other apps, enabling automated workflows that save time and improve engagement.

Connect ConvertKit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    convertkit: {
      type: "app",
      app: "convertkit",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.convertkit.com/v3/account`,
      params: {
        api_key: `${this.convertkit.$auth.api_key}`,
        api_secret: `${this.convertkit.$auth.api_secret}`,
      },
    })
  },
})

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}}