What you can do by integrating Shopify and LINE: setup steps and operating tips

What you can do by integrating Shopify and LINE: setup steps and operating tips

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.

What this article covers

  • The data imported by integrating Shopify and LINE, and when to use each sending method
  • The paths to ID linkage, the foundation of the integration, and where to place the first one
  • Setup steps and points to note for abandoned cart follow-ups and for purchase and shipping messages
  • How to use Segment broadcasts based on purchase data, Product Cards, restock alerts, and one-code-per-person coupons
  • The criteria for measuring revenue through LINE, and points to keep in mind when reading the numbers

The big picture: imported data and sending methods

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.

Data imported from Shopify

When you integrate, the following data is synced to Lumo, and changes on the Shopify side are reflected automatically.

TypeMain items
Customer dataLast name and first name, customer tags, number of purchases, total amount spent, last purchase date
Order dataOrder number, total amount, payment status, fulfillment status, order date and time
Abandoned cartsCheckout completion status, abandoned cart URL, number of items
Product dataProduct 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.

Data written back from LINE to Shopify

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.

When to use each sending method

After integrating, you choose among the following methods for sending on LINE according to the purpose.

PurposeSending methodExamples
Automated sends triggered by customer behaviorWorkflows (Shopify triggers) and Auto Send MessagesAbandoned cart follow-ups, purchase and shipping messages, restock alerts, browse reminders
Campaigns to a narrowed audienceMessage 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 friendsLINE notification messages (sent from Workflows; available for LINE Official Accounts in Japan)Order confirmation, shipping notice

Step 1: Link Shopify customers and LINE with ID linkage

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.

Paths you can place in your store

PathWhere it can be placedHow 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 accountsOn 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 pagesYou 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.

The first path to place

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.

Setup steps

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.

Points to note during setup

  • The LINE link button cannot be placed on legacy customer account pages. You need to switch to new customer accounts
  • To check the behavior before launch, register test viewers on the "ID linkage" tab of the Shopify integration. The button is then shown only to the customers you registered
  • The app embed for the LINE friend-add CTA must be enabled for each theme. When you change themes, enable it in the new theme as well
  • The QR code shown on computers expires after 10 minutes. To complete ID linkage, the customer needs to scan it while logged in to the store

In the CTA list, you can check views, clicks, friends added, and IDs linked for the last 30 days for each CTA.

Step 2: Set up abandoned cart follow-ups

An abandoned cart follow-up sends a message on LINE to customers who started checkout in Shopify but did not complete the purchase.

Which customers it applies to

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.

Setup steps

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.

The Workflow editor with a Cart Abandoned trigger followed by a condition branch, a delay, and a message send
A Workflow for abandoned cart follow-ups. Actions are added in order after the trigger
A LINE message showing the products left in the cart
An example of a message on LINE about products left in the cart

Points to note during setup

  • If the customer completes the purchase before the detection time has passed, the follow-up is not sent
  • Product Cards that use "Trigger products" are only for Auto Send Messages. They cannot be selected in a Message Broadcast
  • If you cannot find abandoned cart data, check the data sync status. "Connection check" in the "Settings" of the Shopify integration lets you check three items: the app, scopes, and webhooks

How to think about the detection time

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.

Step 3: Automate purchase and shipping messages

Messages about a completed purchase and a completed shipment are ones that customers need, and they are better received than promotional sends.

Workflow settings

The setup follows the same flow as the abandoned cart follow-up, with a different trigger.

TriggerWhen it firesAvailable settings
Purchase CompletedWhen a purchase is confirmedPurchase Type (All Purchases / First Purchase Only / Contains Specific Product)
Shipment CompletedWhen the shipment status of an order is updatedShipment 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.

Points to note during setup

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.

Notifications to customers who are not yet friends

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.

An order confirmation received as a LINE notification message
An example of an order confirmation delivered as a LINE notification message

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.

Step 4: Send Segment broadcasts based on purchase data

After automated sends, the next step is to change sends to everyone into sends narrowed by purchase data.

Main conditions available

ConditionDescriptionExample
Shopify ID linkedWhether the friend is linked or notInvite friends who are not linked to link their ID
Order countEqual to, at least, at most, or within a range of the number you specifyEncourage first-time buyers to make a second purchase
Days since last purchaseAt least or at most the number of days you specifyReach customers who have not bought for some time
Shopify tagCustomer tags assigned in ShopifyChange the message by membership tier
Abandoned cartWhether there is an incomplete checkout, and the time elapsedExclude 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.

The Segment editing screen, with order count and days since last purchase specified as conditions
The Segment editing screen. You can specify conditions such as order count and days since last purchase

Product Cards and Content Feeds

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.

Points to note when using "Best sellers"

  • Best sellers selects products in descending order of sales during the Sales period (the default is the last 30 days, adjustable from 1 to 365 days). Products with no sales are not shown
  • When sales data is limited, such as right after opening, there may be no products to show. For the time being, use a "Newest" feed, or specify fallback products to show instead
  • The message itself is not sent to friends for whom there is not a single product to show. In the broadcast report, these are counted as "Skipped"

Step 5: Use restock alerts and coupons

Restock alerts

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.

  • You use an Amp Back in Stock plan that supports webhooks (Medium or higher)
  • The customer has linked LINE, and the email address or phone number registered with Amp matches that customer's LINE link

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."

One-code-per-person coupons

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.

  1. Open Shopify from "Customer Data" in the side menu and click "Create campaign" under "Coupons." When you set the discount type, period, eligible products, maximum number of coupons, and so on, and save, the discount codes are issued automatically in your Shopify store
  2. From "Insert variable" on the message editing screen, insert the coupon code or the coupon link from the "Shopify coupons" group. The coupon link is a URL that applies the discount automatically when tapped
  3. Distribute it with a Message Broadcast or a Workflow (a thank-you for ID linkage, a thank-you for a purchase, and so on)
  4. Check receipt and redemption in each friend's activity. The record shows which code was used in which order

The points to note are as follows.

  • This feature does not restrict use of a code to the person who received it. A shared code may be used first by someone else
  • Test sends also issue real codes and count toward the number distributed. A code used in a test remains used in production
  • When the maximum number of coupons is reached, the message itself is not sent to friends who have not yet received a code. You can change the maximum later

Step 6: Measure revenue through LINE

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.

Attribution criteria

  • An order is attributed to LINE when a link in a LINE message was clicked within the 5 days before the order
  • When there are several clicks in the period, the order is assigned to the last click, the one closest to the order
  • Attribution applies to orders where the LINE friend and the Shopify customer are linked. While ID linkage has not progressed far, the share through LINE appears on the low side

Points to keep in mind when reading the numbers

  • Revenue per broadcast is totaled by the date of the click, while the conversion report is totaled by the date of the order. The figures for the same broadcast may therefore differ
  • This attribution follows Lumo's own definition. GA4 and the Shopify admin differ in what they count and how, so the figures do not match. When you share figures, we recommend stating which definition they follow
  • Creating analytics reports is available on the Business plan or higher

Asking the AI agent

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.

How much does the sending volume change?

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 everyoneNarrowing the audience with purchase data
AssumptionsFour sends a month to 10,000 friendsOf 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 sent40,00010,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.

Where to start

We recommend proceeding in the following order.

OrderInitiativeReason
1Set 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
2Purchase and shipping messagesCustomers need these messages, so they are well received, and they also give a reason to ask for ID linkage
3Abandoned cart follow-upsResults are easy to see in numbers, which gives grounds for continuing the work internally
4Segment broadcasts based on purchase data, Product CardsThe more linked customers you have, the greater the effect of narrowing
5Restock alerts, coupons, browse remindersThese need other apps to be prepared or offers to be designed, so work on them after the basic sends are established

Three common issues

Making the number of friends the goal

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.

Only one path to linkage

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.

Not being able to change the habit of sending to everyone

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.

Frequently asked questions

Can I use the Shopify integration on the free plan?

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.

What if I use legacy customer accounts?

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.

Can I move from another LINE integration tool?

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.

Can I integrate multiple Shopify stores?

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.

What should I do if I also send email with Klaviyo?

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.

Getting started

  1. Install Lumo from the Shopify App Store
  2. Open the Lumo app in the Shopify admin, approve access, then sign in to Lumo and select the LINE Official Account to integrate
  3. Following the confirmation checklist, configure LINE Login and place the LINE link button
  4. Activate one Workflow: either purchase and shipping messages or an abandoned cart follow-up

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.

Summary

  • Integrating Shopify and LINE lets you vary the audience and content of LINE sends based on purchase data such as the number of purchases and the last purchase date
  • The foundation is ID linkage. Start by placing the LINE link button on the Thank you page, then add paths on pages across the store
  • For automated sends, start with purchase and shipping messages and abandoned cart follow-ups. Note that they apply to customers whose IDs are linked
  • Revenue through LINE can be measured for orders within 5 days of a click. The more linked customers you have, the closer the figures are to reality

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.

Back to blog