with Aroflo and ServiceNow?
Aroflo's API offers the power to streamline operations by automating tasks and integrating with a wide variety of systems. Through Pipedream, you can leverage this to synchronize data across platforms, trigger workflows based on specific events, and manipulate Aroflo data in real-time. Whether updating project statuses, managing assets, or automating invoicing and reporting, Pipedream's serverless platform can facilitate a seamless link between Aroflo and other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aroflo: {
type: "app",
app: "aroflo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.aroflo.com/`,
headers: {
"Accept": `text/json`,
"Authentication": `HMAC ${this.aroflo.$auth.hmac_key}`,
},
params: {
where: `and|archived|=|false`,
zone: `users`,
page: `1`,
},
})
},
})
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}`,
},
})
},
})