with Botpress and Nextdoor Ads?
Emit new event from bot is created. See the documentation
Adds a participant to a conversation. See the documentation
Creates an ad based on the input payload for an existing NAM ad group. See the documentation
Creates an ad group based on the input payload for an existing campaign. See the documentation
Creates an advertiser that is tied to the NAM profile the API credentials are tied to. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextdoor: {
type: "app",
app: "nextdoor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ads.nextdoor.com/v2/api/me`,
headers: {
Authorization: `Bearer ${this.nextdoor.$auth.authorization_token}`,
},
})
},
})