Actions106
- 日历 Actions
- 多维表格 Actions
- 知识库 Actions
- 通讯录 Actions
- 任务 Actions
- 电子表格 Actions
- 云空间 Actions
- 消息 Actions
- 云文档 Actions
Overview
This node integrates with a knowledge base system to manage members within knowledge spaces. Specifically, the "添加知识空间成员" (Add Knowledge Space Member) operation allows users to add new members or administrators to a specified knowledge space by providing their identity and role information.
Common scenarios for this node include:
- Automating the process of granting access to team members or groups in a collaborative knowledge base.
- Managing permissions dynamically based on organizational changes.
- Integrating with HR or directory services to synchronize membership automatically.
For example, you could use this node to add a user identified by their email as a member to a project’s knowledge space, or add an entire department as administrators to a space.
Properties
| Name | Meaning |
|---|---|
| 知识空间ID | The unique identifier of the knowledge space where the member will be added. |
| 成员类型 | The type of identity used to specify the member. Options: 群组ID (Group ID), 用户ID (User ID), 邮箱 (Email), 部门ID (Department ID), Open ID, Union ID. |
| 成员ID | The identifier value of the member, corresponding to the selected 成员类型. |
| 角色 | The role assigned to the member in the knowledge space. Options: 管理员 (Administrator), 成员 (Member). |
| 是否通知 | Boolean flag indicating whether to notify the member upon addition. Defaults to false. |
Output
The node outputs JSON data representing the result of the add member operation for each input item processed. This typically includes confirmation details or error information if the operation failed for any item.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating with the knowledge base service.
- The node depends on the external knowledge base API to perform member management operations.
- Proper configuration of credentials and network access to the API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing knowledge space ID can cause failures.
- Incorrect member type or member ID values may lead to errors from the API.
- Insufficient permissions of the API key to add members.
- Network connectivity problems affecting API calls.
Error messages:
- Errors thrown during execution are wrapped and reported with context including resource, operation, and item index.
- If the node is set to continue on failure, errors for individual items are returned in the output JSON under an
errorfield. - To resolve errors, verify all input parameters, ensure the API key has proper permissions, and check network connectivity.
Links and References
- Refer to your knowledge base platform's API documentation for detailed information on member management endpoints.
- Consult n8n documentation on credential setup and error handling best practices.