Overview
This node allows sending various types of messages through the Line messaging platform. Specifically, for the "Video" operation, it sends a video message with a specified video URL and a preview image URL. This is useful in scenarios where you want to share video content directly within a chat or conversation on Line, such as promotional videos, tutorials, or personal video messages.
Practical example: A marketing automation workflow that sends a product demo video to users who subscribe to a campaign.
Properties
| Name | Meaning |
|---|---|
| URL | The direct URL to the video file you want to send. Must be a valid URL pointing to the video content (max 2000 characters). |
| Preview Url | The URL of an image used as a preview thumbnail for the video. This image is shown before the video plays (max 2000 characters). |
| Tracking ID | An optional identifier to track when the recipient finishes watching the video. Useful for analytics or triggering follow-up actions. |
Output
The node outputs JSON data structured as follows:
{
"message": {
"type": "video",
"originalContentUrl": "<URL of the video>",
"previewImageUrl": "<URL of the preview image>"
}
}
type: Always set to"video"for this operation.originalContentUrl: The video URL provided as input.previewImageUrl: The preview image URL provided as input.
No binary data output is generated by this node.
Dependencies
- Requires an active connection to the Line messaging platform.
- Needs appropriate API credentials or authentication tokens configured in n8n to send messages via Line.
- The URLs provided must be accessible and publicly reachable by Line servers to fetch the video and preview image.
Troubleshooting
- Invalid URL errors: Ensure that both the video URL and preview image URL are correct, publicly accessible, and use supported protocols (e.g., HTTPS).
- Message not sent: Verify that the API credentials are correctly configured and have permissions to send video messages.
- Tracking ID not working: If tracking events do not trigger, confirm that the tracking ID is unique and properly handled in your Line account or webhook setup.
- Payload errors: Make sure the preview image URL is provided when sending a video message, as it is required.