In this chapter, we are presenting a marketing campaign divided into steps:
- 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 analysis of the results
This recipe shows step 2 of the campaign.
After an opportunity is detected, we decide to generate a campaign for all customers. To direct promotions and avoid duplication, we will generate a 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 remainder 200,000 will be directed to customers through SMS and emails, as we will see later
These...