Actions8
- Message Management Actions
- Message Reaction Actions
- Pin Actions
Message Management → Send Message
AI-generatedOverview
This node sends a text message to a specified recipient using the Lark Messenger API. It is useful for automating communication workflows where messages need to be sent programmatically to users identified by their receive ID (open_id). For example, it can be used to notify users about updates, alerts, or confirmations within an automated process.
Use Case Examples
- Sending a welcome message to a new user after registration.
- Notifying a team member about a task assignment.
Properties
| Name | Meaning |
|---|---|
| Receive ID | The unique identifier of the message recipient (open_id). This specifies who will receive the message. |
| Message Text | The content of the text message to be sent to the recipient. |
Output
JSON
json- The response from the Lark Messenger API after sending the message, containing details about the sent message.
Dependencies
- Lark Messenger API
- An API key credential with appId and appToken for authentication
Troubleshooting
- Ensure that valid credentials (appId and appToken) are provided; otherwise, the node will throw a 'No credentials returned!' error.
- If the tenant access token cannot be retrieved, the node throws 'Get tenan_token failed'. Verify API credentials and network connectivity.
- Invalid or missing 'receive_id' or 'message_text' parameters may cause the API call to fail. Ensure these inputs are correctly set.
- The node throws errors for unknown operations or resources if parameters are misconfigured.
Links
- Lark Messenger API Documentation - Official documentation for Lark Messenger API endpoints and usage.