Actions106
- 日历 Actions
- 多维表格 Actions
- 知识库 Actions
- 通讯录 Actions
- 任务 Actions
- 电子表格 Actions
- 云空间 Actions
- 消息 Actions
- 云文档 Actions
Overview
This node, named "Feishu Node," is designed to interact with Feishu's API, specifically supporting operations related to managing knowledge spaces and their nodes. The particular operation "移动知识空间节点" (Move Knowledge Space Node) allows users to move a node from one knowledge space or parent node to another within Feishu's knowledge base system.
Common scenarios for this node include reorganizing documentation structures, migrating content between different knowledge spaces, or restructuring hierarchical nodes in a knowledge base to maintain clarity and relevance.
For example, if a team wants to consolidate related documents under a new parent topic or move a document node from one project space to another, this node facilitates that by specifying source and target identifiers.
Properties
| Name | Meaning |
|---|---|
| 源知识空间ID | The ID of the source knowledge space from which the node will be moved. |
| 需要迁移的节点Token | The token identifying the specific node that needs to be moved. |
| 目标父节点Token | The token of the target parent node where the node will be moved under (optional). |
| 目标知识空间ID | The ID of the target knowledge space to which the node will be moved (optional). |
Output
The node outputs an array of JSON objects representing the result of the move operation for each input item processed. Each output item contains metadata about the moved node, such as confirmation of success or details returned by the Feishu API.
If an error occurs during processing and the node is configured to continue on failure, the output will include an error object describing the issue for the corresponding item.
No binary data output is indicated in the code.
Dependencies
- Requires an API key credential for authenticating with Feishu's API.
- Depends on the external Feishu API service to perform knowledge space and node management operations.
- Uses a resource factory helper module to build and execute API calls based on the selected resource and operation.
- Requires proper configuration of credentials within n8n to access Feishu services.
Troubleshooting
Common Issues:
- Invalid or expired API credentials can cause authentication failures.
- Incorrect or missing IDs/tokens for source space, target space, or nodes may lead to errors indicating that the specified resource was not found.
- Network connectivity issues can prevent successful API calls.
Error Messages:
"未实现方法: wiki_spaces.wiki:spaces:node:move"indicates that the requested operation is not implemented or recognized; ensure the correct resource and operation names are used.- API errors returned from Feishu will be captured and can appear in the output if "continue on fail" is enabled.
Resolutions:
- Verify all input parameters are correctly set and correspond to existing resources in Feishu.
- Confirm that the API key credential has sufficient permissions.
- Check network connectivity and retry if transient errors occur.
Links and References
- Feishu Developer Documentation
- n8n Documentation on Creating Nodes
- Feishu Knowledge Base API Reference (for detailed API endpoints related to knowledge spaces)