with Botbaba and ServiceNow?
Botbaba is a powerful chatbot platform that enables the creation of interactive chatbots for various purposes, from customer support to lead generation. With the Botbaba API, you can extend the capabilities of your bots by integrating them with a myriad of services and automations via Pipedream. This connection allows you to trigger workflows from chatbot interactions, synchronize data with CRMs, send notifications, process orders, and more, effectively turning chat conversations into actionable business insights and tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
botbaba: {
type: "app",
app: "botbaba",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.botbaba.io/api/GetBots`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.botbaba.$auth.api_key}`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})