Build apps that talk fax. Send and receive fax through our advanced, best-in-class API.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Phaxio API turns the cumbersome fax communication into a streamlined digital process. By leveraging Phaxio with Pipedream, you can automate sending and receiving faxes, manage fax statuses, and integrate fax capabilities into your existing digital workflows without dealing with traditional fax machines. This can be particularly useful for industries like healthcare, legal, or finance where faxing documents is still prevalent.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
phaxio: {
type: "app",
app: "phaxio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.phaxio.com/v2.1/account/status`,
auth: {
username: `${this.phaxio.$auth.api_key}`,
password: `${this.phaxio.$auth.api_secret}`,
},
})
},
})
# $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