Actions2
Send Message
AI-generatedOverview
This node interacts with the Lark Custom Bot API to send messages. Specifically, for the 'Send Message' operation, it sends a plain text message to a Lark chat via a webhook URL. This is useful for automating notifications, alerts, or any text-based communication within Lark from an n8n workflow.
Use Case Examples
- Sending a notification message to a Lark chat when a new task is created.
- Automating daily status updates to a team chat in Lark.
Properties
| Name | Meaning |
|---|---|
| Message Text | The text content of the message to be sent to the Lark chat. |
Output
JSON
json- The response from the Lark API after sending the message, typically containing status or confirmation details.
Dependencies
- Requires Lark Custom Bot API credentials, specifically a webhook URL for sending messages.
Troubleshooting
- If no credentials are provided, the node throws an error 'No credentials returned!'. Ensure the Lark Custom Bot API credentials are correctly configured.
- If an unknown operation is specified, the node throws an error 'Unknown operation'. Verify the operation parameter is set to 'sendText' for sending messages.
- If the message text is empty or missing, the API call may fail or send an empty message. Ensure the 'Message Text' property is filled.