Multi-platform Integrations

LINE Integration

Connect your LINE Official Account to Chat Data, and your AI agent answers your customers on LINE. You can take over any conversation from Chat Data Live Chat.

Before you start

  • A LINE account or an email address, to register a LINE Business ID.
  • A Chat Data Entry plan or higher.
  • A chatbot that is trained and tested in Chat Data (see Train With Your Data).
  • Terms of service and privacy policy URLs for the Provider step. You can use Chat Data's if needed: https://www.chat-data.com/terms and https://www.chat-data.com/privacy.

Provider Assignment Cannot Be Changed

In Step 4, LINE asks you to select a Provider (your organization or company name). You can't change it later, so choose the name carefully.

Setup moves between Chat Data, LINE Official Account Manager and the LINE app on your phone:

LINE setup: copy the webhook in Chat Data, create the Official Account, enable the Messaging API and pick a permanent Provider, paste the webhook and copy the channel ID and secret, save them in Chat Data, set response settings, then test with the QR code

Step-by-Step Integration Guide

Step 1: Copy the webhook URL from Chat Data

  1. Open Agents, pick your AI agent and click Integrations.
  2. Click the LINE integration card (Add to LINE). Integrations page with the Add to LINE card highlighted
  3. The window shows your Webhook Endpoint. Copy it, and keep the window open. LINE Integration Modal with Webhook URL

Step 2: Create a LINE Official Account

  1. Open LINE Official Account Manager.
  2. Click Create a LINE Official Account.
  3. Log in with your LINE account or email address.
  4. Enter your business details: account name, category and description.
  5. Upload a profile photo (at least 200×200 pixels) and, optionally, a cover photo.
  6. Accept the LINE Official Account Terms of Use.
  7. Click Create. LINE Create Business Account

You land in LINE Official Account Manager, where you can edit your profile later.

Step 3: Enable the Messaging API

  1. In LINE Official Account Manager, click Settings in the top right. LINE Settings Location Top Right
  2. Open the Messaging API tab and click Enable Messaging API. LINE Messaging API Tab
  3. In Register developer info, enter the email of your LINE account and click OK. LINE Register Developer Info Modal

Step 4: Select a Provider

  1. In Select a Provider, type your provider name, such as your company name. This can't be changed later.
  2. Enter your Terms of Service URL and Privacy Policy URL.
  3. Click OK. LINE Select Provider Modal

Step 5: Add the webhook URL and copy your credentials

  1. In the same Messaging API settings, paste the Chat Data webhook URL from Step 1 into Webhook URL and click Save. (Chat Data also sets this URL for you when you save in Step 6.)
  2. Copy the Channel ID and Channel secret shown on the page. LINE Channel Credentials Displayed

Step 6: Connect LINE in Chat Data

  1. Go back to the Chat Data LINE window from Step 1.
  2. Enter your Channel ID and Channel Secret.
  3. Click Save LINE Bot. Chat Data checks the connection, and the status turns green when it works. LINE Integration Complete

Chat Data creates the Channel Access Token for you; you don't need to generate it. Keep your Channel secret private and limit who can open your LINE Developers Console. Chat Data stores your credentials encrypted.

To connect another LINE Official Account to the same chatbot, click Add in the LINE window and repeat Steps 2 to 6.

Step 7: Configure LINE Response Settings

  1. In LINE Official Account Manager, go to Settings > Response settings.
  2. Turn Chat ON.
  3. Turn Webhooks ON. This sends messages to Chat Data. LINE Enable Chat and Webhooks
  4. Turn Auto-response messages OFF. If you leave it on, LINE's built-in replies and your AI agent both answer the same message. LINE Turn Off Auto-Response
  5. (Optional) Turn Greeting message ON to send a welcome message when someone adds your account.
  6. Click Save at the bottom of the page.

Step 8: Test Your Integration

  1. In the Chat Data LINE window, find the QR code (Scan to chat).
  2. In the LINE app on your phone, tap the Add friend icon, then QR code, and scan it. LINE QR Code Scan
  3. Add the account as a friend.
  4. Send a test message, such as "Hello", and check the AI's reply.

No reply? Check that the webhook URL is saved (Step 5), that Webhooks is ON in Response settings (Step 7), and that your Chat Data chatbot is trained and active.

Reply settings

These settings are in the LINE integration panel, for each connected LINE account, each in its own section. Click the check mark to save a change.

SettingWhat it doesDefault
Response TypeText, Audio (spoken in the voice from your interface settings) or Mixed (text for text messages, audio for voice messages).Text
Auto OffAfter a teammate replies from Chat Data Live Chat, the AI stays silent in that conversation for this many minutes (1 to 10,080, which is one week), then resumes.On, 30 minutes
Delay ResponseWaits before replying, so several quick messages get one combined answer. Set an Average delay time and a Variance Range (seconds); the variance makes the timing look natural.Off
Follow-UpIf the customer goes quiet, the AI checks your Trigger Condition after the wait you set. If it's met, the AI sends a follow-up based on your Follow Up Instruction and the conversation. Each check uses extra credits.Off

Delay Response settings Follow-Up settings

Live Chat Handover

To reply to a customer yourself:

  1. Open Dashboard > Live Chats, click Filter > Source, tick LINE and select the conversation.
  2. Reply. The customer sees your message in LINE, with the full conversation history, and Auto Off keeps the AI silent in that conversation. To keep the AI off until you say so, switch it off for the conversation.
  3. If the customer replies while you're offline, Chat Data emails you.
  4. When you're done, switch the AI back on.

LINE AI Bot Automatic Pause with Human Takeover

Media File Support

  • Images, video and audio (including voice notes): Chat Data converts the format for you. Whether the AI can understand an image or audio depends on your plan and AI model.
  • Other files (PDFs, spreadsheets and other documents): sent to the customer as download links.

Frequently Asked Questions

What do I need before connecting a chatbot to LINE?

You need a LINE account or email address to register a LINE Business ID, an Entry plan or higher in Chat Data, and a chatbot that has already been trained and tested in the Chat Data dashboard.

How do I connect my LINE Official Account to Chat Data?

Open the LINE integration in Chat Data to get the webhook URL, create your LINE Official Account, enable the Messaging API in LINE, paste the Chat Data webhook URL into LINE, then copy the Channel ID and Channel secret back into the Chat Data integration and click Save LINE Bot.

Do I need to generate the LINE Channel Access Token manually?

No. Chat Data handles Channel Access Token generation automatically, so you only need to provide the Channel ID and Channel secret.

Which LINE response settings should I change after the integration is connected?

In LINE Official Account Manager, turn Chat on, turn Webhooks on, and turn Auto-response messages off so LINE does not send built-in replies alongside your AI chatbot.

Previous
Messenger Integration