# Watching and sending notifications for keywords?

**URL:** https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286
**Category:** Feature
**Created:** [3월 16, 2017, 6:18오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286 "2017-03-16T18:18:49Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Tyler\_Langlois](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyler_langlois/32/121128_2.png) [@Tyler\_Langlois](https://meta.discourse.org/u/Tyler_Langlois)
#### Post date: [3월 16, 2017, 6:18오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/1 "2017-03-16T18:18:49Z")

</div>

I have a use case that I think is pretty common, but haven’t been able to find an existing feature either here or in Discourse itself that fits the feature I’ll describe.

Essentially I have the need to get notified for new topics that could potentially span more than one category for specific keywords. My use case is the Elastic forums at [https://discuss.elastic.co/](https://discuss.elastic.co/) wherein I want to get notified about _any_ topic that includes the string `puppet`, which can come up in the Elasticsearch category, Kibana category, et cetera.

Right now I’m using [a script](https://github.com/danielmitterdorfer/sniffa) an Elastic employee wrote to capture these, but I’ve spoken to multiple non-technical people who have a similar need, so it feels like encapsulating this functionality in Discourse proper or a plugin seems like an apt fit.

Is there a feature I’m overlooking that could provide this, is it too specific for native integration, or is this something that would be worth doing?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 16, 2017, 6:35오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/2 "2017-03-16T18:35:31Z")

</div>

This is related to other proposed work. When a certain word appears, take one of these actions:

- block post
- require approval for the post
- auto flag the post
- allow the word but censor it out
- add this tag

Cc @neil

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [3월 16, 2017, 7:55오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/3 "2017-03-16T19:55:46Z")

</div>

Yeah this is another example of a new trigger we need based on post contents so that something (in core or plugins) can take an action.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [3월 16, 2017, 8:05오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/4 "2017-03-16T20:05:57Z")

</div>

> [@codinghorror](#):
>
> take one of these actions:

I believe that `add this tag` plus the user Watching a tag would solve this case.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 16, 2017, 8:20오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/5 "2017-03-16T20:20:32Z")

</div>

Sure I added “add this tag” as an outcome from the word match being hit. It’s a very powerful scheme.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3월 16, 2017, 8:50오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/6 "2017-03-16T20:50:05Z")

</div>

I think this fits more as a “per user” action as opposed to a “global” action.

Perhaps a plugin that adds

> Automatically watch topics containing the following words: banana, monkey, apple

and

> Notify me of all new posts containing the following words: banana, monkey, apple

We definitely have all the hooks in-place to enable such a plugin, no core changes are needed.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 16, 2017, 10:00오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/7 "2017-03-16T22:00:26Z")

</div>

Maybe but it has been requested multiple times by customers and I think it makes sense as a global.

---

<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: [3월 17, 2017, 1:07오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/8 "2017-03-17T13:07:32Z")

</div>

Related:

> [@Notifications for 'highlight' words](https://meta.discourse.org/t/notifications-for-highlight-words/29280):
>
> (Apologies if this has already been requested, it’s a tricky one to search for.) Slack has an awesome feature where [you can set highlight words](https://www.dropbox.com/s/9tttra5izxroye3/Screenshot%202015-05-27%2009.59.13.png?dl=0) which trigger a notification. I think that would be incredibly useful. Would it be tricky to impliment?

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [3월 17, 2017, 1:59오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/9 "2017-03-17T13:59:45Z")

</div>

I’m sure some users on our site would appreciate this.

Background:

Many of our users have gotten used to adding #some-tag in the body of posts from previous the previous platform they were on (Socialcast) as well as other apps out there they use every day.

I’m not a huge fan of that, but it’s hard to “untrain” this behavior, particularly now that tags do auto-complete in post bodies.

But when they do this, I also have to teach them that:

1. The topic itself is _not_ tagged when they do that.
2. People watching that tag will _not_ be notified.
3. Doing so will _not_ make the topic show up in the topic list for that tag.

Their main motivation for tagging posts is to notify groups of people (use case 2), so this would potentially be a solution for that (as would the auto-tagging depending on how that is implemented).

We could also try to retrain people to use groups for some of this, but we [don’t want to allow group messaging at this time, just notifications](https://meta.discourse.org/t/split-into-two-settings-who-can-message-and-mention-this-group/41203).

---

<div class="post-metadata">

### Author: ![Tyler\_Langlois](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyler_langlois/32/121128_2.png) [@Tyler\_Langlois](https://meta.discourse.org/u/Tyler_Langlois)
#### Post date: [3월 27, 2017, 4:42오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/10 "2017-03-27T16:42:38Z")

</div>

Thanks for the input, all! 🍕

Based upon the feedback given here, should I assume that this is something that Discourse core wants to put on their roadmap, or should this functionality be taken up by the community in a plugin?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 27, 2017, 10:13오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/11 "2017-03-27T22:13:18Z")

</div>

It’s been added to #releases for the longer term roadmap, not currently assigned to a release.

---

<div class="post-metadata">

### Author: ![mpsocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpsocial/32/68999_2.png) [@mpsocial](https://meta.discourse.org/u/mpsocial)
#### Post date: [6월 9, 2017, 7:46오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/12 "2017-06-09T19:46:28Z")

</div>

> [@codinghorror](#):
>
> This is related to other proposed work. When a certain word appears, take one of these actions:
> 
> block post  
> require approval for the post  
> auto flag the post  
> allow the word but censor it out  
> add this tag

This would be amazing in my case as well, I’ve turned half of the forum private but there’s still a public part. People keep posting about certain private things in the public place and this would solve that problem nicely 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [6월 20, 2017, 9:44오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/13 "2017-06-20T21:44:35Z")

</div>

> [@sam](#):
>
> We definitely have all the hooks in-place to enable such a plugin, no core changes are needed.

> [@Notifications for 'highlight' words](https://meta.discourse.org/t/notifications-for-highlight-words/29280/2):
>
> Listen for post\_created and post\_updated and generate notifications whenever the raw contains one of the highlighted words.

Can someone point me to a plugin that does something similar?

---

<div class="post-metadata">

### Author: ![tday2](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tday2](https://meta.discourse.org/u/tday2)
#### Post date: [4월 25, 2018, 2:58오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/14 "2018-04-25T14:58:32Z")

</div>

We would also be interested in this function.

We use Discourse internally and application owners would like to be notified when users mention their application; e.g. application X is down.

Additionally, brand and marketing managers would like to be notified when a particular brand or model is mentioned; e.g. ACME widgets are the best.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [4월 25, 2018, 4:07오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/15 "2018-04-25T16:07:33Z")

</div>

This is available in this plugin:

> [@Discourse Saved Searches](https://meta.discourse.org/t/saved-searches-plugin/67901):
>
> discourse2Summary Discourse Saved Searches allows users to save searches and be notified when any new topics or posts match the search criteria.hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-saved-searches](https://github.com/discourse/discourse-saved-searches)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)Features Following from the new watched words feature that takes action on bad words, here’s a plugin that lets people save a list of searches and get notified if any new topics a…

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [4월 25, 2018, 4:07오후 UTC](https://meta.discourse.org/t/watching-and-sending-notifications-for-keywords/59286/16 "2018-04-25T16:07:37Z")

</div>


