Line Message Builder icon

Line Message Builder

Builds a message object for the LINE Messaging API.

Overview

This node constructs various types of messages compatible with the LINE Messaging API, 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 multimedia content, location information, or interactive flex messages to users.

Use Case Examples

  1. Sending a video message with a preview image and tracking ID to monitor video play completion.
  2. Creating an audio message with a specified duration and content URL.
  3. Building a flex message with custom JSON content for rich interactive messaging.

Properties

Name Meaning
Original Content URL URL of the content to be sent (e.g., video, image, or audio). For audio, only M4A format is supported.
Preview Image URL URL of the preview image for image or video messages.
Tracking ID ID used for tracking video play completion statistics, applicable to video messages.

Output

JSON

  • message
    • type - Type of the message (e.g., video, image, text).
    • originalContentUrl - URL of the original content for media messages.
    • previewImageUrl - URL of the preview image for image or video messages.
    • trackingId - Tracking ID for video messages to monitor play completion.

Troubleshooting

  • Ensure URLs for content and preview images use HTTPS and do not exceed 1000 characters to avoid errors.
  • For audio messages, only M4A format is supported; using other formats may cause message failures.
  • Flex message contents must be valid JSON; invalid JSON will cause an error with a message indicating the problematic item.

Links

Discussion