Legal software
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Clio API offers a powerful way for law firms and legal professionals to automate and streamline their operations. By integrating with Pipedream, users can create custom workflows that leverage Clio's capabilities such as managing cases, tracking time, billing, and client communications. With Pipedream’s serverless platform, these automations can be triggered by a vast array of events and can connect Clio with other apps and services to enhance productivity and data consistency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clio: {
type: "app",
app: "clio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.clio.com/api/v4/users/who_am_i`,
headers: {
Authorization: `Bearer ${this.clio.$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)
},
})