with Freshchat and SlickText?
Emit new event when a new conversation is started for a user. See the documentation
Emit new event when a new message is received in a conversation. See the documentation
Fetches details for a specific conversation. See the documentation
Add a new contact to your messaging list. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshchat: {
type: "app",
app: "freshchat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshchat.$auth.chat_url}/accounts/configuration`,
headers: {
Authorization: `Bearer ${this.freshchat.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})