How can I improve my automation conditions for email marketing?

I have an automation that people enter when they subscribe to my lead magnet n my site: https://youmiia.com/

They enter this automation and get value emails with soft sells and then there is a sale at the very end for people who have not bought anything up to that point of the automation.

Basically, I have it set up with 4 different branches right now (each branch starts with the number of orders that customer has made: 0, 1, 2 or 2) and where there are conditions set up, I ask using a condition if the order number is the same as the start of the branch.

I want it to be set up so that it is just one line instead of 4+ and where I have the conditions, I can basically ask if the person in the automation has made a purchase since they first entered it.

If they haven’t made a purchase, I send them a sale email with a discount code. If they have made a purchase, they leave the automation and are added to the weekly newsletter.

I want a condition that essentially asks “did the customer make a purchase since they started this automation?”

Can someone tell me how to do this please? :slightly_smiling_face: