with ProcessPlan and ServiceNow?
ProcessPlan is a process management tool with an API that lets you automate and track workflows. On Pipedream, you can use this API to create intricate automations, which can involve triggering workflows in ProcessPlan, updating tasks, pulling data from process templates, or integrating with other services to streamline operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
processplan: {
type: "app",
app: "processplan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.processplan.$auth.regional_subdomain}.processplan.com/api/v4/user/me/personal_instance_task/list/pending/count`,
headers: {
"tkn_id": `${this.processplan.$auth.api_token}`,
},
})
},
})
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}`,
},
})
},
})