Tyme icon

Tyme

Track time, manage projects and tasks in Tyme

Actions26

Project Category → Update

AI-generated

Summary

Updates an existing Tyme project category by ID, sending only the fields you set (name, color, completed date) to the Tyme API and returning the API's response.

Inputs

  • Category ID (required) — ID of the project category to update.
  • Update Fields — Collection of optional fields to change: Name (string), Color (number, integer color value), and Completed Date (date/time). Only fields you add are sent. The completed date is converted to Tyme's 'YYYY-MM-DD HH:mm:ss' format (UTC).

Output shape

One item per input item, containing the JSON response from Tyme's update_entity endpoint (the updated category).

The request is a POST to /data/update_entity with type 'ProjectCategory', the id, and the chosen fields. The exact response fields aren't defined in the node. With 'Continue On Fail' enabled, failed items return {error: message} instead of stopping the workflow.

Examples

Example 1: Rename a category and change its color

Category ID = 'cat-123'; Update Fields: Name = 'Internal', Color = 16750848 (0xFF9900).

Example 2: Mark a category as completed

Category ID from a previous Search step via expression; Update Fields: Completed Date = {{$now}}.

Links

Discussion