Workstack is an online project management system that makes team scheduling easy. Manage your projects, and stay on top of your task scheduling with the powerful Workstack team calendar.
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.
Workstack is a task and project management tool that helps teams organize their workloads efficiently. With its API, you can automate project and task creation, update timelines, and sync across multiple tools, ensuring your team stays on top of their deliverables. The Workstack API on Pipedream opens up possibilities to connect with hundreds of other apps, triggering actions in Workstack or vice versa, based on events from other tools, leading to a more integrated workflow and improved productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workstack: {
type: "app",
app: "workstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.workstack.io/api/team`,
headers: {
"Accept": `application/json`,
},
params: {
api_token: `${this.workstack.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})