飞书项目 icon

飞书项目

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

Actions75

流程与节点 → 获取工作流详情

AI-generated

Overview

This node operation fetches detailed information about a specific workflow instance within a selected project space in Feishu Project. It is useful for users who need to retrieve comprehensive workflow data, including workflow relations, multi-text fields, user details, and sub-task parent information, for project management or automation purposes. For example, a project manager can use this node to get the current status and details of a workflow item to monitor progress or trigger further actions in an automation workflow.

Use Case Examples

  1. Retrieve detailed workflow information for a given work item ID in a specified project space to monitor task progress.
  2. Fetch expanded workflow details including related fields and user information for reporting or integration with other systems.

Properties

Name Meaning
空间 The project space to select, either from a list or by manually entering the project_key. This determines the scope of the workflow data to query.
工作项类型 Name or ID The type of work item within the selected project space. This is required to specify the category of the workflow item to query.
工作项ID The unique identifier of the work item instance whose workflow details are to be retrieved.
请求体参数 The JSON formatted request body parameters that define which fields and expanded details to include in the workflow query. This allows customization of the data returned.
Options Additional options such as batching parameters for concurrent requests and timeout settings for the API call.

Output

JSON

  • error - Error message if the API call or workflow query fails.
  • details - Detailed error information if available.
  • data - The JSON object containing the workflow details retrieved from the Feishu Project API.

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • Common issues include invalid or missing project_key, work_item_type_key, or work_item_id leading to failed API calls.
  • Timeout errors may occur if the server response is delayed beyond the specified timeout setting; increasing the timeout or checking network connectivity can help.
  • Errors related to permissions or API limits may require verifying the API credentials and access rights.

Links

Discussion