CallFire is a communication platform powering businesses to market effectively by communicating smarter with text and phone.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS