Lifecycle automations to keep and convert your customers.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The CrowdPower API allows you to automate and streamline customer engagement by creating personalized campaigns and actions based on user behavior. By integrating with Pipedream, you can leverage its serverless platform to connect CrowdPower with hundreds of other apps and services, building workflows that respond to events in real-time. This can optimize how you target customers, manage campaigns, and analyze customer data without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
crowdpower: {
type: "app",
app: "crowdpower",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.crowdpower.$auth.api_name}.crowdpower.io/v1/projects/63d2e2aab9f2884e7e06f3f9`,
headers: {
"Authorization": `Bearer ${this.crowdpower.$auth.application_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)
},
})