with TrackingTime and ServiceNow?
The TrackingTime API enables the automation of time tracking, task management, and reporting processes. In Pipedream, you can use this API to create powerful workflows that connect TrackingTime with other apps to streamline productivity, enhance project management, and generate insights on time allocation. Automate tasks based on project activities, sync time entries with calendars, or trigger notifications based on tracked time data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trackingtime: {
type: "app",
app: "trackingtime",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.trackingtime.co/api/v4/users`,
auth: {
username: `API_TOKEN`,
password: `${this.trackingtime.$auth.app_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}`,
},
})
},
})