with Honeybadger and ServiceNow?
The Honeybadger API lets you tap into a real-time error tracking and monitoring service designed for web developers. It provides hooks to get notified about errors, track deployments, and manage error occurrences in your apps. With Pipedream, you can harness this API to automate responses to errors, synchronize error data across systems, and create customized alerts that feed into your team's communication channels or task management tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
honeybadger: {
type: "app",
app: "honeybadger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.honeybadger.io/v2/projects`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.honeybadger.$auth.api_token}`,
password: ``,
},
})
},
})
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}`,
},
})
},
})