Laposta

Dutch newsletter app (email marketing) that makes it exceptionally easy to send professional newsletters.

Integrate the Laposta API with the Python API

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

Run Python Code with Python API on New Relation Created (Instant) from Laposta API
Laposta + Python
 
Try it
Run Python Code with Python API on New Relation Deleted (Instant) from Laposta API
Laposta + Python
 
Try it
Run Python Code with Python API on New Relation Updated (Instant) from Laposta API
Laposta + Python
 
Try it
New Relation Created (Instant) from the Laposta API

Emit new event on each created relation. See docs here (Go to Add webhook)

 
Try it
New Relation Deleted (Instant) from the Laposta API

Emit new event on each deleted relation. See docs here (Go to Add webhook)

 
Try it
New Relation Updated (Instant) from the Laposta API

Emit new event on each updated relation. See docs here (Go to Add webhook)

 
Try it
Create Relation with the Laposta API
 
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
Delete Relation with the Laposta API
 
Try it
Update Relation with the Laposta API
 
Try it

Overview of Laposta

Laposta is a robust email marketing tool, empowering users to build, send, and analyze email campaigns with ease. Leveraging the Laposta API on Pipedream, you can automate email list management, subscriber data synchronization, and campaign performance tracking. The API enables developers to create dynamic, serverless workflows that react to events across various apps, enrich contact information, or even trigger custom email sequences based on user behavior or other external cues.

Connect Laposta

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

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