Feishu Node icon

Feishu Node

Feishu Node

Actions106

Overview

This node, named "Feishu Node," is designed to interact with Feishu's API, specifically supporting operations related to various resources. For the provided resource "电子表格" (Spreadsheet) and operation "获取电子表格信息" (Get Spreadsheet Information), the node retrieves metadata or details about a specified spreadsheet using its token.

Common scenarios for this node include:

  • Automating retrieval of spreadsheet information within Feishu for reporting or integration purposes.
  • Using the spreadsheet data as part of a larger workflow that processes or analyzes user-specific data.
  • Fetching spreadsheet metadata based on different user ID types to customize access or processing logic.

Practical example:

  • A user wants to automatically fetch spreadsheet details by providing the spreadsheet token and specifying the type of user ID (Open ID, Union ID, or User ID). The node then returns the relevant spreadsheet information for further use in the workflow.

Properties

Name Meaning
电子表格 Token The token identifying the specific spreadsheet to retrieve information from.
用户 ID 类型 The type of user ID used for identification; options are: Open ID, Union ID, User ID.

Output

The node outputs an array of JSON objects containing the retrieved spreadsheet information. Each item corresponds to one input item processed. The exact structure of the JSON depends on the Feishu API response for the spreadsheet info request but generally includes metadata fields such as spreadsheet title, sheets, permissions, and other relevant details.

No binary data output is indicated in the source code.

Dependencies

  • Requires an API key credential for Feishu's API authentication.
  • The node relies on Feishu's API endpoints to fetch spreadsheet information.
  • No additional external services beyond Feishu are required.
  • Proper configuration of the Feishu API credentials in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or expired spreadsheet token will cause the API call to fail.
    • Incorrect user ID type may lead to authorization errors or incomplete data.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "未实现方法: 电子表格.获取电子表格信息" ("Unimplemented method: spreadsheet.getInfo") indicates the requested resource-operation combination is not supported or incorrectly specified.
    • API errors wrapped as NodeApiError will provide error details from Feishu's API; check the message for specifics like invalid tokens or permission issues.
  • Resolutions:

    • Verify the spreadsheet token is correct and has not expired.
    • Confirm the user ID type matches the expected format for your Feishu environment.
    • Ensure network connectivity and that the Feishu API credentials are valid and have sufficient permissions.
    • Use the node's "Continue On Fail" option to handle errors gracefully in batch operations.

Links and References

Discussion