with Dixa and Chatfuel (Dashboard API)?
Emit new event when a conversation is created in Dixa. See the documentation
Emit new events when the status of a conversation changes (e.g., open, closed, or abandoned). See the documentation
Emit new event when a customer submits a satisfaction rating for a conversation. See the documentation
Emit new event when a new message is added to a conversation. See the documentation
Emit new event when a tag is added to a conversation. See the documentation
Adds a message to an existing conversation. See the documentation
Creates a new email or contact form-based conversation. See the documentation
Updates custom attributes for a specified user. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dixa: {
type: "app",
app: "dixa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev.dixa.io/v1/agents`,
headers: {
"authorization": `${this.dixa.$auth.api_key}`,
},
})
},
})
Chatfuel’s Dashboard API opens a realm of possibilities for automating and streamlining chatbot interactions and management. With this API, you can programmatically update content, retrieve analytics, manage users, and automate messaging. This empowers you to dynamically adjust chat flows based on user behavior or external triggers, analyze user interactions for insights, and personalize the chat experience at scale.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chatfuel_dashboard_api_: {
type: "app",
app: "chatfuel_dashboard_api_",
}
},
async run({steps, $}) {
const data = {
"title": `YOUR_BOT_TITLE`,
}
return await axios($, {
method: "post",
url: `https://dashboard.chatfuel.com/api/bots`,
headers: {
Authorization: `Bearer ${this.chatfuel_dashboard_api_.$auth.api_token}`,
},
data,
})
},
})