with Nusii Proposals and ServiceNow?
The Nusii Proposals API enables users to automate and integrate their proposal workflow with other tools and services. With this API, you can create, send, and manage proposals, keep track of their status, and handle clients efficiently. Leveraging Pipedream's capabilities, you can construct workflows that respond to events in Nusii, like a new proposal acceptance, or trigger actions in Nusii based on activities in other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nusii_proposals: {
type: "app",
app: "nusii_proposals",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.nusii.com/api/v2/proposals`,
headers: {
"Authorization": `Token token=${this.nusii_proposals.$auth.api_token}`,
"User-Agent": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})
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}`,
},
})
},
})