Fast, easy, accurate security reviews
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Conveyor API facilitates automated management of continuous delivery for your applications, allowing you to build, test, and deploy code with ease. By leveraging Pipedream's integration capabilities, you can connect the Conveyor API with a multitude of apps to streamline your CI/CD pipeline, automate deployment tasks, and synchronize your development workflow with other services such as version control, project management, and notification systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
conveyor: {
type: "app",
app: "conveyor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.conveyor.com/api/v2/exchange/authorization_requests`,
headers: {
"X-API-KEY": `${this.conveyor.$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)
},
})