with Bridge and Delay?
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The Bridge API by Dandelion provides text analysis through natural language processing, enabling you to extract meaning, categorize content, and understand sentiments in large volumes of text. Integrating Bridge with Pipedream opens a realm of possibilities for automating content analysis across various apps, aiding in decision making, content organization, and customer feedback analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bridge: {
type: "app",
app: "bridge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bridgeapi.io/v2/banks`,
headers: {
"Client-Id": `${this.bridge.$auth.client_id}`,
"Client-Secret": `${this.bridge.$auth.client_secret}`,
"Bridge-Version": `2021-06-01`,
},
})
},
})
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)
},
})