Creating personalized coupon codes
In this chapter, we are presenting a marketing campaign divided into several tasks:
- Detect the best moment to launch the campaign
- Generate individual codes to be sent to potential customers
- Send the codes directly to users over their preferred channel, text message or email
- Collect the results of the campaign
- Generate a sales report with an analysis of the results
This recipe shows task 2 of the campaign.
After an opportunity has been detected, we decide to generate a campaign for all customers. To direct promotions and avoid duplication, we will generate 1 million unique coupons, divided into three batches:
- Half of the codes will be printed and distributed in a marketing action.
- 300,000 codes will be reserved to be used later if the campaign hits some goals.
- The remaining 200,000 will be directed to customers through SMS and emails.
These coupons can be redeemed...