with Hiveage and ServiceNow?
The Hiveage API empowers you to automate your invoicing and financial workflows directly within Pipedream. By leveraging this API, you can create, fetch, update, and manage invoices, clients, and payments programmatically. Imagine syncing invoice data with your CRM, triggering notifications upon receiving payments, or compiling financial reports without manual input. This seamless integration with Pipedream enables you to build custom workflows that streamline your billing cycle, enhance data consistency, and save you time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hiveage: {
type: "app",
app: "hiveage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.hiveage.$auth.subdomain}.hiveage.com/api/network`,
auth: {
username: `${this.hiveage.$auth.api_key}`,
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}`,
},
})
},
})