LINE Messaging API icon

LINE Messaging API

Interact with the LINE Messaging API

Overview

This node integrates with the LINE Messaging API to perform various messaging operations such as replying to messages, pushing messages to a single recipient, sending multicast messages to multiple users, retrieving user profiles, group chat summaries, group member user IDs and profiles, fetching message content, and showing a loading animation. It is useful for automating interactions with LINE users, managing group chats, and handling multimedia message content. For example, it can be used to send a welcome message to a user, broadcast announcements to multiple users, or fetch user profile information for personalization.

Use Case Examples

  1. Sending a push message to a specific user with a custom text message.
  2. Replying to a user's message using the reply token provided by LINE.
  3. Sending a multicast message to multiple users simultaneously.
  4. Retrieving a user's profile information to display their name and picture in a chatbot interface.

Properties

Name Meaning
Message The message content to send, formatted as a JSON object representing the LINE message type and content.
Target Recipient The user ID of the recipient to whom the push message will be sent.

Output

JSON

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

Dependencies

  • LINE Messaging API

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 from LINE webhook events.
  • Message parameter must be valid JSON and conform to LINE message format; invalid JSON or format will cause errors.
  • Target recipient user ID must be a non-empty string for pushMessage operation; missing or invalid ID will cause errors.

Links

Discussion