Tag orders if customer placed more than 1 order in the last 24h

Modified on Wed, 14 Oct at 10:40 AM

It often happens that online stores receive multiple orders from the same customer within a short period of time (either by mistake or intentionally). If all the orders are shipped and the customers refuse them, the return rate increases, leading to higher costs for the online store.

To avoid these situations, we have implemented a Flow that helps identify multiple orders from the same customer within a specific time frame.


The flow is triggered whenever a new order is placed and checks whether the same customer has placed other orders within a specified time window.

If multiple orders are found, the "client-with-multiple-orders" tag is added to all orders within that time window, not just the new one.The tag is visible in Shopify and in the xConnector order list, where you can filter orders by this tag.


By default, the time window is set to 24 hours, but it can be customized directly in the flow. For example, you can extend it to 3 or 4 days to also capture orders placed over the weekend.


We recommend 3 days (72 hours) if you typically ship orders within 1–2 business days. This helps avoid unnecessarily flagging customers who legitimately place frequent orders.


Purpose of the tag

The goal is to identify potential duplicate orders before the first order is shipped. This allows you to combine multiple orders into a single shipment or cancel a duplicate order.

The time window should therefore cover the period during which an order remains unshipped, rather than a calendar day.



Example: A customer places one order on Friday evening and another on Sunday afternoon. Both orders will be processed on Monday.

Since the orders were placed nearly 48 hours apart, a 24-hour window would not detect them as related. A 72-hour window would.

How customers are identified

Customers are identified through their Shopify customer records.

Normally, Shopify associates orders placed with the same email address with the same customer, even if the orders were placed without creating an account.

However, if the same customer uses different email addresses, those orders will not be linked together.


Steps to Implement the Flow: 

  1. Shopify > Apps > Flows

  2. Import and Activate the Flow (see attached)


As a result:


All orders placed by the same customer within 24 hours will have a saved tag displayed in both Shopify and xConnector. In xConnector, you can filter these orders by the tag to manage each case individually.



The flow is currently set for 24 hours, but it can be modified. You just need to edit, adjust, and save the existing flow.


If you wish, you can modify the 24-hour interval to 72 hours to cover 3 days (taking into account the weekend as well).



How the tag is displayed in Shopify: 



How the tag is displayed in xConnector:




Based on this tag, you can filter the orders so that the application will display only the orders placed by the same customer within the set timeframe.






This feature is available to Advanced plan


Feel free to contact us if you need any further information:


Chat: click on the blue chat icon (bottom-right)

E-mail: support@xconnector.app

Phone: +4 0373 747 991



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article