with Vext and ServiceNow?
The Vext API lets you automate interactions with the Vext application, which is designed for versatile text transformations, parsing, and encoding. On Pipedream, you can craft serverless workflows that utilize Vext API to process and manipulate text data on-the-fly, without the need for manual intervention. Imagine automating complex text parsing tasks, encoding/decoding data in various formats, or even integrating with other services to enhance data processing pipelines.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vext: {
type: "app",
app: "vext",
}
},
async run({steps, $}) {
const data = {
"payload": `Hello`,
}
return await axios($, {
method: "post",
url: `https://payload.vextapp.com/hook/${this.vext.$auth.endpoint_id}/catch/123`,
headers: {
"Content-Type": `application/json`,
"Apikey": `Api-key ${this.vext.$auth.api_key}`,
},
data,
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})