Overview
The node integrates with Dida365, a task and project management application. Specifically, the Project - Update operation allows users to modify existing projects by updating their properties such as name, view mode, kind, and color.
This operation is useful when you want to programmatically change project details without manually editing them in the Dida365 interface. For example, you might update a project's color to reflect its priority or switch its view mode from list to kanban based on team preferences.
Properties
| Name | Meaning |
|---|---|
| JSON Parameters | Whether to provide additional fields as a raw JSON object (true) or through structured UI fields (false). |
| Project Name or ID | The identifier of the project to update. Can be selected from a list or specified via an expression. |
| Additional Fields | When JSON Parameters is false, a collection of optional fields to update: |
| - Project Name | New name for the project. |
| - View Mode | Display mode of the project; options are: List, Kanban, Timeline. |
| - Kind | Type of project content; options are: Task, Note. |
| - Color | Hex color code representing the project's color (e.g., "#F18181"). |
| Additional Fields (JSON) | When JSON Parameters is true, a JSON object containing any fields to update, including optionally the projectId. |
Output
The output is a JSON array containing the response from the Dida365 API after the update request. This typically includes the updated project data reflecting the changes made.
No binary data is output by this node.
Dependencies
- Requires an active connection to the Dida365 API.
- Requires an OAuth2 API credential configured in n8n for authentication.
- Uses internal helper functions to load project options dynamically.
Troubleshooting
- Missing Project ID: If no project ID is provided either directly or within the JSON input, the node throws an error stating "Project ID is required" or "Project ID must be provided within the JSON input." Ensure the project ID is correctly set.
- Invalid JSON Input: When using JSON parameters, malformed JSON will cause an error like "Invalid JSON input: [error message]." Validate your JSON syntax before running.
- Unknown Operation: If an unsupported operation is specified, the node will throw an error indicating the operation is not known.
- API Errors: Any errors returned by the Dida365 API (e.g., authentication failures, invalid field values) will propagate as node execution errors. Check credentials and field values accordingly.