Workstack is an online project management system that makes team scheduling easy. Manage your projects, and stay on top of your task scheduling with the powerful Workstack team calendar.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
Workstack is a task and project management tool that helps teams organize their workloads efficiently. With its API, you can automate project and task creation, update timelines, and sync across multiple tools, ensuring your team stays on top of their deliverables. The Workstack API on Pipedream opens up possibilities to connect with hundreds of other apps, triggering actions in Workstack or vice versa, based on events from other tools, leading to a more integrated workflow and improved productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workstack: {
type: "app",
app: "workstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.workstack.io/api/team`,
headers: {
"Accept": `application/json`,
},
params: {
api_token: `${this.workstack.$auth.api_token}`,
},
})
},
})
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)
},
})