import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendbird_ai_chabot: {
type: "app",
app: "sendbird_ai_chabot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-${this.sendbird_ai_chabot.$auth.application_id}.sendbird.com/v3/bots`,
headers: {
"Accept": `application/json`,
"Api-Token": `${this.sendbird_ai_chabot.$auth.api_token}`,
},
})
},
})
Emit new event when a new webhook event is received.
Sends a bot message to a group channel. See the documentation
Sendbird AI chabot uses API keys for authentication. When you connect your Sendbird AI chabot account, Pipedream securely stores the keys so you can easily authenticate to Sendbird AI chabot APIs in both code and no-code steps.