Condition to check if a customer has placed any orders since the start of the workflow

I’ve been trying to read up on a solution regarding entering in a condition to remind customers to repurchase, but only if they haven’t done so already. I see that the order.createdAt has been suggested, to check that the last order still matches the one that started the flow, however when this is selected, I need to enter in a date. As every customers date will vary, this doesn’t seem like an option. Here is the work flow currently.

  1. Order created

  2. Tag of order is equal to a specific product range

  3. Wait 28 days

  4. Check that the customer has not bought anything else in this timeframe - ISSUE with this condition

  5. Send marketing email to remind them to stock up again

When I select the order.createdAt condition, I can only enter in a date so this doesn’t seem right. I don’t want to use any additional apps. Surely there must be a solution that exists within Shopify to cross check whether a customer has subsequently purchased a product?

Have you considered this? Basically, if customers last order is this one, then no newer orders were placed?

Thank you Tim, I have added this condition and hopefully it works.