with Datarobot and ServiceNow?
DataRobot offers an AI platform that empowers users to build and deploy predictive models. Through its API, you can manage datasets, kick off model training, retrieve predictive scores, and integrate machine learning insights into your business processes. With Pipedream, you can create serverless workflows that leverage DataRobot's capabilities, enabling a powerful synergy between machine learning and everyday business automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datarobot: {
type: "app",
app: "datarobot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.datarobot.com/api/v2/projects/`,
headers: {
Authorization: `Bearer ${this.datarobot.$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}`,
},
})
},
})