with MobileMonkey and Gloria AI?
The MobileMonkey API allows you to automate interactions with your MobileMonkey-powered chatbots. By leveraging this API on Pipedream, you can orchestrate complex workflows that react to events in MobileMonkey, send messages, update contacts, and more, thus enriching your chatbot's capabilities with Pipedream's robust integration platform. You can trigger workflows on Pipedream using webhooks, schedules, or other app events, and incorporate logic to interact with a wide range of services to enhance customer engagement, streamline processes, and gather insights from chatbot interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mobilemonkey: {
type: "app",
app: "mobilemonkey",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mobilemonkey.com/public/promoters`,
headers: {
Authorization: `Bearer ${this.mobilemonkey.$auth.api_key}`,
},
params: {
kind: `send_to_messenger`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gloria_ai: {
type: "app",
app: "gloria_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.iamgloria.com/api/v1/contact`,
headers: {
Authorization: `Bearer ${this.gloria_ai.$auth.api_key}`,
"tenant-id": `${this.gloria_ai.$auth.tenant_id}`,
},
data,
})
},
})