Build and scale LLM-powered workflows and chat assistants using AirOps Studio.
Run a workflow of an app. See the sync documentation or async documentation
Retrieves the record identified by the specified sys_id from the specified table.
Updates the specified record with the name-value pairs included in the request body.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airops: {
type: "app",
app: "airops",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.airops.com/public_api/airops_apps/executions`,
headers: {
Authorization: `Bearer ${this.airops.$auth.workspace_api_key}`,
"accept": `application/json`,
},
})
},
})
The ServiceNow API enables developers to tap into the robust capabilities of ServiceNow's IT service management platform. With the API, you can create, read, update, and delete records, manage workflows, and integrate with other services. By leveraging these capabilities, you can automate routine tasks, sync data across multiple platforms, and enhance 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}`,
},
})
},
})