More Customers, Less Support. Reduce Customer Effort with 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.
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: {
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})