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}`,
},
})
},
})
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
Updates an existing article in the Elevio knowledge base. See the documentation
Elevio uses API keys for authentication. When you connect your Elevio account, Pipedream securely stores the keys so you can easily authenticate to Elevio APIs in both code and no-code steps.
To generate your API key and your JWT (JSON Web "Token") go to the API Keys page of the Elevio dashboard.