with PhoneBurner and Email?
Get a unique address where you can send emails to trigger your workflow.
The PhoneBurner API provides programmatic access to call center functionality, allowing you to manage contacts, handle dial sessions, and interact with call logs. With Pipedream, you can automate workflows that respond to events in PhoneBurner or orchestrate PhoneBurner actions based on triggers from other apps. This melds the power of cloud telephony with broad integration possibilities, unlocking productivity gains and streamlined operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
phoneburner: {
type: "app",
app: "phoneburner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.phoneburner.com/rest/1/members/`,
headers: {
Authorization: `Bearer ${this.phoneburner.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});