with Textline and Mobile Text Alerts?
Create or update a contact in the Textline address book. See the documentation
Send an announcement to a group of contacts. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textline: {
type: "app",
app: "textline",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://application.textline.com/api/users.json`,
headers: {
"x-tgp-access-token": `${this.textline.$auth.access_token}`,
},
})
},
})
The Mobile Text Alerts API allows for the automation of SMS messaging processes, enabling you to send alerts, reminders, and notifications directly to people's phones. With Pipedream's serverless platform, you can integrate these text messaging capabilities into complex workflows with various triggers and actions from a multitude of services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mobile_text_alerts: {
type: "app",
app: "mobile_text_alerts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mobile-text-alerts.com/v3/subscribers`,
headers: {
Authorization: `Bearer ${this.mobile_text_alerts.$auth.api_key}`,
},
})
},
})