Actions61
- 电子表格 Actions
- 云空间 Actions
- 消息 Actions
- 云文档 Actions
- 日历 Actions
- 多维表格 Actions
Overview
The "多维表格: 更新视图" (Bitable: Update View) operation in this custom n8n node allows users to update the properties of a specific view within a Feishu (Lark) Bitable (multi-dimensional spreadsheet). This is useful for automating the management of Bitable views, such as renaming a view or changing its configuration programmatically.
Common scenarios:
- Renaming a view in a Bitable table.
- Updating view settings or properties based on workflow logic.
- Automating administrative tasks across multiple Bitables.
Practical example:
A company uses Feishu Bitable to manage project data. When a project status changes, an n8n workflow can automatically update the corresponding view's name or properties to reflect the new status.
Properties
| Name | Type | Meaning |
|---|---|---|
| 多维表格 Token | String | The unique identifier (token) for the Bitable App. Required for authentication. |
| 多维表格 ID | String | The unique identifier for the Bitable table whose view will be updated. |
| 视图 ID | String | The unique identifier for the view within the Bitable table to be updated. |
| 视图名称 | String | The new name for the view. Must not exceed 100 characters and cannot contain [ ] symbols. |
| 视图属性 | JSON | Additional properties for the view, provided as a JSON object. |
Output
The node outputs a json field containing the result of the update operation. If the operation succeeds, it typically includes the updated view information as returned by the Feishu API.
If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message (and possibly additional error details if available).
Example success output:
{
"view_id": "vew123",
"view_name": "新视图名称",
"property": { /* ...updated properties... */ }
}
Example error output (when Continue On Fail is enabled):
{
"error": "Invalid view_id"
}
Dependencies
- Feishu (Lark) API: Requires access to the Feishu Bitable API.
- API Credentials: The node requires valid Feishu credentials (
feishuCredentialsApi) configured in n8n. - Environment: No special environment variables are required beyond standard n8n credential setup.
Troubleshooting
Common issues:
- Invalid Token or Credentials: If the "多维表格 Token" is incorrect or missing, authentication will fail.
- Incorrect IDs: Supplying an invalid "多维表格 ID" or "视图 ID" will result in errors from the Feishu API.
- View Name Constraints: The "视图名称" must not exceed 100 characters and cannot contain square brackets
[ ]. Violating these constraints will cause the API to reject the request. - Malformed JSON: If "视图属性" is not valid JSON, the node will throw an error.
Error messages:
未实现方法: bitable.bitable:table:view:update: Indicates that the requested resource-operation combination is not implemented in the node.NodeApiError: Usually indicates an error response from the Feishu API; check theerrorfield for more details.Invalid view_idor similar: Indicates the specified view does not exist or is inaccessible.
Resolution steps:
- Double-check all IDs and tokens.
- Ensure the view name meets requirements.
- Validate any JSON input before submitting.