with Laposta and Data Stores?
Emit new event on each created relation. See docs here (Go to Add webhook
)
Emit new event on each deleted relation. See docs here (Go to Add webhook
)
Emit new event on each updated relation. See docs here (Go to Add webhook
)
Add or update a single record in your Pipedream Data Store
Add or update multiple records to your Pipedream Data Store
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
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.
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: ``,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})