How do you connect a CRM to LINE Official Account?

Updated · 6 min read

How the Messaging API connects the two systems

A LINE Official Account is the business profile that customers add as a friend. The Messaging API lets a developer receive what happens on that account and send messages in return. When a customer follows the account, sends a message or unfollows, LINE calls a webhook URL that you control, and your system records the event.

The CRM sits behind that webhook. It stores the event, works out which contact it belongs to, and shows the conversation next to the rest of the customer's history. Replies and scheduled pushes travel the other way through the same API. The exact event names, message types and limits are listed in LINE's developer documentation, which changes, so check it before you design anything.

Linking a LINE user to a CRM contact with consent

A LINE user ID is a technical identifier. It tells you that a person messaged your account, not who they are. Joining it to a contact record is a decision about personal data, so it should happen with the person's knowledge. The usual pattern is a short binding step: the customer adds the account, receives a one-time link or code from your team, and confirms it in the chat or on a web page where they sign in.

Do not match LINE users to contacts by guessing from display names or from phone numbers you hold. A wrong match sends one customer's messages into another customer's record, which is a serious privacy problem. Record when the consent was given, what it covered and how to withdraw it, and keep that record with the contact.

Rich menus, push messages and broadcasts

Three kinds of sending cover most business needs, and they behave differently. A reply answers a message the customer just sent, and it uses a reply token that LINE provides with the webhook and that is valid only briefly, so check the documentation for its limits. A push sends a message to a specific user at any time, and it counts against your message allowance. A broadcast or narrowcast reaches many followers at once, and narrowcast targets an audience you define.

A rich menu is the fixed menu panel at the bottom of the chat. It is useful for routing customers to a booking page, a price list or a human agent, and it can be changed per audience. Check LINE's current message plans and charges on its pricing page before you promise a monthly send volume, because the allowance and the cost per message depend on your plan.

  • Use replies for immediate answers to a customer's question.
  • Use push messages for personal follow-ups, such as a booking reminder that the customer asked for.
  • Use broadcasts or narrowcasts for offers only to people who opted in to that kind of message.
  • Use rich menus to send customers to the right path, not to pile on promotions.

LINE Login and linking a web account

LINE Login lets a customer sign in to your website or app with their LINE account. It is a different product from the Messaging API, but the two are often used together. A customer who signs in with LINE on your site can be linked to a CRM account in one step, and the link is usually more reliable than a manual code.

LINE Login asks the customer for permission to share profile details. Only request what you need, show the customer what you will do with it, and check LINE's current documentation on the scopes and consent screens before you build the flow.

Taiwan, Japan and Thailand: what changes by market

LINE is the main messaging app for many customers in Taiwan, and it is widely used in Japan and Thailand. A business in those markets can expect customers to prefer chat over email, and that changes the sales and service process, not only the technology. Agents need a shared inbox, a clear rule for who answers, and a way to hand a conversation to a colleague without losing context.

Privacy rules still apply to every message you store. Confirm what your local privacy law requires for storing chat content, and tell customers in your privacy notice that LINE conversations are kept in the CRM. If you sell into more than one market, keep one set of consent records that works for each.

Mistakes that cause the most trouble

Most LINE integrations that fail were planned as a broadcast tool and then used for personal service, or the reverse. Agree the purpose first, then design the sending rules around it.

  • Linking users to contacts by display name, which merges different people.
  • Sending promotions to every follower, which leads to blocks and unfollows.
  • Treating a webhook as reliable without a retry and a log, so some messages go missing.
  • Forgetting that a customer who unfollows the account may not be reachable again until they add it back.
  • Storing chat content without telling customers, or keeping it longer than the purpose needs.

How Hundred Seas helps

Hundred Seas is a product studio in Taipei that builds AI CRM systems and AI agents. For a LINE project, we can design the webhook receiver, the consent-based linking step and the shared inbox your agents work from. We build on Claude and on OpenAI models, and we choose the model for each task on cost, speed, quality and where your customers' data has to stay.

We start with a scope step of about one week at a fixed price, ending in a written plan, a clickable prototype and a firm quote. The build then runs in weekly releases over two to four weeks, and a monthly run plan keeps the system and its LINE connection up to date.

Questions

Do I need a LINE Official Account to connect a CRM?
Yes, for business messaging through the Messaging API you need an official account set up in LINE's business tools. A personal LINE profile cannot be connected in this way. Check LINE's current account and developer documentation for the steps and any requirements that apply in your market.
How do I match a LINE user to the right customer in my CRM?
Use a consent-based binding step. Send the customer a one-time link or code, and link the LINE user ID to the contact only after they confirm it. Do not match by display name or guessed phone number, because that can join two different people into one record.
Can I send marketing messages to all my LINE followers?
You can use broadcast or narrowcast tools, but only to followers who agreed to receive that kind of message. Keep promotions separate from service messages, offer an easy way to stop, and check LINE's current guidelines on messaging before you send a campaign.
What is the difference between LINE Login and the Messaging API?
The Messaging API lets your system send and receive chat messages on your official account. LINE Login lets a customer sign in to your website or app with their LINE identity. They solve different problems, and many projects use both, with Login used to link an account and the API used for the conversation.
Who should answer LINE messages once the CRM is connected?
Set a clear owner for each conversation, usually a shared inbox with assignment rules, and a rule for outside office hours. Automated replies can handle simple questions, but a person should take over anything about pricing, complaints or refunds.

Have a project in mind?

Tell us what you want to build. We reply with a plan, not a sales call.

AboutHow do you connect a CRM to LINE Official Account?