with Cyfe and ServiceNow?
The Cyfe API lets you automate and enhance your data visualization and business intelligence tasks. With Cyfe, you can programmatically create dashboards, add or update widgets, and manage data pushed to these widgets. By leveraging the Cyfe API on Pipedream, you gain serverless execution of workflows, allowing you to connect Cyfe with numerous other services and automate tasks without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cyfe: {
type: "app",
app: "cyfe",
}
},
async run({steps, $}) {
const data = {
"Date": `20130320`,
"Users": `3`,
}
return await axios($, {
method: "post",
url: `https://app.cyfe.com/api/push/{your_widget_id}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})