Customers can now link LINE from the order confirmation email, without logging in
- Published
- App version
- v0.2.27
Paste the "Email connection link" issued on the Settings page into your order confirmation email, and customers can link LINE from the link in the email without logging in to your store.
You can now issue an “Email connection link” for your order confirmation email on the app’s Settings page. Customers just press the link in the email and log in with LINE to link their LINE account as the customer of that order. They do not need to log in to your store.
Until now, linking required logging in to the store. Because customers can link from the email they receive right after ordering, it is easier to invite customers who are not logged in.
What changes
- Customers can link from the link in the order confirmation email. The link is created for each order and signed with your store’s key. A link that has been altered cannot be used to link.
- The person who presses the link and logs in with LINE is treated as the customer of that order and is linked. No confirmation page is shown in between.
- The existing ways to link (the thank you page, the order status page, the theme block, the customer account profile, and the linking page) still work as before.
- When a customer links from the email link, workflows built on the Shopify Flow trigger “Customer LINE connected” also run. If the customer presses the link again with the same LINE account, they do not run again.
How to use it
- Open the app’s “Settings” and press “Issue” under “Email connection link”.
- If “Allow the app to read orders.” appears, press “Allow reading orders” and allow it. The app uses it to identify the customer from the link’s order.
- Copy the URL shown with “Copy”.
- In the Shopify admin, edit the template under “Settings” › “Notifications” › “Order confirmation”, and paste the copied URL unchanged into the URL of a button or link that invites customers to link LINE. If you use an email app such as Orderly Emails, paste it into the button link.
- Place a test order and check that you can get through to linking LINE from the link in the email.

When you paste it into the notification template, write it like this, for example.
<a href="(the copied URL)">Get order updates on LINE</a>
The parts of the URL such as {{ id }} are Liquid. They are replaced with each order’s values when the email is sent. Paste the URL without changing it.

Notes
⚠️ The copied URL contains your store’s key for signing links. Do not paste it anywhere other than your email template, and do not show it to anyone. The emails that reach customers contain only the signature, not the key.
- Pressing “Reissue” changes the key, and links in previously sent emails stop working. After reissuing, paste the URL into your email template again.
- Pressing “Disable” stops linking from email links.
- The email link does not overwrite a customer who is already linked to a different LINE account. The customer is told to log in to the store and change it from the linking page.
- The email link treats whoever presses it as the customer of that order. If someone the email was forwarded to presses it, that person’s LINE account is linked.
The information received when a customer links from the email link (only the customer ID of the link’s order is retrieved from Shopify; no other order information is retrieved) is described in the Privacy Policy.