The admin has to add rules for coupon code generation and when the customer’s data will be ready to be pushed over HubSpot, then according to their HubSpot RFM rating, the rules coupons will be generated automatically.