Actions7
Overview
This node integrates with the Line Messaging API to perform various messaging and group chat related operations. Specifically, for the "Get Group Chat Summary" operation, it retrieves summary information about a specified group chat by its Group ID. This can be useful in scenarios where you want to obtain metadata or overview details of a group chat, such as its name, picture, or other summary attributes, without needing to manually query the Line platform.
Practical examples include:
- Automatically fetching group chat summaries to display in dashboards.
- Using group metadata to customize messages or workflows based on group characteristics.
- Auditing or logging group chat information for compliance or analytics.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the group chat. It is found in the source object of webhook event objects. |
Output
The output of the "Get Group Chat Summary" operation is a JSON object containing the summary information of the specified group chat. This typically includes details such as the group's name, picture URL, and possibly other metadata provided by the Line Messaging API's group summary endpoint.
Example structure (simplified):
{
"groupId": "string",
"groupName": "string",
"pictureUrl": "string"
}
No binary data is output for this operation.
Dependencies
- Requires an active connection to the Line Messaging API using a valid API authentication token (channel access token).
- The node depends on the official Line SDK (
@line/bot-sdk) for API communication. - Proper credentials must be configured in n8n to authenticate requests.
Troubleshooting
- Missing or invalid credentials: If the channel access token is not provided or invalid, the node will throw an error indicating no authentication was provided. Ensure that the API key credential is correctly set up.
- Invalid Group ID: Providing an incorrect or non-existent Group ID may result in API errors or empty responses. Verify the Group ID from webhook events or Line platform.
- API rate limits or network issues: Temporary failures communicating with the Line API might occur; retrying after some time or checking network connectivity can help.
- Permission issues: The authenticated token must have sufficient permissions to access group chat summaries.