N8N Tools LINE icon

N8N Tools LINE

Interact with LINE Messaging API

Overview

This node interacts with the LINE Messaging API to retrieve the IDs of members in a specific chat room. It is useful when you need to programmatically obtain the list of user IDs participating in a LINE chat room, for example, to send targeted messages or perform member management tasks.

A practical scenario would be automating notifications or analytics based on room membership by first fetching all member IDs and then processing them accordingly.

Properties

Name Meaning
Room ID The unique identifier of the LINE chat room from which to get the member IDs

Output

The output JSON contains an array of member IDs belonging to the specified LINE chat room. Each item corresponds to one execution input and includes a json field with the retrieved data structure representing the list of member IDs.

If the operation fails for any input item, the output for that item will contain an error field describing the failure.

Dependencies

  • Requires an API key credential for the "N8N Tools API" service to validate subscription and access.
  • Uses the LINE Messaging API endpoints under the base URL https://api.line.me/v2.
  • The node expects proper configuration of credentials and permissions to access LINE's profile and room member APIs.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the provided API key credential is correct and active.
  • Permission errors: Ensure that the LINE channel or bot has permission to access room member information.
  • Empty or missing Room ID: Make sure the Room ID property is correctly set; otherwise, the API call will fail.
  • Network or API downtime: Temporary network issues or LINE API outages can cause failures; retry after some time.

Links and References

Discussion