with Cloudbeds and Chatbot Builder?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudbeds: {
type: "app",
app: "cloudbeds",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cloudbeds.com/api/v1.3/userinfo`,
headers: {
"x-api-key": `${this.cloudbeds.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
The Chatbot Builder API allows you to create and manage customized chatbots that can interact with users in real-time. Within Pipedream's serverless platform, this API can be harnessed to build powerful workflows that react to messages, automate responses, and integrate with a plethora of other services. With Pipedream, you can set up event-driven processes, making it easy to manage chatbot activities, analyze conversations, and trigger actions in other apps based on chatbot interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chatbot_builder: {
type: "app",
app: "chatbot_builder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.chatgptbuilder.io/api/accounts/me`,
headers: {
"X-ACCESS-TOKEN": `${this.chatbot_builder.$auth.api_access_token}`,
"Accept": `application/json`,
},
})
},
})