Actions2
Send Rich Message
AI-generatedOverview
This node sends rich messages using the Lark Custom Bot API. It is useful for sending interactive and visually structured messages, such as cards with text, buttons, and other elements, to Lark chat groups or users. For example, it can be used to send travel recommendations with clickable buttons linking to more information.
Use Case Examples
- Sending a rich message card with a header, descriptive text, and a button linking to a website.
- Sending interactive content to engage users in a Lark chat.
Properties
| Name | Meaning |
|---|---|
| Message Data | The JSON structure representing the rich message content to be sent, including elements like text, buttons, and headers. |
Output
JSON
msg_type- The type of message sent, e.g., 'interactive' for rich messages.card- The card object containing the rich message elements such as text blocks and buttons.
Dependencies
- Requires an API key credential for Lark Custom Bot API authentication.
Troubleshooting
- Ensure the 'Message Data' JSON is correctly formatted and valid according to Lark's API specifications.
- Check that the Lark Custom Bot API credentials are correctly configured and have the necessary permissions.
- Common error: 'No credentials returned!' indicates missing or misconfigured API credentials.
- The node throws an error for unknown operations; ensure the operation is set to 'Send Rich Message'.