The ultimate shopping cart and affiliate management platform, empowering online Entrepreneurs and digital publishers.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The PayKickstart API enables you to automate your sales funnel and manage transactions, subscriptions, and customers in your PayKickstart account. With Pipedream, you can harness this capability to create custom workflows that react to events, synchronize data across platforms, or trigger actions based on customer behaviors. Whether you're looking to streamline your e-commerce operations or integrate PayKickstart into your broader tech stack, Pipedream makes it feasible without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paykickstart: {
type: "app",
app: "paykickstart",
}
},
async run({steps, $}) {
const data = {
"auth_token": `${this.paykickstart.$auth.api_key}`,
"campaign_id": `your_campaign_id_here`,
}
return await axios($, {
method: "post",
url: `https://app.paykickstart.com/api/affiliates/all`,
headers: {
"Content-Type": `application/json`,
},
params: {
auth_token: `${this.paykickstart.$auth.api_key}`,
},
data,
})
},
})
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)
},
})