Reply to topics in a specific category

AI-generated summary

The discussion explores whether it’s possible to automatically reply to all topics in a specific category, such as welcoming new users in the introduction category. ZerefGG asks about this functionality. simon explains that Discourse doesn’t have a built-in feature for this, but it can be achieved using a plugin or the Discourse API. One approach is to use a webhook triggered by a topic event in the specified category, with an external application (like a WordPress site) or Zapier handling the reply. Detailed guides on using Zapier with Discourse webhooks are provided, including steps to set up a webhook trigger and action to automatically post replies.

Hello,

is there a way to reply to all topics in a specific category, for example people who post a new topic in the introduction category get an automatic welcome reply?

Thanks

There is nothing built into Discourse that will automatically post a reply to a topic, but you could accomplish this either with a plugin, or with the Discourse API.

For the API approach, you could create a Discourse webhook that is triggered by a Topic Event with your introduction category set as the triggered category. You would then need to set up an application to listen for the webhook and create the reply. Something as simple as a WordPress site could be used for this.

You could try using Zapier to listen for the webhook and create the reply. There is a general overview of how to do that here: Make requests to the Discourse API with Zapier. To create a Zap that auto replies to topics, you would use a Zapier webhook both for the trigger and the action step of the Zap. There are details about setting up a Zap’s trigger step to listen for a Discourse webhook here: Trigger a Zapier task with Discourse Webhooks.