# Campaign for birthday vouchers

**URL:** <https://forum.mautic.org/t/campaign-for-birthday-vouchers/8440>\
**Category:** General Discussion\
**Created:** [May 8, 2017, 4:59pm UTC](https://forum.mautic.org/t/campaign-for-birthday-vouchers/8440 "2017-05-08T16:59:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![csaeum](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/csaeum/32/151_2.png) [@csaeum](https://forum.mautic.org/u/csaeum)\
**Post date:** [May 8, 2017, 4:59pm UTC](https://forum.mautic.org/t/campaign-for-birthday-vouchers/8440/1 "2017-05-08T16:59:28Z")

</div>

I am currently questioning the users by campaign whether these will tell us their data. (Name, first name and date of birth)  
  
Now I would like to get this on their birthday a voucher and thus into one of our shops could buy.  
  
Now I have however no possibility found to ask whether someone today has birthday and thus an email to send with the coupon code.  
  
How could this be done?

---

<div class="post-metadata">

**Author:** ![csaeum](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/csaeum/32/151_2.png) [@csaeum](https://forum.mautic.org/u/csaeum)\
**Post date:** [May 8, 2017, 4:59pm UTC](https://forum.mautic.org/t/campaign-for-birthday-vouchers/8440/2 "2017-05-08T16:59:28Z")

</div>

I am currently questioning the users by campaign whether these will tell us their data. (Name, first name and date of birth)  
Now I would like to get this on their birthday a voucher and thus into one of our shops could buy.  
Now I have however no possibility found to ask whether someone today has birthday and thus an email to send with the coupon code.  
How could this be done?

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [May 15, 2017, 10:39am UTC](https://forum.mautic.org/t/campaign-for-birthday-vouchers/8440/3 "2017-05-15T10:39:02Z")

</div>

I have a possible approach, following thread: [https://www.mautic.org/community/index.php/7641-how-can-i-create-a-segment-for-contacts-that-last-login-date-mo](https://www.mautic.org/community/index.php/7641-how-can-i-create-a-segment-for-contacts-that-last-login-date-mo)

I believe, there is no need to loop within a campaign and having a decision based on a field.

My approach (not tested): Simply create a segment with a filter `[birthday field] equals today` (type the “today” in the field instead of picking a date value). Create a simple campaign with a segment source and an email (withou any decisions). On a new day, contact with birthday will be added and old ones are removed. The new ones are put into the birthday email campaign and processed.
