CallFire is a communication platform powering businesses to market effectively by communicating smarter with text and phone.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
The CallFire API offers a suite of telephony functions that allows users to send voice messages, text messages, and make calls to lists of contacts for various purposes like marketing campaigns, alerts, reminders, and polls. When integrated with Pipedream, you can automate interactions with your CallFire account, programmatically managing calls, texts, contacts, and creating custom, serverless workflows that respond to events in real-time without the need to manage infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
call_fire: {
type: "app",
app: "call_fire",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.callfire.com/v2/me/account`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.call_fire.$auth.api_login}`,
password: `${this.call_fire.$auth.api_password}`,
},
})
},
})
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)
},
})