...
Note: you need to change the new Date('2024-03-05T00:00:00')
to the expiry date
6️⃣ Import Unique Codes
Context: we want to assign prizes to users who redeem certain products
Input required:
PLUs of the eligible product
List of unique codes
Steps
- Create cohort in Amplitude
- Activate daily sync of the cohort
- Create a canvas for the email send out scheduled daily after the start of the sync
- Include in the email template the code snipped of the promotion code
Follow documentation to create code snipped to integrate the unique code in the messages https://www.braze.com/docs/user_guide/personalization_and_dynamic_content/promotion_codes/
If there are no remaining promotion codes available when sending test or live messages from a campaign that pulls in promo codes, the message will not send.