with Botcake and AI Chatbot Hub?
Get a list of tools associated with the specified page. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ai_chatbot_hub: {
type: "app",
app: "ai_chatbot_hub",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.aichatbothub.com/api/v1/chatbots`,
headers: {
Authorization: `Bearer ${this.ai_chatbot_hub.$auth.api_key}`,
},
})
},
})