with SlickText and InsertChat?
Pushes a new message into an existing chat session in InsertChat. See the documentation
SlickText provides a platform to harness the power of text messaging for marketing and communication purposes. With its API, you can automate the sending of SMS messages, manage contacts, and track message performance directly through Pipedream. Pipedream's serverless execution model and vast connectivity with other apps make it an ideal environment to build complex messaging workflows, enriching communications with data from CRMs, customer support platforms, and marketing tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slicktext: {
type: "app",
app: "slicktext",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev.slicktext.com/v1/brands`,
headers: {
Authorization: `Bearer ${this.slicktext.$auth.public_api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
insertchat: {
type: "app",
app: "insertchat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.insertchat.com/v1/${this.insertchat.$auth.app_uid}/accounts`,
headers: {
Authorization: `Bearer ${this.insertchat.$auth.oauth_access_token}`,
},
})
},
})