View as Markdown
Vitally icon

Vitally ACTION

Create Task

Create a new task. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Vitally 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: "vitally-create-task",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    vitally: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    accountId: "Account 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
name Name string
The name or subject of the task.
Required
accountId Account Id string
The Id of the Vitally Account to associate the task with.
Required Dynamic
externalId External Id string
The unique Id of the task on your system.
Optional
description Description string
The description of the task, may include HTML.
Optional
assignedToId Assigned To Id string
The Id of the Vitally Admin User who completed to the Task.
Optional Dynamic
completedById Completed By Id string
The Id of the Vitally Admin User who completed to the Task.
Optional Dynamic
dueDate Due Date string
The date when the Task is due. Format: YYYY-MM-DD.
Optional
completedAt Completed At string
The timestamp of when the Task was completed. Format: YYYY-MM-DDTHH:MM:mm:ss.SSSZ.
Optional
categoryId Category Id string
The Vitally ID of the Task Category.
Optional Dynamic
tags Tags string[]
An array of string tags to associate to the note.
Optional
traits Traits object
A key-value JSON object of custom note traits.
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
vitally-create-task
Version
0.0.3
App
Vitally
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes