100% Free Time Tracking Software
Adds member(s) to a project in Clockify. See the documentation
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
Adds a task to a project in Clockify. See the documentation
Clockify is a time tracking and timesheet app that provides a straightforward way to track work hours across projects. With the Clockify API on Pipedream, you can automate time tracking, create detailed reports, manage projects, and sync timesheet data with other apps. Using Pipedream, you can create workflows that trigger on events in Clockify or other apps, process the data, and perform actions like logging time automatically, sending notifications, or creating invoices based on tracked time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clockify: {
type: "app",
app: "clockify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.clockify.me/api/v1/user`,
headers: {
"X-Api-Key": `${this.clockify.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS