飞书项目 icon

飞书项目

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

Actions75

流程模板配置 → 删除流程模板

AI-generated

Overview

This node operation deletes a workflow template in a specified project space. It is useful for managing and cleaning up workflow templates within a project by removing templates that are no longer needed or relevant. For example, a user can select a project space and specify the unique template ID to delete that particular workflow template.

Use Case Examples

  1. Delete a workflow template by selecting the project space and providing the template ID to remove outdated or unused templates.
  2. Automate the cleanup of workflow templates in a project by batch deleting templates based on certain criteria.

Properties

Name Meaning
空间 Select the project space either from a list or by manually entering the project_key. This determines the scope where the workflow template exists.
模板ID The unique identifier of the workflow template to be deleted.
Options Additional options for the delete operation, including batching and timeout settings.

Output

JSON

  • error - Error message if the delete operation fails.
  • details - Detailed error information if available.

Dependencies

  • Requires an API key credential for authentication to the Feishu Project API.

Troubleshooting

  • Ensure the project_key and template_id are correctly specified; incorrect values will cause the delete operation to fail.
  • If batching is enabled, verify that batchSize and batchInterval are set appropriately to avoid request overload or timeout.
  • Timeout errors may occur if the server takes too long to respond; adjust the timeout option accordingly.
  • Common error messages include 'NodeApiError' indicating API request failures, which may require checking API credentials or network connectivity.

Discussion