Best way to assign a topic based on a tag?

AI-generated summary

In a discussion titled “Best way to assign a topic based on a tag?” under the Feature category and tagged with automation, jordan-violet asked if Discourse natively supports auto-assigning topics to users or groups based on tags. awesomerobot clarified that while no native feature exists, a custom script within the automation plugin could achieve this — though such a script would need to be added by developers, not configured via the admin interface. jordan-violet noted the plugin doesn’t currently support custom scripting, leading awesomerobot to confirm a new “auto assign topic” script would need to be built. jordan-violet then suggested external automation tools as a simpler alternative and proposed a broader vision: a built-in automation platform (like n8n or Tines) allowing users to define custom automations directly in Discourse. tobiaseigen moved the thread to #feature, noting the request requires new automation functionality, and asked jordan-violet if they’d found a solution. They also endorsed the idea of a built-in automation platform as worthy of its own dedicated feature request.

What would be the best way, natively in Discourse, to assign a topic to a user or group based on when a topic has a particular tag?

3 Likes

I don’t think we have a native feature to accomplish this, but a custom script in the automation plugin could do it.

1 Like

The plugin does not allow custom scripting though, does it?

1 Like

Right, that was unclear — we’d need a new “auto assign topic” script to be added to the plugin. This is easier than writing a whole new plugin, but isn’t something that could be done through the admin interface.

2 Likes

Understood! I think an external automation may be an easier route then. Tangential, but it would be great if there were a common automation platform that users could build and define their own automations—built directly into Discourse. Think n8n, Tines, etc.

4 Likes

I shifted this over to Contribute > Feature since getting what the OP is asking for would require a new automation.

It’s been a while since you posted this @jordan-violet did you figure out how to meet your need?

This is a great idea too and worth investigating, but deserves it’s own separate Contribute > Feature topic.

1 Like