with Belco and Elevio?
Emit new event any time a new article is created. See the documentation
Emit new event each time new feedback is submitted by a user via the elevio widget. See the documentation
Emit new conversation event when a new conversation is created. See the documentation
Add a note to a conversation specified by ID. See the documentation
Creates a new article in the Elevio knowledge base. See the documentation
Deletes an existing article from the Elevio knowledge base. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
belco: {
type: "app",
app: "belco",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.belco.io/v1/users`,
headers: {
Authorization: `Bearer ${this.belco.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elevio: {
type: "app",
app: "elevio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.elev.io/v1/articles`,
headers: {
Authorization: `Bearer ${this.elevio.$auth.api_token}`,
"x-api-key": `${this.elevio.$auth.api_key}`,
},
})
},
})