> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bubblav.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LINE

> Connect a LINE Official Account so the AI answers 1:1 LINE chats and your team can take over from the inbox

Give your LINE Official Account an intelligent AI chatbot that answers questions from your knowledge base automatically, 24/7.

## Why Connect LINE?

> **Instant AI Responses**
>
> Customers get immediate answers based on your website's knowledge base

> **24/7 Availability**
>
> AI responds day and night, even when your team is offline

> **Human Takeover**
>
> Support agents can jump into any conversation from the dashboard

> **No OAuth Required**
>
> Connect with a channel access token and channel secret from LINE Developers Console

> **Multi-Language**
>
> AI supports 100+ languages for international customers

> **Knowledge-Powered**
>
> Answers based on your website's content and documentation

## What Can the LINE Integration Do?

### Answer Customer Questions Instantly

Your customers can ask questions about your products, services, or content in a 1:1 chat with your LINE Official Account:

**Example Questions:**

```text theme={null}
What are your business hours?
How do I track my order?
Tell me about your return policy
What payment methods do you accept?
```

### Provide 24/7 Support

* Responds instantly to common questions
* No waiting for business hours
* Reduces support ticket volume
* Consistent, accurate answers

### Human Agent Handoff & Unified Inbox

LINE chats appear in your **Live Support** unified inbox alongside website widget and other platform conversations. Each conversation shows a LINE badge so you always know the source platform.

> [!NOTE]
>
> The integration answers **1:1 chats only**. Messages from groups and rooms are ignored. Only text messages are handled today. For other message types (photos, files, voice), the customer gets a prompt to type their question. Stickers are ignored. While you are active in a conversation, the customer gets no prompt, and photos, files, voice messages and stickers do not appear in your inbox. Only text messages reach you.

**How agent replies work:**

1. Go to **Live Support** in your dashboard
2. Find the LINE conversation (look for the LINE badge)
3. Click to open and type your reply
4. Your message is sent to the customer's LINE chat
5. The AI remains paused while you're active in the conversation

The AI resumes automatically when you leave the conversation.

## Prerequisites

* A **LINE Official Account** with the **Messaging API** enabled
* A **paid BubblaV plan**
* Active BubblaV account with a website
* Website with knowledge base content (crawled pages)

## Setup Steps

**1. Open your Messaging API channel**

In [LINE Developers Console](https://developers.line.biz/console/), create or open the Messaging API channel of your Official Account.

**2. Copy the Channel secret**

On the **Basic settings** tab, copy the **Channel secret**.

**3. Issue the Channel access token**

On the **Messaging API** tab, issue the **Channel access token (long-lived)** and copy it.

**4. Connect in BubblaV**

Go to **Dashboard** → **your website** → **Integrations** → **LINE** → **Connect**. Paste the channel access token and the channel secret, then click **Connect**. BubblaV sets the webhook URL to `https://www.bubblav.com/api/line/webhook` for you.

**5. Turn on Use webhook**

In LINE Developers Console, go to your channel → **Messaging API** and turn on **Use webhook**. BubblaV cannot turn this on for you.

**6. Turn off Auto-reply messages**

In LINE Official Account Manager, go to **Response settings** and turn off **Auto-reply messages**. You can also turn off the **Greeting message**. If you do not, customers get two answers.

**7. Test the connection**

Add your Official Account as a friend and send a test message. The LINE configure page in BubblaV shows the webhook status.

## Managing Your Integration

### View Connected Account

From the LINE configuration page, you can see:

* Official Account name and basic ID
* Connection status
* Webhook status (on, off, or pointing to a different URL)

### Disconnect Your Account

To remove the LINE integration:

1. Go to **Dashboard** → **Your Website** → **Integrations**
2. Find the LINE card and disconnect it

**Note:** Pausing or disconnecting in BubblaV stops replies. LINE keeps calling the webhook until you turn off **Use webhook** in LINE Developers Console.

## How Messages Are Processed

1. **Customer sends a message** → Message arrives at your LINE Official Account
2. **Webhook triggers** → LINE calls BubblaV. BubblaV checks the request signature with your channel secret
3. **AI analyzes question** → Your website's knowledge base is searched
4. **Response generated** → AI formulates an answer
5. **Sent to LINE** → Customer receives the response
6. **Conversation logged** → Message stored in your dashboard

## LINE Messaging Notes

* **Text messages only**: Stickers are ignored. Other message types get a prompt to type the question. During a human takeover, only text messages reach the inbox.
* **Messages are cut at 5,000 characters**.
* **Group chats are ignored**: Only 1:1 chats get replies.
* **AI replies use free reply messages**.
* **Agent replies use push messages**: Replies you send from the inbox are LINE push messages. They count toward the monthly message quota of your LINE plan. When the quota is used up, LINE rejects the send and the inbox shows the error.
* **One LINE channel per website**: A LINE Official Account can only be connected to one website at a time.

## Troubleshooting

### "Use webhook is off" Warning

1. In LINE Developers Console, go to your channel → **Messaging API** → **Webhook settings**
2. Turn on **Use webhook**
3. Reload the LINE configuration page in BubblaV to check the status

### "Channel secret does not match" Error

1. In LINE Developers Console, open the **Basic settings** tab of the same channel
2. Copy the **Channel secret** again
3. Connect again in BubblaV with the correct secret

### Invalid Token Error

1. Make sure you copied the full **Channel access token (long-lived)** from the **Messaging API** tab
2. Issue a new token if the old one was revoked or reissued
3. Connect again with the new token

### No Reply, or Two Replies

1. Turn off **Auto-reply messages** in LINE Official Account Manager → **Response settings**
2. Confirm **Use webhook** is on
3. Confirm the integration is active in your dashboard
4. Make sure you message the account in a 1:1 chat, not a group

## FAQ

> **Do I need a developer to set it up?**
>
> No. Copy the channel secret and the channel access token from LINE Developers Console and paste them into the BubblaV dashboard. BubblaV sets the webhook URL for you.

> **Does it reply in LINE groups?**
>
> No. Only 1:1 chats get replies. Group and room messages are ignored.

> **Can I connect the same Official Account to multiple websites?**
>
> No. A LINE Official Account can only be connected to one website at a time.

> **Do agent replies cost LINE messages?**
>
> Yes. Agent replies from the inbox are push messages and count toward your LINE plan's monthly quota. AI replies use free reply messages.

> **What languages does it support?**
>
> The AI supports 100+ languages and detects the language of the customer.

## Next Steps

* Set up your [Live Support](https://docs.bubblav.com/user-guide/live-support) to monitor conversations
* Improve your [Knowledge Base](https://docs.bubblav.com/user-guide/knowledge) content for better answers
* Explore other [Integrations](https://docs.bubblav.com/user-guide/integrations/overview.md) to connect more platforms


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.