with Botpress and Membervault?
Emit new event from bot is created. See the documentation
Adds a participant to a conversation. See the documentation
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}`,
},
})
},
})
MemberVault offers an innovative approach to engaging and understanding your audience through interactive content. With the MemberVault API, you can automate the management of users, products, and engagement data, ensuring seamless integration with your marketing and customer service tools. This capability opens up a world of possibilities for personalized interactions, targeted campaigns, and streamlined content delivery based on user behavior and preferences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
membervault: {
type: "app",
app: "membervault",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.membervault.$auth.subdomain}.vipmembervault.com/api/get_courses`,
params: {
apikey: `${this.membervault.$auth.api_key}`,
},
})
},
})