# Tag Conditions

**URL:** <https://forum.mautic.org/t/tag-conditions/2722>\
**Category:** Development\
**Created:** [November 6, 2015, 6:29pm UTC](https://forum.mautic.org/t/tag-conditions/2722 "2015-11-06T18:29:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![trops](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/trops/32/3998_2.png) [@trops](https://forum.mautic.org/u/trops)\
**Post date:** [November 6, 2015, 6:29pm UTC](https://forum.mautic.org/t/tag-conditions/2722/1 "2015-11-06T18:29:28Z")

</div>

Hi there,  
  
  
  
I have a situation where I would like to have my campaign trigger certain actions based on the tags set for the user.  
  
  
  
For example, I have about 40 possible tags that can all trigger different things. So for example, if one of my users has a an issue with their car, I add them to the list for that specific issue. BUT what happens when they have 10 issues with their car?? I have to add them to all 10 lists, and they get emailed immediately 10 times, 1 for each issue. That seems sorta spammy.  
  
  
  
I was thinking that I could tag each user with their issues and then add the user to an “issues” mailing list. Then based on the tags for that user I can send different emails at different times to stagger them a bit. Or have conditions where if (tag 1, 2, 3) send email 1, etc, so I can combine the tags to form a multiple condition and then send a larger email “summary” of their issues.  
  
  
  
I hope this makes sense!  
  
  
  
I would also find dynamic emails helpful. For example with the “issues” above, I would like to include/exclude paragraphs in the email based on the tags that the user has. If issue 1, include paragraph X, issue 2 etc. Like a tempting engine (twig for example) that can segment content depending on data.  
  
  
  
I see that I can do this with lead fields, but then I am adding so many fields it could get unwieldy and I would have to keep adding fields over time as I expand. Tags can be pretty dynamic.  
  
  
  
Any thoughts?  
  
  
  
Thanks guys!  
  
  
  
John

---

<div class="post-metadata">

**Author:** ![trops](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/trops/32/3998_2.png) [@trops](https://forum.mautic.org/u/trops)\
**Post date:** [November 6, 2015, 6:29pm UTC](https://forum.mautic.org/t/tag-conditions/2722/2 "2015-11-06T18:29:28Z")

</div>

Hi there,

I have a situation where I would like to have my campaign trigger certain actions based on the tags set for the user.

For example, I have about 40 possible tags that can all trigger different things. So for example, if one of my users has a an issue with their car, I add them to the list for that specific issue. BUT what happens when they have 10 issues with their car?? I have to add them to all 10 lists, and they get emailed immediately 10 times, 1 for each issue. That seems sorta spammy.

I was thinking that I could tag each user with their issues and then add the user to an “issues” mailing list. Then based on the tags for that user I can send different emails at different times to stagger them a bit. Or have conditions where if (tag 1, 2, 3) send email 1, etc, so I can combine the tags to form a multiple condition and then send a larger email “summary” of their issues.

I hope this makes sense!

I would also find dynamic emails helpful. For example with the “issues” above, I would like to include/exclude paragraphs in the email based on the tags that the user has. If issue 1, include paragraph X, issue 2 etc. Like a tempting engine (twig for example) that can segment content depending on data.

I see that I can do this with lead fields, but then I am adding so many fields it could get unwieldy and I would have to keep adding fields over time as I expand. Tags can be pretty dynamic.

Any thoughts?

Thanks guys!

John

---

<div class="post-metadata">

**Author:** ![Antonio\_Lazzari](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Antonio\_Lazzari](https://forum.mautic.org/u/Antonio_Lazzari)\
**Post date:** [February 8, 2016, 1:24pm UTC](https://forum.mautic.org/t/tag-conditions/2722/3 "2016-02-08T13:24:18Z")

</div>

Hi Trops, I have the same problems/doubts how do you solve?

---

<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:** [February 8, 2016, 4:51pm UTC](https://forum.mautic.org/t/tag-conditions/2722/4 "2016-02-08T16:51:55Z")

</div>

There is already this feature request created: [https://github.com/mautic/mautic/issues/1293](https://github.com/mautic/mautic/issues/1293)

---

<div class="post-metadata">

**Author:** ![Antonio\_Lazzari](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@Antonio\_Lazzari](https://forum.mautic.org/u/Antonio_Lazzari)\
**Post date:** [February 9, 2016, 8:12am UTC](https://forum.mautic.org/t/tag-conditions/2722/5 "2016-02-09T08:12:24Z")

</div>

thanks that’s what I need

---

<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:57pm UTC](https://forum.mautic.org/t/tag-conditions/2722/6 "2020-02-02T22:57:14Z")

</div>


