Hello all!
I'm hoping one of you amazingly intelligent people can help me work out a problem.
We occasionally send coupon codes to very specific segments of our users. For the purposes of the steps below, we basically have a standard Contact entity which has a relationship with our Codes entity. The current process to assign and send unique codes looks like this:
- We set up a static segment per specific marketing requirements
- We generate coupon codes externally, based on number of coupon codes needed for members in first step
- We pull down segment members from the Contact entity to grab a unique identifier
- We export a few previous entries from the Codes entity, just to use as a template
- We import back into the Codes entity, which links our generated coupon codes with a particular Contact by using the unique identifier
- We then use an each-if statement in a marketing email to send the unique coupon codes out via customer journey
This works great. However, I would like to be able to use this process with a dynamic segment. I imagine it looking like this:
- We set up a dynamic segment per specific marketing requirements
- We generate coupon codes externally, based on number of coupon codes needed for members in first step; we also generate an additional 20%, just for any new members that enter this segment while the associated customer journey is running
- We pull down current segment members from the Contact entity to grab a unique identifier
- We export a few previous entries from the Codes entity, just to use as a template
- We import back into the Codes entity, which links our generated coupon codes with a particular Contact by using the unique identifier; we also import the remaining 20% of coupon codes, but unlinked to any Contacts
- We then use an each-if statement in a marketing email to send the unique coupon codes out via customer journey
Then, when someone new enters the dynamic segment:
- Dynamics automatically chooses an unlinked entry in the Codes entity and links it to the new segment member (Contact).
- Dynamics then pushes the Contact through the live customer journey, which includes the email with the each-if unique coupon code.
My question is: Is there any way to make the last two steps happen automatically? Can Dynamics automatically assign coupon codes for people that enter a specific segment, either using the parameters laid out above, or another way?
Thanks in advance for the help!