with Workboard and Delay?
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Workboard API enables you to interact with Workboard's platform programmatically, allowing for the automation of tasks related to goal setting, action item tracking, and performance metrics. By deploying workflows on Pipedream, you can connect Workboard to a multitude of other apps, triggering actions and exchanging data to streamline your organization's operations and decision-making processes. A well-integrated system can save time, reduce errors, and provide real-time insights into team performance and project progress.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workboard: {
type: "app",
app: "workboard",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.myworkboard.com/wb/apis/user/`,
headers: {
Authorization: `Bearer ${this.workboard.$auth.oauth_access_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)
},
})