Line Message Builder icon

Line Message Builder

Builds a message object for the LINE Messaging API.

Overview

This node builds message objects for the LINE Messaging API, supporting various message types including text, image, video, audio, location, sticker, and flex messages. It is useful for automating the creation of LINE messages in workflows, such as sending stickers, text with mentions or emojis, multimedia content, or rich flex messages.

Use Case Examples

  1. Sending a sticker message by specifying the package ID and sticker ID.
  2. Creating a text message with user mentions or emojis using substitution.
  3. Building a flex message with custom JSON content for rich formatting.

Properties

Name Meaning
Package ID The package ID of the sticker to send.
Sticker ID The sticker ID within the package to send.

Output

JSON

  • message
    • type - The type of the LINE message (e.g., sticker).
    • packageId - The package ID of the sticker message.
    • stickerId - The sticker ID of the sticker message.

Dependencies

  • Requires an API key credential for the LINE Messaging API to send messages.

Troubleshooting

  • If the sticker package ID or sticker ID is invalid or missing, the message will fail to send. Verify the IDs against the official LINE sticker list documentation.
  • For flex messages, invalid JSON in the contents property will cause an error. Ensure the JSON is well-formed.
  • Ensure URLs for image, video, or audio messages use HTTPS and meet size limits to avoid message rejection.

Links

Discussion