lemlist

Personalize cold emails, automate follow-ups, and engage with leads across all channels

Integrate the lemlist API with the Python API

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

Run Python Code with Python API on New Activity (Instant) from lemlist API
lemlist + Python
 
Try it
Run Python Code with Python API on New Unsubscribed Recipient (Instant) from lemlist API
lemlist + Python
 
Try it
New Activity (Instant) from the lemlist API

Emit new event for each new activity. See docs here

 
Try it
New Unsubscribed Recipient (Instant) from the lemlist API

Emit new event when a recipient unsubscribes. See docs here

 
Try it
Add Email In Unsubscribes with the lemlist API

This action adds a lead in the unsubscribed list. See the 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 Lead To A Campaign with the lemlist API

This action adds a lead in a specific campaign. If the lead doesn't exist, it'll be created, then inserted to the campaign. The creator of the lead is the campaign's sender See the docs here

 
Try it
Delete An Email From Unsubscribes with the lemlist API

This action deletes a lead in the unsubscribed list. See the docs here

 
Try it
Delete Lead From Campaign with the lemlist API

This action deletes a lead from a specific campaign. All information, including statistics, will be deleted. See the docs here

 
Try it

Connect lemlist

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: {
    lemlist: {
      type: "app",
      app: "lemlist",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.lemlist.com/api/team`,
      auth: {
        username: ``,
        password: `${this.lemlist.$auth.api_key}`,
      },
    })
  },
})

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