1. Introduction to LINE
Integrating the LINE channel allows chat records from LINE to be synchronized to the NXLink platform. This enables businesses to view and respond to user inquiries in real-time through the NXLink backend, manage their LINE Official Accounts (OA), and leverage LINE’s social and real-time capabilities to communicate instantly with users, providing a unified multi-channel customer service experience.
2. Operation Process
1. Register a LINE Business ID
You need an overseas phone number capable of receiving verification codes (Thailand, Japan, Hong Kong, etc.)

2. Create a LINE OA under the LINE Business ID

3. Register as a Developer on the LINE Console
https://developers.line.biz/en/
-
You can register with an email address
-
Create a Provider (up to 10 per account)
-
Within a Provider, create Channels (multiple Channels allowed)

Channels are used for API calls and event reporting.

4. Relationship Between Provider, Channel, and LINE OA
| Entities | Relationship |
|---|---|
| LINE Business ID and OA | One-to-many |
| LINE Developer Console account and Provider | One-to-many |
| Provider and Channel (Messaging API) | One-to-many |
| Channel (Messaging API) and OA | One-to-one |
5. Messaging API Channel ID & Secret
5.1 Go to the Settings Page
In the LINE Official Account Manager (management backend), click Settings to access the settings page.

5.2 Enable the Messaging API
Under the Settings module, click Messaging API, then click Enable Messaging API, and follow the subsequent steps.

6. Integrate LINE into NXLink
6.1 Enter Channel ID & Channel Secret
-
On the LINE Official Account Manager, under Messaging API, click Copy to copy the Channel ID and paste it into NXLink.
-
Click Copy to copy the Channel Secret and paste it into NXLink.
NXLink will use the Channel ID and Channel Secret to generate a token and synchronize it with both the OA platform and the LINE Console.
NXLink will periodically update this token.

6.2 Change Response Mode
-
On the left sidebar of the LINE Official Account Manager, go to Response Settings and turn on the Webhook button.
-
Disable the welcome message for new friends and auto-response timing to avoid conflicts with messages set in the NXLink backend.

6.3 Enable Webhook on LINE Developers
-
Visit https://developers.line.biz/console/, scroll down to Use webhook, and turn it on.
-
Refresh the page and ensure that the Use webhook toggle is green and enabled.
