View as Markdown
TrackingTime icon

TrackingTime ACTION

Start Tracking Time

Start tracking time of a task. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's TrackingTime account once, then configure and run Start Tracking Time from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "trackingtime-start-tracking-time",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    trackingtime: { authProvisionId: "apn_xxxxxxx" },
    taskId: "Task ID",
    projectId: "Project ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Start Tracking Time inputs
Property Type Description
taskId Task ID string
The task ID
Required Dynamic
projectId Project ID string
The project ID
Optional Dynamic
date Date string
The event's start date. Format ISO 8601: yyyy-MM-dd HH:mm:ss like 2014-01-31 17:30:59
Optional
estimatedTime Estimated Time string
Set a new estimated time for this task
Optional
stopRunningTask Stop Running Task boolean
If set to true, any currently running task will be stopped before the new one is started.
Optional
returnTask Return Task boolean
If set to true, a task object is returned
Optional
tags Tags boolean
An array of tags to be added to the newly created time entry. E.g. [{"n":"name","c":"color","v":"value","t":"type"}]
Optional
timezone Timezone string
The user's timezone as GMT+3 or GMT+03:00
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
trackingtime-start-tracking-time
Version
0.0.3
App
TrackingTime
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes