with Codat and ServiceNow?
Emit new event when a specified event type is produced by Codat. See the documentation
The Codat API provides a way to seamlessly integrate and automate financial data processes for businesses. With Codat, you can connect to accounting software, extract company financials, and reconcile transactions in real-time. Whether it's for pulling recent invoices, syncing payment information, or consolidating financial reports, Codat's API acts as a bridge between various accounting platforms and your applications, enabling more efficient financial operations and decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
codat: {
type: "app",
app: "codat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.codat.io/profile`,
headers: {
"Authorization": `${this.codat.$auth.authorization_header}`,
"Accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})