View as Markdown
TeamGantt icon

TeamGantt ACTION

Create Task

Creates a new task within a specific project. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's TeamGantt account once, then configure and run Create 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-create-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    teamgantt: { authProvisionId: "apn_xxxxxxx" },
    projectId: "Project Id",
    parentGroupId: "Parent Group 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.

Create Task inputs
Property Type Description
projectId Project Id string
The project to create the task in.
Required Dynamic
parentGroupId Parent Group Id string
The parent group to nest the task in - defaults to the last group in the project.
Optional Dynamic
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
name Name string
The task name.
Required
type Type string
The type of the task to create.
Optional
startDate Start Date string
YYYY-MM-DD format.
Optional
endDate End Date string
YYYY-MM-DD format.
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
isStarred Is Starred boolean
Whether the task is flagged as starred or not.
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
teamgantt-create-task
Version
0.0.2
App
TeamGantt
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes