This automation triggers a sequence of emails after your contacts abandon their carts. It uses a conditional for segmenting contacts based on lead scoring and generates a coupon based on their scoring level. After the coupon is generated on your website, it sends an email with a different coupon code ( and with a different discount).
This automation uses tags to identify lead scoring, but you can use ActiveCampaign's native lead scoring instead.
Note that it requires you to have e-commerce abandoned cart integration in your account. Otherwise, you can add another trigger for identifying contacts who abandon their carts.