LINE Messaging API icon

LINE Messaging API

Interact with the LINE Messaging API

Overview

This node interacts with the LINE Messaging API to perform various messaging operations such as replying to messages, pushing messages to users, sending multicast messages, retrieving user profiles, group chat summaries, group member user IDs and profiles, fetching message content, and showing loading animations. It is useful for automating communication workflows on the LINE platform, for example, replying to user messages in a chatbot, sending broadcast messages, or fetching user and group information for personalized interactions.

Use Case Examples

  1. Replying to a user's message with a text response.
  2. Pushing a notification message to a specific user.
  3. Sending a multicast message to multiple users simultaneously.
  4. Retrieving profile information of a user to personalize responses.

Properties

Name Meaning
Message The message content to send, formatted as a JSON object representing the message type and text. Required for reply, push, and multicast operations.
Reply Token The token used to reply to a specific message. Required for the reply message operation.

Output

JSON

  • success - Indicates if the message operation was successful (true/false).
  • message - A descriptive message about the operation result, e.g., confirmation of message sent.

Dependencies

  • Requires an API key credential for LINE Messaging API authentication (channel access token).

Troubleshooting

  • Missing or invalid channel access token will cause authentication errors. Ensure the API key credential is correctly configured.
  • Invalid or missing replyToken for replyMessage operation will cause errors. Provide a valid reply token string.
  • Message parameter must be valid JSON and properly formatted as an object or array of message objects. Invalid JSON or format will cause errors.
  • Target recipient(s) must be specified for push and multicast operations; missing or invalid recipient IDs will cause errors.

Links

Discussion