with Chatfuel (Dashboard API) and Botcake?
Get a list of tools associated with the specified page. See the documentation
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,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
botcake: {
type: "app",
app: "botcake",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://botcake.io/api/public_api/v1/pages/${this.botcake.$auth.page_id}/keywords`,
headers: {
"access-token": `${this.botcake.$auth.api_key}`,
},
})
},
})