You can base it on things like buying a specific product, buying a certain quantity, or reaching a minimum cart total. You decide the condition when you create the rule.