Message → Reply
AI-generatedOverview
This node interacts with the LINE Messaging API to send replies to messages received via webhook. It supports replying with various message types such as text, image, video, audio, location, sticker, and flex messages. It also allows adding quick reply buttons to the reply message for enhanced user interaction. This node is useful in chatbot scenarios where automated responses are sent back to users based on their input or events triggered by the LINE platform.
Use Case Examples
- Replying to a user with a text message after receiving their message.
- Sending an image reply with a preview image to a user.
- Replying with a location message showing a specific place on the map.
- Sending a flex message with rich content and interactive elements as a reply.
Properties
| Name | Meaning |
|---|---|
| Reply Token | The reply token received from webhook, used to identify the reply target message. |
| Message Type | The type of message to send in the reply (text, image, video, audio, location, sticker, flex). |
| Text | The text content to send when message type is text. |
| Original Content URL | The HTTPS URL of the original content for image, video, or audio messages. |
| Preview Image URL | The HTTPS URL of the preview image for image or video messages. |
| Title | The title of the location for location messages. |
| Address | The address of the location for location messages. |
| Latitude | The latitude coordinate of the location for location messages. |
| Longitude | The longitude coordinate of the location for location messages. |
| Package ID | The package ID of the sticker for sticker messages. |
| Sticker ID | The sticker ID for sticker messages. |
| Alt Text | Alternative text for devices that do not support flex messages. |
| Flex Contents | The flex message container in JSON format for flex messages. |
| Add Quick Reply | Whether to add quick reply buttons to the message (max 13 items). |
| Quick Reply Mode | Choose how to configure quick reply buttons: visual builder or JSON input. |
| Quick Reply JSON | Quick reply configuration in JSON format, must contain an "items" array. |
| Quick Reply Items | Quick reply button items configured via visual builder (max 13). |
Output
JSON
json- The JSON response from the LINE Messaging API or error information.
Dependencies
- LINE Messaging API
Troubleshooting
- Ensure the reply token is valid and not expired; otherwise, the reply will fail.
- Make sure URLs for media content (image, video, audio) are HTTPS and accessible.
- Quick reply buttons must not exceed 13 items; exceeding this limit will cause errors.
- If JSON for flex messages or quick replies is malformed, the API call will fail with a validation error.
Links
- LINE Messaging API - Send Reply Message - Official documentation for sending reply messages using the LINE Messaging API.