Skip to main content

LINE Messenger

The LINE Messenger node enables your applications to interact with the LINE Messaging API, allowing you to send and receive various types of messages including text, stickers, images, and location data. This guide will help you set up the LINE Messenger node and start performing messaging operations to create interactive user experiences on the LINE platform.

Getting Started

Before using the LINE Messenger connector, you'll need to complete a few setup steps.

Prerequisites

  • LINE Business Account: You must have access to the LINE Developers Console with a valid provider and Messaging API channel.
  • Channel Access Token: Obtain a Channel Access Token from your Messaging API channel. For help, refer to the LINE Messaging API Documentation.

Supported Authentication Methods

The LINE Messenger connector supports the following authentication methods:

  • Channel Access Token Authentication: Use your Channel Access Token by passing it in the request header.

Basic Operations

Here are some of the basic operations you can perform with the LINE Messenger connector:

Messaging

  • Send Text Message: Sends a plain text message to a LINE user.
  • Send Sticker Message: Sends a LINE sticker from a specified sticker package.
  • Send Image Message: Sends an image with a preview URL to the user.
  • Send Location Message: Sends a location message with title, address, and coordinates.

Reply Messaging

  • Reply with Text Message: Replies to a message event with a plain text message using a reply token.
  • Reply with Sticker Message: Replies with a LINE sticker using a reply token.
  • Reply with Image Message: Replies with an image and its preview using a reply token.
  • Reply with Location Message: Replies with a location message using a reply token.

User Details

  • Get User Details: Retrieves a user's LINE profile information using their user ID.

Webhook Integration

The LINE Messenger node also supports webhook integration to receive events like messages, follows, and postbacks from users.

Setting Up Webhooks in Boltic

  1. Create a Webhook Workflow

    • Log in to the Boltic dashboard.
    • Click Create New Workflow and select Webhook as the trigger type.
    • Add the desired actions to be executed when the webhook is triggered.
    • Click Publish to activate the workflow.
  2. Copy Webhook URL

    • After publishing, copy the generated Webhook URL.
  3. Configure LINE Webhook

    • Go to the LINE Developers Console.
    • Select your Provider and Messaging API Channel.
    • Under the Messaging API tab, scroll to the Webhook Settings section.
    • Paste the copied Webhook URL into the Webhook URL field.
    • Enable the Use webhook toggle and click Verify to test the connection.

Once verified, LINE will send events to your Boltic webhook, enabling your workflows to handle user messages and interactions in real time.

Conclusion

The LINE Messenger node is a powerful tool for building dynamic and personalized communication experiences on the LINE platform. By following the steps in this guide, you can integrate LINE messaging into your applications and automate conversations, notifications, and user engagement flows.

For more detailed information, visit the LINE Messaging API Documentation.