Pilvio is a fully automated, API first cloud platform.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Pilvio API is a powerful tool that allows users to manage virtual phone systems. With it, you can create and manage phone numbers, handle inbound and outbound calls, send and receive SMS messages, and implement IVR (Interactive Voice Response) systems. When combined with Pipedream's capabilities, the Pilvio API can automate various aspects of communication workflows, effectively integrating telephony features into your business processes or applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pilvio: {
type: "app",
app: "pilvio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pilw.io/v1/user-resource/user`,
headers: {
"apikey": `${this.pilvio.$auth.api_token}`,
},
})
},
})
# $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