with FinerWorks and ServiceNow?
FinerWorks is an online platform that allows users to print and drop ship fine art prints and other related products. With the FinerWorks API, you can automate the process of creating orders, managing items, and integrating print-on-demand services into your business. When used in Pipedream, it unlocks possibilities for streamlining how orders are processed, integrating with other services like payment gateways or customer relationship management systems, and automating notifications for order updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finerworks: {
type: "app",
app: "finerworks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finerworks.com/v3/list_order_status_definitions`,
headers: {
"web_api_key": `${this.finerworks.$auth.web_api_key}`,
"app_key": `${this.finerworks.$auth.app_key}`,
},
})
},
})
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}`,
},
})
},
})