CallFire is a communication platform powering businesses to market effectively by communicating smarter with text and phone.
Convert an object to a JSON format string
Add or subtract time from a given input
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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 Pipedream Utils app is a set of pre-built functions that streamline common tasks in your workflows. It acts like a Swiss Army knife for developers, providing essential tools such as format conversion, date manipulation, and text processing. By leveraging these functions, you can reduce the boilerplate code needed for routine operations, speeding up the development of intricate automations. The Helper Functions API can be a game changer when it comes to tasks like parsing dates in user-friendly formats, encoding and decoding data, or generating UUIDs, making them more efficient and less error-prone.
export default defineComponent({
props: {
pipedream_utils: {
type: "app",
app: "pipedream_utils",
}
},
async run({steps, $}) {
},
})