View as Markdown
TeamGantt icon

TeamGantt ACTION

Update Task

Updates a specific task. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's TeamGantt account once, then configure and run Update Task 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: "teamgantt-update-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    teamgantt: { authProvisionId: "apn_xxxxxxx" },
    taskId: "Task Id",
    name: "Name",
  },
})

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.

Update Task inputs
Property Type Description
taskId Task Id string
The id of the task to update.
Required Dynamic
name Name string
The task name.
Optional
percentComplete Percent Complete integer
Update the progress of the task. (100 = completed).
Optional
estimatedHours Estimated Hours integer
The number of hours this task should take to complete.
Optional
startDate Start Date string
YYYY-MM-DD format.
Optional
endDate End Date string
YYYY-MM-DD format.
Optional
days Days integer
The duration of the task (only positive integers). Ignored if start_date and end_date are empty.
Optional
color Color string
The color code of the task.
Optional
sort Sort string
The order of the task - defaults to end of the parent group.
Optional
type Type string
The type of the task to create.
Optional
isStarred Is Starred boolean
Whether the task is flagged as starred or not.
Optional
parentGroupId Parent Group Id string
The parent group to nest the task in - defaults to the last group in the project.
Optional Dynamic

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
teamgantt-update-task
Version
0.0.2
App
TeamGantt
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes