with PushEngage and Octopush SMS?
Adds a new contact to a list in the Octopush SMS Gateway. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushengage: {
type: "app",
app: "pushengage",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.pushengage.com/apiv1/notifications`,
headers: {
"api-key": `${this.pushengage.$auth.api_key}`,
},
})
},
})
The Octopush SMS API lets you programmatically send text messages, providing a powerful way to reach out to customers directly on their phones. With Pipedream, you can create workflows that trigger SMS sending via Octopush based on various events, streamlining communication processes. You could use this API to send alerts, reminders, verification codes, or marketing messages, and integrate with other apps to respond to emails, form submissions, or updates in a CRM.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
octopush_sms: {
type: "app",
app: "octopush_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.octopush.com/v1/public/wallet/check-balance`,
headers: {
"Content-Type": `application/json`,
"api-login": `${this.octopush_sms.$auth.api_login}`,
"api-key": `${this.octopush_sms.$auth.api_key}`,
},
})
},
})