Connect LINE

Set up the Messaging API in your LINE consoles and connect your LINE Official Account to the shared inbox.

Connecting a LINE Official Account brings every one-to-one chat with your OA into the shared inbox. Setup happens in two places: you enable the Messaging API in your LINE consoles, then paste two values into Prospect, which issues its own access token and registers message delivery for you.

Before you start

  • A LINE Official Account you administer, and a LINE account to sign in to the consoles with.

  • Permission to connect a channel into at least one inbox.

  • Ten to fifteen minutes. The LINE side has several screens, and you can't finish the Prospect form without the Channel ID and Channel Secret from the last one, so it's worth grabbing a coffee first ☕

Connect the channel

Work through the LINE consoles first. These are the setup steps shown in the connect dialog:

  1. Sign in to the LINE Official Accounts Platform.

  2. Navigate to Settings › Enable Messaging API.

  3. Press Enable Messaging API and link it with your LINE account.

  4. Register a Developer account.

  5. Enter a new Provider name and press Agree.

  6. Enter Privacy Policy and Terms of Use information (optional).

  7. Press OK to enable the Messaging API.

  8. Navigate to Response settings › Detailed settings.

  9. Find the Webhook section and set it to Enabled.

  10. Open the LINE Developers Console, select your Provider, then the Channel. In Basic settings, copy the Channel ID, then issue and copy the Channel Secret.

Then finish in Prospect:

  1. Go to Settings › Channels (1) and click Connect Channel (2).

    Settings Channels page with the Channels menu item (1) and the Connect Channel button (2) highlighted
  2. Pick the LINE card (1) from the provider list.

    Connect Channel provider picker with the LINE card (1) highlighted
  3. Choose the inbox under Connect to service (1). The dialog lists the setup steps from above (2) as a reminder. Tick I have completed the actions above. (3) and click Next (4).

    LINE connect dialog with the Connect to service dropdown (1), the Setup steps list (2), the I have completed the actions above checkbox (3) and the Next button (4) highlighted
  4. Paste the Channel ID (1) and the Channel Secret (2), then click Connect (3). Back returns to the checklist.

    Second step of the LINE connect dialog with the Channel ID field (1), the Channel Secret field (2) and the Connect button (3) highlighted
  5. The last screen confirms delivery setup and offers your Chat Link. Click Done.

Note: Step 9 matters more than it looks. If Webhook isn't Enabled in the LINE Official Accounts Platform, LINE keeps answering your customers with its own auto-reply and nothing reaches your inbox.

If the webhook was not registered automatically

Usually the last screen says Webhook registered automatically. and there's nothing more to do. If it shows Add this Webhook URL in your LINE console: with an address and a Copy button instead, copy that address, paste it into the Webhook URL field in the LINE Developers Console for this channel, and verify it there. Be sure to copy the address before closing the dialog.

After connecting

The channel appears under Settings › Channels carrying the Official Account's display name and picture.

A conversation opens the first time someone sends a message. Adding your OA as a friend doesn't create one on its own; the first message does. When that message arrives, the sender's LINE display name and picture are fetched and become a prospect. You can refresh them later with Sync profile info on the prospect, or in bulk with Sync profile from the prospects table.

Opening the channel shows Channel detail, with the Chat Link you can copy and share so customers can start a chat, plus Sync info and Remove channel under Settings.

The access token Prospect uses is valid for 30 days and is reissued automatically about a day before it lapses, so you don't need to touch it. The Channel ID and Channel Secret don't expire; issuing a new secret in the LINE console is what breaks the connection.

What this channel can and cannot do

CapabilityLINE
Receive text, images, video, audio, files, stickersYes
Receive a shared locationYes, shown on a map
Send text, images, video, audioYes
Group and multi-person chatsNot supported, only one-to-one
ReactionsNot supported

Only one-to-one chats are handled. Messages sent in a LINE group or a multi-person room are ignored and never open a conversation.

A text message an agent sends is limited to 5,000 characters. A longer one is refused before it leaves, with the exact length shown in the message. LINE has no document message type, so a PDF, spreadsheet, or other file is delivered as a text message containing the file name and a link to it. Nothing is silently dropped. An agent can quote an earlier message when replying.

LINE isn't a broadcast channel: campaigns can only go out over WhatsApp Business. LINE has no re-engagement time limit, so the composer shows no messaging-window hint.

Troubleshooting

SymptomCauseFix
Invalid Channel ID or SecretThe pair doesn't match, or was copied from a different channelRe-copy both from Basic settings in the LINE Developers Console for the right channel
Connect fails naming a LINE service errorLINE itself is unavailable or rate-limitingWait a few minutes and try again. Your credentials are fine.
Enter both Channel ID and Channel SecretOne field is emptyFill both, then Connect
The OA replies to customers but nothing appears in the inboxWebhook is still disabled in Response settings › Detailed settingsSet it to Enabled, then send a test message
The last screen showed a Webhook URL to pasteAutomatic registration wasn't possiblePaste that address into the LINE Developers Console and verify it
Channel goes DisconnectedThe Channel Secret was reissued or revokedReconnect with the current Channel ID and Channel Secret
Messages sent in a LINE group never arriveOnly one-to-one chats are supportedAsk the customer to message the OA directly
A PDF arrives as a link instead of a fileLINE has no file message typeThat's expected: the file name and link are sent as text