Actions30
- Mail Group Actions
- Mail Group Member Actions
- Mail Group Permission Member Actions
- Mail Group Alias Actions
- Public Mailbox Actions
- Public Mailbox Member Actions
- Public Mailbox Alias Actions
Overview
This node, named "Lark Email," is designed to manage email-related resources within the Lark platform. Specifically, for the Mail Group resource and the Obtain A Mailing List operation, it retrieves details of a mailing list by its ID or address. This functionality is useful in scenarios where you need to programmatically access mailing list information, such as fetching member lists, verifying mailing group existence, or integrating mailing list data into workflows.
Practical examples include:
- Automatically retrieving mailing list details to sync with other communication tools.
- Validating mailing list IDs before sending bulk emails.
- Using mailing list data to trigger notifications or automate membership management.
Properties
Name | Meaning |
---|---|
Authentication | Method to authenticate API requests. Options: Tenant Token, OAuth2 |
Mailgroup Id | The unique identifier or email address of the mailing list to retrieve (required) |
Options | Additional optional settings: |
- Use Custom Body | Boolean flag indicating whether to send a custom request body instead of default format |
Output
The node outputs JSON data representing the mailing list details retrieved from the Lark API. This typically includes metadata about the mailing list such as its ID, name, members, and other relevant attributes defined by the API response.
If binary data were involved (not indicated here), it would represent attachments or files related to the mailing list, but this node focuses on JSON data only.
Dependencies
- Requires an active connection to the Lark Suite Open APIs.
- Needs either a Tenant Token or OAuth2 authentication configured in n8n credentials.
- The base URL for API requests is
https://open.larksuite.com/open-apis
. - Proper permissions/scopes must be granted to the authentication method to access mailing list information.
Troubleshooting
- Invalid or missing Mailgroup Id: Ensure the mailing list ID or address is correctly provided and exists in the Lark system.
- Authentication errors: Verify that the selected authentication method is properly configured and has valid tokens.
- API rate limits or permission issues: Check if the API credentials have sufficient permissions and are not throttled.
- Use Custom Body option misuse: If enabled, ensure the custom body format matches the API expectations; otherwise, the request may fail.
Common error messages might include unauthorized access, resource not found, or bad request due to malformed parameters. Resolving these involves checking credentials, input values, and optionally disabling the custom body option unless necessary.
Links and References
- Lark Suite Open API Documentation
- Lark Email Management API Reference (general reference for email-related endpoints)