with Robocorp and ServiceNow?
The Robocorp API allows you to automate complex business processes by leveraging the power of robotic process automation (RPA). With this API, you can manage and run bots that perform tasks ranging from simple data entry to intricate workflows involving various systems and data sources. Integrating the Robocorp API with Pipedream opens up possibilities for orchestrating these automation tasks based on triggers from a multitude of web applications and services, streamlining processes without the need for manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
robocorp: {
type: "app",
app: "robocorp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cloud.robocorp.com/api/v1/workspaces/${this.robocorp.$auth.workspace_id}/processes`,
headers: {
"Authorization": `RC-WSKEY ${this.robocorp.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})