Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
流程模板配置 → 新增流程模板
AI-generatedOverview
This node operation allows users to create a new workflow template within a specified project space in Feishu. It supports specifying the project space, work item type, template name, and optionally copying from an existing template ID. It is useful for automating the creation and configuration of workflow templates in project management scenarios, enabling streamlined process setup and replication of existing templates.
Use Case Examples
- Creating a new workflow template in a project space by specifying the project key, work item type, and template name.
- Duplicating an existing workflow template by providing the copy template ID to create a new template based on it.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space where the workflow template will be created. Can be selected from a list or entered manually as a project key. |
| 工作项类型 Name or ID | The work item type within the selected project space. This is required to define the type of work item the workflow template applies to. The list is dynamically loaded based on the selected space. |
| 模板名称 | The name of the workflow template to be created. |
| 复制模板ID | Optional ID of an existing template to copy from. If provided, the new template will be created based on this template. Default is 0, meaning no copy. |
| Options | Additional options including batching settings for concurrent requests and timeout settings for server response wait time. |
Output
JSON
error- Error message if the operation fails.details- Additional error details if available.template_id- The ID of the newly created workflow template.template_name- The name of the newly created workflow template.version- The version number of the newly created workflow template.
Dependencies
- Feishu API with appropriate credentials for project and workflow management
Troubleshooting
- Ensure the project_key and work_item_type_key are correctly selected or input; missing or incorrect values will cause errors.
- If copying a template, verify the copy_template_id exists and is accessible.
- Timeout errors may occur if the server response takes longer than the specified timeout; adjust the timeout option accordingly.
- Errors related to API authentication or permissions will prevent template creation; verify API credentials are correctly configured.
Links
- 获取空间下工作项类型 - Documentation on how to get work item types under a project space in Feishu.