with Timing and ServiceNow?
Generates a new time entry in Timing app. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
Updates the specified record with the name-value pairs included in the request body.
The Timing app provides detailed time tracking capabilities, enabling users to automatically log time spent on various tasks and improve productivity. Using Pipedream’s integration, one could build workflows that trigger when new time entries are created, sync time data with other project management tools, or compile reports for invoicing and accountability. It's all about harnessing the power of automated time tracking to streamline processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
timing: {
type: "app",
app: "timing",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://web.timingapp.com/api/v1/projects`,
headers: {
Authorization: `Bearer ${this.timing.$auth.api_key}`,
"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}`,
},
})
},
})