TriloAI

Integration

Automatic order and shipping messages from Shopify on LINE

Connecting Shopify to a LINE Official Account sends customers a LINE message when they order, pay or their order ships, and answers order-status questions in LINE by looking up Shopify. Shopify sends a notice (webhook) when an order is created, paid, fulfilled or cancelled; TriloAI receives it with n8n and messages customers through LINE's Messaging API, as long as they have added your account and linked their LINE account to their order details. A single notice workflow usually launches in 1–2 weeks, and linking, notices and order lookup together in 3–6 weeks.

Systems involved

  • Shopify
  • LINE Official Account (Messaging API)
  • n8n integration tool (cloud or self-hosted)
  • Google Sheets or a database (for links and send logs)

Time to launch

A single workflow, such as shipping messages, usually takes 1–2 weeks; linking, order and shipping messages and order lookup together count as cross-system integration and usually take 3–6 weeks. Adding AI answers for general questions follows the standard LINE AI customer service build of about 4–6 weeks.

What runs automatically once connected

Customers link their LINE account to their orders

Starts when: A customer adds your LINE Official Account and taps a link-my-orders button

  1. 1Ask for an order number and the email or phone used to order
  2. 2Check the details against Shopify and link only when they match
  3. 3Connect the LINE account to the Shopify customer record and tell the customer they can unlink at any time

Result: From then on, this customer's order messages go straight to their LINE.

Order, payment and shipping messages

Starts when: Shopify reports a new order, a completed payment or a shipment

  1. 1n8n receives Shopify's notice and finds the customer
  2. 2If the customer has linked LINE, send the order number, items and a tracking link
  3. 3Log customers who aren't linked or whose message failed, and email them instead

Result: Customers stop asking for updates because they hear the moment the order ships.

Order lookup in LINE

Starts when: A customer types order status in LINE or taps the rich menu

  1. 1Identify which customer this LINE account is linked to
  2. 2Look up their recent orders and tracking numbers in Shopify
  3. 3Reply in LINE; hand returns, refunds and complaints to a person with the full conversation

Result: Support stops looking up orders one by one and only handles the special cases.

Stuck orders flagged to your team

Starts when: An order is cancelled, or is still unshipped a set number of days after payment

  1. 1n8n checks Shopify order status and finds stuck orders
  2. 2Send the list to the person in charge of shipping
  3. 3When needed, message the customer on LINE with an update you approve first

Result: Delayed orders get followed up before customers have to complain.

What to prepare

  • Shopify admin access to create an app for the integration and grant access to orders
  • Admin access to your LINE Official Account, with the Messaging API enabled in the account settings
  • Which events trigger a message, such as order, payment, shipment or cancellation, and the wording
  • How customers will link their LINE account, and any additions to your privacy policy
  • Tracking numbers entered in Shopify when orders ship, so messages can include a tracking link
  • Who handles returns, refunds and complaints

Good to know first

  • Only customers who added your Official Account and finished linking get LINE messages. Customers who haven't linked are emailed instead.
  • Customers who block your Official Account no longer receive LINE messages.
  • Messages you send proactively count toward your LINE Official Account plan's monthly message allowance; immediate replies to customer messages do not. With high order volume, check your plan first.
  • Tracking and delivery status are only as current as the data in Shopify; if no tracking number was entered, there is nothing to look up.
  • LINE Notify ended service on March 31, 2025, so LINE messages now go through the LINE Official Account Messaging API.

Frequently asked questions

Can Shopify send LINE messages to customers automatically?
Yes, but customers must first add your LINE Official Account. Only when a customer adds the account or sends a message does the system get the LINE account ID needed to message them; the customer then enters their order details to link, and messages can reach them. Customers can unlink at any time.
Can we still use LINE Notify?
No. LINE Notify ended service on March 31, 2025. Messages now go through the LINE Official Account Messaging API, and we help with enabling and setting it up.
Will messages use up a lot of our message allowance?
Messages you send proactively count toward your LINE Official Account plan's monthly allowance, while immediate replies to customer messages do not. We estimate your monthly volume from your order numbers and suggest a suitable plan; LINE's official site has the current plan details.
What about other questions customers ask on LINE?
Questions beyond order status can go to a person, or you can add LINE AI customer service to answer common questions from information you approve. We recommend leaving returns, refunds and complaints to a person, who sees the full conversation before replying.
We already installed a LINE app for Shopify. Do we need this?
Not necessarily. Ready-made apps fit standard messages; a custom n8n setup makes sense when you also need your CRM or warehouse system involved, or your messaging rules are unusual. We review your current setup before recommending anything.
How long does it take to launch?
A single workflow, such as shipping messages, usually takes 1–2 weeks. Linking, order and shipping messages and order lookup together usually take 3–6 weeks. Adding AI answers for general questions follows the standard LINE AI customer service build of about 4–6 weeks.

Check how your systems connect first

Bring the systems you use and how you work today. In a free 30-minute call we check whether they can connect and which part to start with. Pricing is scoped to your needs.

Book a free 30-minute consultation