Feishu Node icon

Feishu Node

Feishu Node

Actions106

Overview

This node interacts with the Feishu platform, specifically targeting operations on "多维表格" (multi-dimensional tables). The selected operation "批量删除记录" allows users to batch delete multiple records from a specified multi-dimensional table within Feishu. This is useful for scenarios where you need to clean up or remove large sets of data entries efficiently without deleting them one by one.

Practical examples include:

  • Removing outdated or irrelevant records from a project management table.
  • Clearing test or temporary data in bulk after a data import.
  • Automating cleanup tasks based on certain criteria by feeding record IDs to be deleted.

Properties

Name Meaning
多维表格 Token The unique identifier token for the Feishu multi-dimensional table App.
多维表格 ID The unique identifier of the specific multi-dimensional data table from which records are deleted.
请求体JSON JSON body specifying the records to delete. It must follow the structure defined in Feishu's API documentation, typically including an array of record IDs under records.

Output

The node outputs a JSON array where each element corresponds to the result of the batch delete operation for each input item. The output JSON will contain success or error information related to the deletion request.

No binary data output is expected from this operation.

Dependencies

  • Requires an API authentication token ("多维表格 Token") that grants access to the Feishu multi-dimensional table App.
  • The node depends on Feishu's open API for multi-dimensional tables, specifically the batch delete records endpoint.
  • Proper configuration of credentials in n8n is necessary to authenticate requests.
  • The user must provide valid table IDs and correctly formatted JSON bodies according to Feishu's API specification.

Troubleshooting

  • Common issues:

    • Invalid or expired token leading to authentication failures.
    • Incorrect table ID causing resource not found errors.
    • Malformed JSON in the request body resulting in validation errors.
    • Attempting to delete records that do not exist or are already deleted.
  • Error messages and resolutions:

    • Authentication errors: Verify that the provided token is correct and has not expired.
    • Resource not found: Double-check the table ID and ensure it exists in the Feishu app.
    • Invalid request body: Ensure the JSON follows the required schema, especially the records array format.
    • Partial failures: If some records fail to delete, check individual record IDs for correctness.

Links and References

Discussion