Shopify holds data on who bought what, and when. Yet many stores send the same content to every friend of their LINE Official Account. First-time buyers and frequent buyers receive the same message, so costs, which depend on the number of messages sent, add up, and the messages become a cause of blocks.
This article explains how to integrate Shopify and LINE and send on LINE based on purchase data, together with the setup steps and points to note. We have helped companies connect LINE with their customer data since 2019, and our service, including its predecessor, has been used by 250 companies. We also share the order of work we recommend and our rules of thumb for operation.
Integrating Shopify and LINE requires an integration app. Lumo is an app for using Shopify customer, order, and product data for sending from a LINE Official Account. The rest of this article describes setup and operation when using Lumo.
When you integrate, the following data is synced to Lumo, and changes on the Shopify side are reflected automatically.
| Type | Main items |
|---|---|
| Customer data | Last name and first name, customer tags, number of purchases, total amount spent, last purchase date |
| Order data | Order number, total amount, payment status, fulfillment status, order date and time |
| Abandoned carts | Checkout completion status, abandoned cart URL, number of items |
| Product data | Product name, price, inventory quantity, product tags, product status |
Orders are imported from the whole store. With the Lumo app distributed on the Shopify App Store, orders from the past 60 days are imported right after integration. Email addresses and phone numbers are, by default, set not to be used for displaying friend information or for sending.
The LINE follow status (following or blocked) and the date the friend was added are written back to the customer information in Shopify. This lets you see in the Shopify admin which customers are linked with LINE.
After integrating, you choose among the following methods for sending on LINE according to the purpose.
| Purpose | Sending method | Examples |
|---|---|---|
| Automated sends triggered by customer behavior | Workflows (Shopify triggers) and Auto Send Messages | Abandoned cart follow-ups, purchase and shipping messages, restock alerts, browse reminders |
| Campaigns to a narrowed audience | Message Broadcast (with a Segment based on purchase data as the recipients) | Early access for repeat customers, messages to lapsed customers |
| Notifications to customers who are not yet friends | LINE notification messages (sent from Workflows; available for LINE Official Accounts in Japan) | Order confirmation, shipping notice |
ID linkage is the foundation for everything else. ID linkage means linking Shopify customer information and a LINE friend as one and the same customer. Filtering by purchase data, purchase messages, and measuring revenue through LINE all apply to customers whose IDs are linked.
| Path | Where it can be placed | How it works |
|---|---|---|
| LINE link button (Lumo LINE ID Link) | The new Thank you and Order status pages, and the Profile and Orders pages of new customer accounts | On smartphones, the customer goes directly to LINE. On computers, a QR code popup appears. The profile shows the linkage status and the date of linking |
| LINE friend-add CTA (Lumo LINE CTA) | Pages across the store, such as the home, product, collection, and cart pages | You choose from four types: Floating, Popup, Bar, and Inline. Logged-in customers are guided to add the account as a friend and link their ID at the same time |
The LINE friend-add CTA changes what it shows automatically according to the customer's state. Customers who are not logged in are guided only to add the account as a friend, and the CTA is not shown to customers whose IDs are already linked. If you are moving from another LINE integration tool, you can also use a feature that imports the ID links you have already made.
If you are unsure where to begin, we recommend placing the LINE link button on the Thank you page. Right after a purchase, the customer is already identified, so linking is complete with a single tap of the button. It is also the moment when the customer is waiting for a shipping update, so the invitation is well received.
After that, place the LINE friend-add CTA on pages across the store to increase contact with customers before they buy.
1. Configure LINE Login
Follow the confirmation checklist that appears once the integration is complete. If LINE Login is not configured, the LINE link button does not work correctly.
2. Place the LINE link button
In the Shopify admin, open the checkout and accounts editor from "Settings" > "Checkout," and select the page to place it on (Thank you, Profile, Orders, or Order status). Add "Lumo LINE ID Link" as an app block and save. You need to add it to each page where you want it to appear.
3. Create a LINE friend-add CTA and enable it in the theme
In Lumo, select the LINE Official Account and click "Create CTA" under "CTA" in the side menu. Set the type, wording, offer, and display conditions, and save. Then open "App embeds" in the Shopify theme editor, turn on "Lumo LINE CTA," and save.
In the CTA list, you can check views, clicks, friends added, and IDs linked for the last 30 days for each CTA.
An abandoned cart follow-up sends a message on LINE to customers who started checkout in Shopify but did not complete the purchase.
It applies to customers whose IDs are linked, and to customers who came to the store from a link in a LINE message. To include the latter, the "Lumo LINE CTA" app embed must be enabled in the theme.
Note that a customer who only adds a product to the cart without proceeding to checkout is not detected.
1. Create an Auto Send Message
In a Card Type Message, select "Product" as the card type and specify "Trigger products" as the data source. Choosing "Abandoned cart follow-up" from the templates creates a message that shows the products left in the cart and a link to resume the purchase.
2. Create a Workflow
From "Automation" > "Workflows" in the navigation menu, click "Create Workflow." In the start node, select the LINE Official Account and add "Cart Abandoned" as the trigger.
3. Set the Abandonment Detection Time
Set how much time must pass after an incomplete checkout was last updated before it is treated as abandoned. You can choose from immediately, 1 hour, 6 hours, 12 hours, 24 hours, 48 hours, and 72 hours later. The default is 72 hours later.
4. Add an action and activate
Add "Auto Send Message" as the action and select the message you created in step 1. A Workflow does not send anything until you activate it.
A shorter detection time lets you reach customers while their interest in buying is still high. If you start with the default of 72 hours, the message arrives three days later. We therefore recommend setting it somewhere between a few hours and one day, and adjusting it while watching clicks and purchases.
Messages about a completed purchase and a completed shipment are ones that customers need, and they are better received than promotional sends.
The setup follows the same flow as the abandoned cart follow-up, with a different trigger.
| Trigger | When it fires | Available settings |
|---|---|---|
| Purchase Completed | When a purchase is confirmed | Purchase Type (All Purchases / First Purchase Only / Contains Specific Product) |
| Shipment Completed | When the shipment status of an order is updated | Shipment Status (Any / Fully Shipped / Partially Shipped) |
If you select "First Purchase Only" for Purchase Type, you can, for example, send usage tips or a coupon for the next purchase only to first-time buyers. Combining it with the "Delay" action (up to 7 days) also lets you send a message several days after the purchase.
The Purchase Completed and Shipment Completed triggers fire only for orders from customers whose IDs are linked. They do not fire for guest orders without customer information. Progress with ID linkage through the paths in Step 1 is therefore a prerequisite.
If you place the "Send LINE Notification Message" action right after the trigger and turn on "Also send to people who are not friends," you can send one LINE notification message, based on the phone number, to customers who are not friends. A tap on the button in the notification can also lead to ID linkage. LINE notification messages are a feature for LINE Official Accounts in Japan.
Note that LINE notification messages are available on Lumo's Enterprise plan, and a review and procedures that depend on the use are also required.
After automated sends, the next step is to change sends to everyone into sends narrowed by purchase data.
| Condition | Description | Example |
|---|---|---|
| Shopify ID linked | Whether the friend is linked or not | Invite friends who are not linked to link their ID |
| Order count | Equal to, at least, at most, or within a range of the number you specify | Encourage first-time buyers to make a second purchase |
| Days since last purchase | At least or at most the number of days you specify | Reach customers who have not bought for some time |
| Shopify tag | Customer tags assigned in Shopify | Change the message by membership tier |
| Abandoned cart | Whether there is an incomplete checkout, and the time elapsed | Exclude customers with an abandoned cart from the recipients of a sale announcement |
You can combine several conditions. For example, you can specify "ID linked, and at least three purchases, and within 30 days of the last purchase." You can also use whether a customer viewed a product as a condition.
A Product Card is a message that lays out product images, product names, prices, and buttons. The products shown are selected automatically at each send according to the conditions of a Content Feed, so you do not need to register them one by one.
You create a Content Feed from "Broadcasts" > "Content Feeds" in the menu. Under "Content to display," choose Best sellers, Newest, On sale, Recently viewed, or Hand-picked, and narrow further by collection, price, inventory, Shopify tag, and so on as needed. A saved feed can be used repeatedly in multiple sends.
Restock alerts work through integration with the Shopify app "Amp Back in Stock." When Amp notifies the people who signed up for a restock alert, a Product Card is also sent on LINE.
The following conditions apply.
To set it up, first register the Webhook URL shown under "Amp Back in Stock" on the Shopify settings screen in Lumo as a webhook in Amp, and select "notification/sent" as the event to send. Next, register your Amp API key in Lumo. Finally, create a Workflow with the "Restock (Amp)" trigger, add "Auto Send Message" as the action, and select a Product Card whose data source is "Trigger products."
Note that a test send from Amp is only for checking the connection, so no LINE message is sent. Also, if you choose "Send LINE Notification Message" as the action, the Product Card is not displayed correctly, so be sure to use "Auto Send Message."
With coupon campaigns, you can distribute a different Shopify coupon code to each friend on LINE. A code can be used only once, and the same friend receives the same code no matter how many times you send it.
The points to note are as follows.
In Lumo's Reports, you can check the number of orders and the revenue attributed to LINE (LINE-attributed revenue), and their share of total revenue. Because orders are imported from the whole store, you can see how much of the store's total revenue comes through LINE.
Lumo includes the Marketing Agent, which supports your LINE operation. When you tell it your goal, such as "Create a LINE message for abandoned carts" or "I want to encourage first-time buyers to make a second purchase," it proposes the audience conditions, the message content, and the Workflow structure.
After reviewing a proposal, you select "Execute" or "Not now." Scheduling and sending a broadcast and activating a Workflow always require approval, and the AI never sends without approval.
The cost of a LINE Official Account depends on the number of messages sent. Being able to narrow the audience therefore also leads directly to lower costs. Here is an estimate with hypothetical figures.
| Sending to everyone | Narrowing the audience with purchase data | |
|---|---|---|
| Assumptions | Four sends a month to 10,000 friends | Of the four sends a month, one goes to everyone. The other three go only to the relevant customers (assumed to be 20% of the total) |
| Messages sent | 40,000 | 10,000 + 2,000 × 3 sends = 16,000 |
In this example, the volume of campaign sends falls by 60%. On the other hand, automated sends such as abandoned cart follow-ups and purchase messages are added. If there are 500 orders and 300 abandoned cart sends a month, the added sends come to about 800 messages. The idea is to increase the messages customers need and reduce mass sends of little relevance.
We recommend proceeding in the following order.
| Order | Initiative | Reason |
|---|---|---|
| 1 | Set up paths to ID linkage (the LINE link button on the Thank you page, CTAs in the store) | Unless ID linkage progresses, the later initiatives do not reach customers |
| 2 | Purchase and shipping messages | Customers need these messages, so they are well received, and they also give a reason to ask for ID linkage |
| 3 | Abandoned cart follow-ups | Results are easy to see in numbers, which gives grounds for continuing the work internally |
| 4 | Segment broadcasts based on purchase data, Product Cards | The more linked customers you have, the greater the effect of narrowing |
| 5 | Restock alerts, coupons, browse reminders | These need other apps to be prepared or offers to be designed, so work on them after the basic sends are established |
The number of friends has grown, but the store cannot tell which Shopify customer each friend is. We recommend tracking the number of linked customers and their share as metrics alongside the number of friends.
If the button is placed only on the account page, only customers who visit that page have the chance to link. We recommend placing several paths where customers pass, such as the Thank you page and pages across the store.
The integration is complete, but every send still goes to everyone as before. We recommend starting by replacing the recipients of one send a month with a Segment.
Yes, the Shopify integration is available from the Free plan. However, some features have plan requirements. For example, LINE notification messages require the Enterprise plan, and creating analytics reports requires the Business plan or higher. For details, please see the pricing page.
The LINE link button cannot be placed on legacy customer account pages. Switch to new customer accounts, then place it from the checkout and accounts editor. The LINE friend-add CTA shown on pages across the store is a separate feature that you set up in the theme editor.
Yes. With ID link import, you can carry over the ID links made in another tool, so customers do not need to link again. Connect the same LINE Official Account as in the previous tool to Lumo, and complete the import before you cancel the previous tool.
One LINE Official Account can be integrated with one Shopify store. If you run several stores, prepare a LINE Official Account for each store and integrate them.
If you integrate Klaviyo along with Shopify, you can run email and LINE as a single scenario. For example, you can send the abandoned cart message by email and then send on LINE only to customers who did not open it. The setup steps are explained in What you can do by integrating Klaviyo and LINE.
The Shopify integration is available from Lumo's free plan. For pricing details, please see the pricing page. The detailed setup steps are in the user guide.
Our page for Shopify users is here. For the basics of the LINE Official Account, please see What is a LINE Official Account?, and for the thinking behind connecting email and LINE, What is omnichannel? Designing customer experience by connecting email and LINE.