Add a LINE connection button to your Orderly Emails emails

Published

Add a button to the order confirmation email you designed in Orderly Emails and paste JustFlow for LINE's "Email connection link" into "Links to", and customers can link LINE from the button in the email without logging in to your store.

The "Email connection link" section in the app's Settings, showing the description and the "Issue" button
The "Email connection link" section in the app's Settings, showing the description and the "Issue" button

Stores that use Orderly Emails (an app for designing Shopify notification emails) can add a LINE connection button to the order confirmation email designed in Orderly Emails. For the button’s link, use the “Email connection link” issued on JustFlow for LINE’s Settings page. Customers just press the button in the email and log in with LINE to link LINE as the customer of that order. They do not need to log in to your store.

How to set it up

  1. Open the app’s “Settings” and press “Issue” under “Email connection link”.
  2. If “Allow the app to read orders.” appears, press “Allow reading orders” and allow it.
  3. Copy the URL shown with “Copy”.

2. Paste it into an Orderly Emails button

  1. Open Orderly Emails from “Apps” in the Shopify admin, and press “Customize theme” on the email design you use.
  2. In the list of email types, choose the order confirmation email (Order confirmation).
  3. Press “Add section” below the list of sections and add a button section. You can drag the section to change where it appears in the email.
  4. Set the button text to something like “Get order updates on LINE”, and paste the copied URL unchanged into the “Links to” field.
  5. Press “Export to Shopify” and follow the steps to paste the order confirmation template code into Shopify’s notifications (“Settings” › “Notifications”) again.
  6. Place a test order and check that you can go from the button in the email all the way to linking LINE.

The Orderly Emails steps are also in the Orderly Emails help (using a button’s “Links to”, exporting to Shopify).

The parts of the URL such as {{ id }} are Liquid. Shopify replaces them with each order’s values when it sends the email. 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.

  • After you edit in Orderly Emails, the emails customers receive do not change until you paste the code into Shopify’s notifications with “Export to Shopify”.
  • Pressing “Reissue” in JustFlow for LINE changes the key, and links in previously sent emails stop working. After reissuing, paste the URL into the Orderly Emails button again and export to Shopify again.
  • The email link does not overwrite a customer who is already linked to a different LINE account.
  • The email link treats whoever presses it as the customer of that order. If the email is forwarded and someone else presses it, that person’s LINE is linked.
  • Stores that do not use Orderly Emails can paste the same URL into Shopify’s notification template. The steps are in “Customers can now link LINE from the order confirmation email, without logging in”.

Back to all articles

View on the Shopify App Store