Feishu Node icon

Feishu Node

Feishu Node

Actions106

Overview

This node, named "Feishu Node," provides integration with Feishu services, specifically supporting operations on various resources. For the resource "多维表格" (Multidimensional Table), it supports the operation "新增视图" (Add View). This operation allows users to add a new view to a specified multidimensional table in Feishu.

Typical use cases include automating the creation of different views (such as grid, kanban, gallery, gantt, or form) for data tables within Feishu's collaborative environment. For example, a user might want to programmatically add a kanban view to a project management table or create a form view for data collection.

Properties

Name Meaning
多维表格 Token The unique identifier token for the Feishu multidimensional table app. Required for authentication and access.
多维表格 ID The unique identifier of the specific multidimensional data table where the view will be added.
视图名称 The name of the new view to be created. Must be non-empty, up to 100 characters, and cannot contain special symbols [ ].
视图类型 The type of the view to add. Options include:
- 表格视图 (grid)
- 看板视图 (kanban)
- 画册视图 (gallery)
- 甘特视图 (gantt)
- 表单视图 (form)

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON object contains the result of adding the new view to the specified multidimensional table. The exact structure depends on the Feishu API response but generally includes details about the newly created view such as its ID, name, type, and other metadata.

No binary data output is indicated by the source code.

Dependencies

  • Requires an API key credential for authenticating with Feishu's multidimensional table service.
  • The node relies on Feishu's API endpoints to perform the "add view" operation.
  • Proper configuration of the API token and table identifiers is necessary.
  • No additional external libraries beyond those bundled with n8n and the node itself are required.

Troubleshooting

  • Common Issues:

    • Invalid or expired "多维表格 Token" leading to authentication failures.
    • Incorrect "多维表格 ID" causing resource not found errors.
    • Invalid "视图名称" due to length or forbidden characters resulting in validation errors.
    • Unsupported or misspelled "视图类型" values.
  • Error Messages:

    • If the operation method is not implemented for the given resource-operation pair, the node throws an error indicating the method is unimplemented.
    • API errors from Feishu (e.g., permission denied, invalid parameters) are caught and can be returned as error messages in the output if "continue on fail" is enabled.
  • Resolutions:

    • Verify that the API token is valid and has sufficient permissions.
    • Double-check the table ID and ensure it exists.
    • Ensure the view name meets the character and format requirements.
    • Select a valid view type from the provided options.

Links and References

Discussion