LINE
Deploy an AI agent to LINE.
Publish to LINE with the Total plan and above.
Requires a LINE account to access the LINE Developers Console.
Publishing an AI agent to LINE allows your audience to interact with the agent—and subsequently with live agents—in a LINE thread.
In the agent's Publish tab, create a LINE channel or select an existing one from the table to open its settings.
Basic Settings
In the Basics accordion, the following options are available:
Name — the internal name of the channel, used to distinguish from any other Messenger channels the agent is published to.
Default chat language — the language used by the AI agent at the start of a new chat. Available languages are set in the agent's General settings.
Icon — the channel's avatar seen by live agents in the Inbox dashboard.
Press Save to confirm edits.
Connecting to LINE
In the Configuration accordion, three values are required from your LINE Developers Console account:
Channel ID
Channel secret
Access token
Then, you'll need to integrate a Proto webhook with the LINE Developers Console.
Follow the guides below for each step.
Channel ID, Secret, and Access Token
Create a channel in the LINE Developer Console:
Log in to the LINE Developers Console with the same email and password as your LINE account.
On first login to the Developer Console, make sure to register as a developer.
Create a new provider or select an existing one. This cannot be changed later.
Create a channel and confirm.
Go to the channel's basic settings. Copy the Channel ID and Channel Secret, and paste them into the respective fields in Proto's LINE Configuration accordion.
Proto Webhook
For Proto to send and receive message from LINE, a webhook integration is required.
In the LINE Developers Console, go to the channel.
Go to its Messaging API tab.
Under the Webhook section, select Edit and copy in the webhook URL from Proto's LINE Webhook accordion.
After proceeding, you will be redirected to the LINE Official Account Manager's Response settings page. Ensure they are set as follows:
Chat - Enabled
Greeting message - Disabled
Webhooks - Enabled
Response Hours - Enabled
Response Method - Manual Chat
Voice Messages
LINE supports voice messaging via speech recognition (ASR) and text-to-speech (TTS).
Inbound voice — when a person sends a voice message in LINE, it is automatically transcribed to text using ASR and processed by the AI agent as a standard text input.
Outbound voice — AI agent text responses can be delivered as audio messages using TTS.
Voice capabilities require ASR and TTS to be enabled at the workspace level via the main menu.
Using LINE
In the LINE Developers Console, go to the channel's Messaging API tab and scan the QR code.
This will allow you to add the Proto AI agent as a friend on LINE, and the contact can be shared with your audience for them to do the same.
Last updated