with Keboola and ServiceNow?
Get detailed information about a specific bucket in Keboola. See the documentation
Get detailed information about a specific table. See the documentation
Creates a new incident record in ServiceNow. See the docs here
Lists all tables in a specified bucket. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
keboola: {
type: "app",
app: "keboola",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.keboola.$auth.stack_endpoint}/v2/storage/buckets`,
headers: {
"x-storageapi-token": `${this.keboola.$auth.api_token}`,
"content-type": `multipart/form-data`,
},
params: {
include: `include`,
},
})
},
})
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}`,
},
})
},
})