with Visitor Queue and Sendbird AI chabot?
Sends a bot message to a group channel. See the documentation
The Visitor Queue API lets you track and identify businesses that visit your website, providing valuable data for lead generation and marketing analytics. By leveraging this API on Pipedream, you can automate tasks such as scoring leads, syncing data with CRM systems, and engaging with potential customers through targeted outreach. The ability to connect with hundreds of apps on Pipedream allows for powerful, automated workflows that can enrich your sales pipeline and optimize your marketing strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
visitor_queue: {
type: "app",
app: "visitor_queue",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.visitorqueue.com/api/v1/ga_views`,
headers: {
"Authorization": `Token ${this.visitor_queue.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})