with TextIt and Voicemaker?
TextIt is an API that specializes in automating SMS, voice, and social messaging workflows. By leveraging Pipedream's integration capabilities, the TextIt API can be used to create powerful communication automations that respond in real-time to incoming messages, dispatch notifications, and interact with users. With Pipedream, these automations can be connected to a plethora of services to enhance CRM systems, facilitate survey collection, or streamline event-driven notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textit: {
type: "app",
app: "textit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://textit.in/api/v2/org.json`,
headers: {
"Authorization": `Token ${this.textit.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
voicemaker: {
type: "app",
app: "voicemaker",
}
},
async run({steps, $}) {
const data = {"language": "en-US" }
return await axios($, {
method: "post",
url: `https://developer.voicemaker.in/voice/list`,
headers: {
Authorization: `Bearer ${this.voicemaker.$auth.api_key}`,
"content-type": `application/json`,
},
data,
})
},
})