# Automatic actions for tags

**URL:** https://meta.discourse.org/t/automatic-actions-for-tags/75677
**Category:** Feature
**Created:** [December 8, 2017, 10:40am UTC](https://meta.discourse.org/t/automatic-actions-for-tags/75677 "2017-12-08T10:40:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [December 8, 2017, 10:40am UTC](https://meta.discourse.org/t/automatic-actions-for-tags/75677/1 "2017-12-08T10:40:59Z")

</div>

In a similar vein as [Automatic Actions based on post content (Watched Words)](https://meta.discourse.org/t/automatic-actions-based-on-words-found-in-posts/66878), I’d love it if some tags could have simple automated actions attached to them.

Lately we’ve been closing quite a few #pr-welcome topics, which is fantastic! But I’ve been running after every closed topic to remove the pr tag so that it stops appearing in the list of tasks up for grabs.

So the rule for #pr-welcome would be very simple: IF topic is closed THEN remove this tag.

I consider this super low priority, just wanted to log this idea.

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [December 8, 2017, 11:19am UTC](https://meta.discourse.org/t/automatic-actions-for-tags/75677/2 "2017-12-08T11:19:20Z")

</div>

I would like to see a rule for adding a tag based on category. So “add tag abc if category is xyz.”

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [December 8, 2017, 12:44pm UTC](https://meta.discourse.org/t/automatic-actions-for-tags/75677/3 "2017-12-08T12:44:59Z")

</div>

Or a rule for generating table of contents based on tags… this could save me a lot of time… This would be really great, to give Discourse some sort of Automater.app or IFTTT capabilities 👌

`IF tag ... THEN generate TOC sorted by post date.`

---

<div class="post-metadata">

### Author: ![HeyRR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heyrr/32/192157_2.png) [@HeyRR](https://meta.discourse.org/u/HeyRR)
#### Post date: [August 10, 2020, 5:30pm UTC](https://meta.discourse.org/t/automatic-actions-for-tags/75677/4 "2020-08-10T17:30:49Z")

</div>

I’m also curious on this one, I’m looking for a feature that can add tag automatically for a category
