飞书项目 icon

飞书项目

飞书项目管理 API 集成,支持工作项、空间、用户、工作流等完整功能

Actions75

工作项实例读写 → 删除工作项

AI-generated

Overview

This node operation deletes a work item instance within a specified project space in Feishu Project. It is useful for automating the removal of specific work items by their ID, which can help maintain project data cleanliness or manage workflow states programmatically. For example, it can be used to delete completed or obsolete tasks automatically based on certain triggers.

Use Case Examples

  1. Automatically delete a work item instance when a related task is marked as completed in another system.
  2. Batch delete multiple work item instances based on a condition or schedule.

Properties

Name Meaning
空间 The project space where the work item instance exists. It can be selected from a list or entered manually as a project key.
工作项类型 Name or ID The type of work item within the selected project space. This is required to specify the category of the work item to delete.
工作项ID The unique identifier of the work item instance to delete. This ID is obtained from the work item instance details.
Options Additional options for the delete operation, including batching and timeout settings.

Output

JSON

  • error - Error message if the deletion operation fails.
  • details - Additional error details if available.

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • If the project space or work item type is not selected or invalid, the node will throw an error prompting to select the space first.
  • If the work item ID is incorrect or the item does not exist, the deletion will fail with an error message.
  • Batching options must be configured correctly; otherwise, the node may not process items in batches as expected.
  • Timeout settings should be adjusted based on network conditions to avoid premature request abortion.

Links

Discussion