# Birthday Email Campaign

**URL:** <https://forum.mautic.org/t/birthday-email-campaign/3048>\
**Category:** General Discussion\
**Created:** [December 22, 2015, 10:26pm UTC](https://forum.mautic.org/t/birthday-email-campaign/3048 "2015-12-22T22:26:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [December 22, 2015, 10:26pm UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/1 "2015-12-22T22:26:17Z")

</div>

Hello Mautics,  
  
  
  
Here’s a challenge I need help with:  
  
  
  
I want to send an email to my clients on the day of their birthday. I have a list of about 2,000 people with their birthday as a “date/time” field. I need to automate this because creating a workflow for all customers is just not possible. Any idea how this can be set up?  
  
  
  
Thank you!

---

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [December 22, 2015, 10:26pm UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/2 "2015-12-22T22:26:17Z")

</div>

Hello Mautics,

Here’s a challenge I need help with:

I want to send an email to my clients on the day of their birthday. I have a list of about 2,000 people with their birthday as a “date/time” field. I need to automate this because creating a workflow for all customers is just not possible. Any idea how this can be set up?

Thank you!

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [December 23, 2015, 2:04pm UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/3 "2015-12-23T14:04:41Z")

</div>

There is already this feature request created for it:

[https://github.com/mautic/mautic/issues/306](https://github.com/mautic/mautic/issues/306)

I’m afraid it is not possible right now.

---

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [December 24, 2015, 12:31am UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/4 "2015-12-24T00:31:04Z")

</div>

Thanks @escopecz. I really need this done. What’s the best approach if I want to develop that part of it? Plugin?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [December 28, 2015, 5:10pm UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/5 "2015-12-28T17:10:26Z")

</div>

I’m not sure if it will be doable with a plugin, but you may try. The dev docs are at [https://developer.mautic.org/#plugins](https://developer.mautic.org/#plugins)

Simpler would be to implement it into the Mautic source code directly and sent a pull request. Although this feature would require the custom lead fields to be type of date. Now all types are text for legacy reasons. We’ll have to rebuild that anyway so if you’d like to do it, it would be very welcome.

---

<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:38am UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/6 "2017-05-15T10:38:37Z")

</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.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:56pm UTC](https://forum.mautic.org/t/birthday-email-campaign/3048/7 "2020-02-02T22:56:22Z")

</div>


