Feishu Node icon

Feishu Node

Feishu Node

Actions106

Overview

This node allows editing a message in Feishu by specifying the message ID, type, and new content. It is useful for updating or correcting messages that have already been sent, such as fixing typos, updating information, or changing message formatting.

Practical examples include:

  • Editing a text message to correct spelling errors.
  • Updating a rich text (post) message with additional details or formatting changes.

Properties

Name Meaning
待编辑的消息的ID The ID of the message to be edited.
消息类型 The type of the message. Options: "文本" (text), "富文本" (rich text/post).
消息内容 The new content of the message, provided as a JSON string representing the message body.

Output

The node outputs an array of JSON objects representing the result of the edit operation for each input item. Each output item corresponds to one edited message and contains the updated message data returned from Feishu's API.

If an error occurs and "Continue On Fail" is enabled, the output will include an object with an error field describing the failure.

No binary data output is involved.

Dependencies

  • Requires an API key credential for Feishu authentication.
  • Needs network access to Feishu's API endpoints.
  • The node depends on the Feishu API supporting message editing operations.

Troubleshooting

  • Common issues:

    • Invalid or missing message ID will cause the edit operation to fail.
    • Incorrect message type or malformed JSON content may lead to API errors.
    • Insufficient permissions or expired credentials can prevent successful edits.
  • Error messages:

    • "未实现方法: message.message:edit" indicates the operation is not implemented or recognized; ensure the resource and operation names are correct.
    • API errors returned from Feishu will be surfaced; check the error message for details.
  • Resolutions:

    • Verify the message ID exists and belongs to the authenticated user or bot.
    • Validate the JSON structure of the message content before sending.
    • Refresh or reconfigure API credentials if authentication fails.

Links and References

Discussion