Teamdeck is an employee-focused complete resource management solution for agencies and software houses. Schedule your teams, track their time and vacations in one tool
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
Teamdeck offers a versatile API that allows you to manage and automate aspects of resource management, like booking, time tracking, and reporting. With the Teamdeck API on Pipedream, you can create custom workflows to connect Teamdeck’s resource scheduling capabilities with other apps to streamline project management, automate timesheet collection, monitor team availability, and generate analytics. It's perfect for managers who want to optimize their team's productivity and for teams who aim to improve their operational workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teamdeck: {
type: "app",
app: "teamdeck",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.teamdeck.io/v1/bookings`,
headers: {
"X-Api-Key": `${this.teamdeck.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
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)
},
})