with YouCanBook.Me and Botpress?
Emit new event from bot is created. See the documentation
Adds a participant to a conversation. See the documentation
The YouCanBook.Me API allows for automating appointment scheduling by integrating with your calendar. It can trigger actions when new bookings are made, modified, or canceled. Building on Pipedream's platform enables developers to create robust workflows that can interact with other services. For example, you can confirm appointments, sync with other calendars, send custom emails, or update CRM records based on booking activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
youcanbook_me: {
type: "app",
app: "youcanbook_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.youcanbook.me/v1/${this.youcanbook_me.$auth.account_id}/profiles`,
auth: {
username: `${this.youcanbook_me.$auth.username}`,
password: `${this.youcanbook_me.$auth.api_key}`,
},
})
},
})
Botpress is a powerful, open-source chatbot platform that enables developers to create intelligent, conversational bots. With its natural language understanding (NLU) capabilities, users can design bots that can interpret human language and respond appropriately. Utilizing the Botpress API on Pipedream allows you to automate interactions, analyze chat data, and integrate with various other services to enhance the functionality of your bots.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
botpress: {
type: "app",
app: "botpress",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.botpress.cloud/v1/chat/users`,
headers: {
Authorization: `Bearer ${this.botpress.$auth.identity_token}`,
"Content-Type": `application/json`,
"x-bot-id": `${this.botpress.$auth.bot_id}`,
},
})
},
})