Communications platform as a service
The 8x8 (Wavecell) API offers robust capabilities for voice and SMS messaging services, enabling you to engage customers through automated communications. Whether it's sending out timely notifications, verifying user identities with OTPs, or streamlining customer support processes, the API provides a versatile platform for enhancing your communication workflows. With Pipedream, you can harness this potential by crafting serverless integrations that trigger 8x8 actions based on events from countless other apps, or even custom logic.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wavecell: {
type: "app",
app: "wavecell",
}
},
async run({steps, $}) {
const data = {
"destination": ``,
"text": ``,
"source": ``,
}
return await axios($, {
method: "post",
url: `https://api.wavecell.com/sms/v1/${this.wavecell.$auth.subAccountId}/single`,
headers: {
Authorization: `Bearer ${this.wavecell.$auth.api_key}`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})