Actions16
- Messages Actions
- Profile Actions
- Rich Menu Actions
- Webhook Actions
Overview
This node integrates with the LINE Messaging API to perform various operations related to user profiles, messaging, rich menus, webhooks, LIFF apps, login, social plugins, beacons, and flex messages. Specifically, for the Profile resource and the Get Group Members IDs operation, it retrieves the list of user IDs of all members in a specified LINE group.
This operation is useful when you want to obtain the identifiers of all users in a group chat, for example, to send targeted messages or analyze group membership.
Practical example:
You have a LINE group for your customer support team and want to broadcast an announcement only to the group members. Using this operation, you can get all member IDs and then use them to send personalized messages.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the LINE group whose member IDs you want to retrieve. |
Output
The output JSON contains the list of user IDs of the members in the specified group. The exact structure depends on the LINE API response but typically includes an array of user IDs under a property like memberIds.
No binary data is output by this operation.
Example output snippet (conceptual):
{
"memberIds": [
"Uxxxxxxxxxxxxxx1",
"Uxxxxxxxxxxxxxx2",
"Uxxxxxxxxxxxxxx3"
]
}
Dependencies
- Requires access to the LINE Messaging API.
- Needs an API key credential configured in n8n for authentication with the LINE API.
- Optionally uses an external validation API ("N8N Tools API") to validate subscription and API key before making requests.
- Network connectivity to
https://api.line.me/v2and the validation API endpoint.
Troubleshooting
Invalid subscription or API key error:
If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly set up and has the necessary permissions for the LINE Messaging API.Group ID missing or incorrect:
Ensure the Group ID input is correct and corresponds to a valid LINE group where the bot or account has access.API rate limits or network errors:
The LINE API may enforce rate limits; if you encounter errors related to too many requests, consider adding delays or retries.Permission issues:
The bot or API token must have permission to access group member information; otherwise, the request will fail.