Line Message Builder icon

Line Message Builder

Builds a message object for the LINE Messaging API.

Overview

This node builds a location message object for the LINE Messaging API. It is useful when you want to send a location message containing a title, address, latitude, and longitude to users via LINE. For example, you can use it to share a meeting place, a store location, or any point of interest in a chat.

Use Case Examples

  1. Sending a location message with a title 'Office', address '123 Main St', latitude 35.6895, and longitude 139.6917 to a LINE chat.
  2. Sharing a restaurant location with users by specifying its name, address, and coordinates.

Properties

Name Meaning
Title The title for the location message (Max: 100 characters)
Address The address for the location message (Max: 100 characters)
Latitude The latitude of the location
Longitude The longitude of the location

Output

JSON

  • message
    • type - The type of the message, which is 'location'
    • title - The title of the location message
    • address - The address of the location message
    • latitude - The latitude coordinate of the location
    • longitude - The longitude coordinate of the location

Dependencies

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

Troubleshooting

  • Ensure latitude and longitude are valid numbers within their respective ranges (-90 to 90 for latitude, -180 to 180 for longitude).
  • Check that the title and address do not exceed 100 characters to avoid message rejection.
  • If the message is not sent, verify that the LINE Messaging API credentials are correctly configured and have the necessary permissions.

Links

Discussion