Send the confirmation of a recent order to customers who link LINE after ordering

Published
App version
v0.2.64

When you turn on "Notify recent orders when connecting LINE" in Settings, the Flow trigger "Customer LINE connected from an order" also runs, with an order from the last 72 hours, for customers who link from an entry point that has no order.

The connection entry points card in the app's Settings, showing the switch to notify the recent order when a customer links, and the note that it starts a Flow trigger for orders from the last 72 hours (the admin is in Japanese)
The connection entry points card in the app's Settings, showing the switch to notify the recent order when a customer links, and the note that it starts a Flow trigger for orders from the last 72 hours (the admin is in Japanese)

“Notify recent orders when connecting LINE” has been added to the app’s “Settings”. When it is on, the Shopify Flow trigger “Customer LINE connected from an order” also runs with the order for customers who link LINE some time after ordering. You can use a workflow that sends order confirmations on LINE for customers who link later, too.

What changed

Until now, the trigger “Customer LINE connected from an order” ran only when a customer linked from an entry point that has an order (the thank you page, the order status page, or the order confirmation email link). If a customer who had not linked when ordering later linked from the theme block, the customer account profile or a similar entry point, the confirmation of that order was not sent.

From this update, in stores that turn the setting on, the following happens.

  • When a new link is completed from an entry point that has no order, the app looks for the customer’s latest order that was placed within the last 72 hours and has not been canceled.
  • If one is found, “Customer LINE connected from an order” runs once with that order.
  • If there is no order, only orders older than 72 hours, or only canceled orders, this trigger does not run. Linking is still completed.
  • The trigger “Customer LINE connected”, which runs for links without an order, runs as before.

How to use it

1. Turn the setting on

  1. Open “Settings” in the app.
  2. In the menu on the left, under “Customer linking”, choose “Linking entry points”.
  3. Turn on the “Notify recent orders when connecting LINE” switch. The change is saved as soon as you switch it.
  4. If “Allow the app to read orders.” appears, press “Allow reading orders” and allow it. The app uses it to look for the customer’s recent orders.

It is off by default. To stop it, turn the switch off.

2. Prevent duplicates in your workflow

Use Flow conditions so that the confirmation for the same order is not delivered twice.

  1. In Shopify Flow, open the workflow with the trigger “Customer LINE connected from an order” (create one if you do not have it).
  2. Before sending, add a condition that checks, for example with an order tag, whether the order has already been sent.
  3. After sending, add an action that adds that tag to the order.

💡 If both the order confirmation workflow that runs when an order is created and the workflow with this trigger check and add the same tag, the message is sent only once, whichever workflow sends it.

Notes

  • The period to look back is 72 hours and cannot be changed.
  • When a customer who was already linked with the same LINE account links again, the app does not look back for orders.
  • Linking from entry points that have an order works the same as before.
  • When reading orders is not allowed, or orders could not be read, the trigger does not run. Linking is completed.
  • Even if there are several orders in the last 72 hours, the trigger runs only for the latest one.

Back to all articles

View on the Shopify App Store