with Mailercloud and Delay?
Adds a new contact to a selected list in the user's Mailercloud account. See the documentation
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
Creates a new list in the user's Mailercloud account. See the documentation
Update an existing contact in the user's Mailercloud account. See the documentation
Mailercloud API opens the door to robust email marketing and automation possibilities. Within Pipedream's serverless environment, you can leverage this API to create, send, and track email campaigns, manage subscriber lists, and analyze performance metrics. It fits seamlessly into workflows that require communication with customers or internal teams, growing and nurturing leads, or automating email-based tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailercloud: {
type: "app",
app: "mailercloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cloudapi.mailercloud.com/v1/client/plan`,
headers: {
"Authorization": `${this.mailercloud.$auth.api_key}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})