Enterprise Results Platform
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Workboard API enables you to interact with Workboard's platform programmatically, allowing for the automation of tasks related to goal setting, action item tracking, and performance metrics. By deploying workflows on Pipedream, you can connect Workboard to a multitude of other apps, triggering actions and exchanging data to streamline your organization's operations and decision-making processes. A well-integrated system can save time, reduce errors, and provide real-time insights into team performance and project progress.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workboard: {
type: "app",
app: "workboard",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.myworkboard.com/wb/apis/user/`,
headers: {
Authorization: `Bearer ${this.workboard.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})