Overview
This node integrates with Dida365, a task and project management application. It allows users to perform various operations on projects and tasks within Dida365 directly from n8n workflows.
Specifically for the Project - Delete operation, the node deletes an existing project identified by its name or ID. This is useful in scenarios where you want to automate cleanup of projects that are no longer needed, or integrate project lifecycle management into broader automation workflows.
Practical example: Automatically delete a project in Dida365 when a related event occurs in another system, such as completion of a client engagement or archival of project data.
Properties
| Name | Meaning |
|---|---|
| Project Name or ID | Select a project from a dynamically loaded list or specify a project ID using an expression. |
The property uses a dynamic options loader (getProjects) to fetch available projects for selection, but also supports specifying the project ID manually via expressions.
Output
- The output JSON contains the response from the Dida365 API after attempting to delete the specified project.
- Typically, this will be an object indicating success or failure of the deletion request.
- No binary data output is produced by this operation.
Dependencies
- Requires an active connection to Dida365 via OAuth2 authentication (an API key credential).
- The node depends on the Dida365 API endpoints, specifically the DELETE
/open/v1/project/{projectId}endpoint. - The
getProjectsmethod is used to load project options dynamically.
Troubleshooting
Common issues:
- Providing an invalid or non-existent project ID will likely result in an error from the API.
- Missing or expired API credentials will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error messages:
"The operation "delete" is not known!"— indicates an unsupported operation was requested; ensure the operation is set correctly.- Errors related to missing project ID or invalid input will be thrown if the
projectIdparameter is empty or incorrect. - JSON parsing errors do not apply here since the delete operation does not require JSON input.
Resolutions:
- Verify the project ID or select a valid project from the dropdown.
- Ensure the OAuth2 credentials are configured and valid.
- Check network connectivity and API availability.
Links and References
- Dida365 Official Website
- n8n Expressions Documentation
- Dida365 API Documentation (assumed) (Note: actual API docs URL should be confirmed)