# Discourse Automation

**URL:** https://meta.discourse.org/t/discourse-automation/195773
**Category:** Plugin
**Tags:** official, automation, included-in-core
**Created:** [July 2, 2021, 1:10pm UTC](https://meta.discourse.org/t/discourse-automation/195773 "2021-07-02T13:10:54Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [July 2, 2021, 1:10pm UTC](https://meta.discourse.org/t/discourse-automation/195773/1 "2021-07-02T13:10:54Z")

</div>

| | | |
| --- | --- | --- |
| :discourse2: | **Summary** | **Discourse Automation** lets you automate actions through scripts and triggers. Customisation is made through an automatically generated UI. |
| 📖 | **Install Guide** | **This plugin is bundled with Discourse core**. There is no need to install the plugin separately. |

> [@](#):
>
> :discourse2: As this is an #official plugin maintained by the Discourse team, #Support, #Contribute > Bug, #Contribute > UX, and #Contribute > Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate plugin tag. Click on a link below to get one started. 👍
> 
> [❓&nbsp; **Support**](https://meta.discourse.org/new-topic?category_id=6&body=%3E%20Before%20asking,%20did%20you%20search%20first%3F%20Press%20%F0%9F%94%8D%20at%20the%20upper%20right%20to%20search.&tags=automation "Ask for support on configuring and using Discourse Automation") [🐛&nbsp; **Bug**](https://meta.discourse.org/new-topic?category_id=1&tags=automation "A bug report means something is broken, preventing normal/typical use of the plugin") [👀&nbsp; **UX**](https://meta.discourse.org/new-topic?category_id=9&tags=automation "Discussion about the user interface of Discourse Automation, and how features are presented (including language and UI elements)") [💡&nbsp; **Feature**](https://meta.discourse.org/new-topic?category_id=2&tags=automation "Discussion about how existing Discourse Automation features can be improved or enhanced, and how proposed new features could work")

 ![Capture d’écran 2021-07-02 à 15.13.57](https://global.discourse-cdn.com/meta/original/3X/d/e/de753d7a942fca812ff9fedc458b9f01ea3fa6b9.png)

### Features

- Easy automation of complex workflows
- Triggers automations at specific dates, periodically, or on specific events
- Provides automatically generated UIs to specify options for your automation

### Configuration

Automations can be created and updated from Admin → Plugins → Automations, or directly from `/admin/plugins/discourse-automation`.

 ![/admin/plugins/discourse-automation](https://global.discourse-cdn.com/meta/original/4X/f/3/b/f3b33cb5f526ea72edde39643036d9eb65d9fcc8.png)

#### Available scripts

| Guide | Script | Trigger(s) | Description |
| --- | --- | --- | --- |
| [🔖](https://meta.discourse.org/t/add-user-to-group-through-custom-field-automation/275873) | Add user to group through custom field | ▪Recurring  
▪First logged on | Adds a user to a group based on a Custom User Field |
| [🔖](https://meta.discourse.org/t/append-last-checked-by-automation/277110) | Append last checked by | ▪After post cook | Adds a ‘last checked by’ function to the bottom of the OP |
| [🔖](https://meta.discourse.org/t/append-last-edited-by-automation/277113) | Append last edited by | ▪After post cook | Adds a ‘last edited by’ note to the bottom of the OP |
| [🔖](https://meta.discourse.org/t/create-an-auto-responder-automation/285031) | Auto Responder | ▪Post edited/created  
▪PM created | Given a series of keywords and associated replies, automatically respond with the corresponding reply |
| | Auto Tag topic | ▪Post created/edited  
▪PM created | Automatically tag a topic |
| | Close topic | ▪Point in time  
▪Stalled wiki | Automatically close a topic |
| | Create Post | ▪Recurring  
▪Point in time | Creates a post |
| | Flag post on Words | ▪Post edited/created | Flag a topic on creation/edition if it contains specific words |
| | Gift Exchange | ▪Point in time | Simple implementation of the Secret Santa game |
| | Group Category Notification Default | ▪Category created/edited | Automatically sets a group notification level for newly created subcategories |
| | Make banner topic | ▪Point in time | Convert a topic into a banner notice |
| | Pin Topic | ▪Point in time | Pin and Unpin a topic in the future |
| | Random Assign  
([Assign](https://meta.discourse.org/t/discourse-assign/58044)) | ▪Point in time  
▪Recurring | Randomly Assign a topic |
| | Schedule a PM with [data explorer](https://meta.discourse.org/t/32566?silent=true) results  
([Data Explorer](https://meta.discourse.org/t/32566)) | ▪Recurring | Send a regular PM with the results of a [data explorer](https://meta.discourse.org/t/32566?silent=true) query |
| | Send Chat message  
([Chat](https://meta.discourse.org/t/discourse-chat/230881)) | ▪Event started  
▪Recurring | Sends a Chat message to a Channel |
| | Send PMs | ▪First accepted solution ([Solved](https://meta.discourse.org/t/discourse-solved/30155))  
▪User badge granted  
▪User added to group  
▪Stalled wiki  
▪Recurring  
▪User promoted  
▪API call  
▪User removed from group | Send PMs with support for placeholders |
| | Suspend User By Email | ▪API call | Suspend a user for a specified duration |
| | Topic required words | ▪Topic | Enforce the presence of at least one of the specified words in the posts of a topic |
| [🔖](https://meta.discourse.org/t/discourse-ai-post-classifier-automation-rule/281227) | Triage posts using AI ([Discourse AI](https://meta.discourse.org/t/discourse-ai/259214)) | ▪Post created/edited | Enhance the management and moderation of forum posts by automating the process of classifying posts |
| | User Global Notice | ▪Stalled topic  
▪First accepted solution ([Solved](https://meta.discourse.org/t/discourse-solved/30155)) | Displays a global notice on the site for a specific user |
| [🔖](https://meta.discourse.org/t/user-group-membership-management-through-badges/281836) | User Group Membership through Badge | ▪Recurring  
▪User first logged in | Automatically add users to a group based on their earned badges |
| | Zapier webhook | ▪User promoted  
▪User added to group  
▪User badge granted  
▪User removed from group | Calls a Zapier webhook |

#### Available triggers

> Note that due to their nature, each script only supports certain triggers. For example it wouldn’t make sense for a script enforcing the content of a post to trigger when a user is added to a group.

All of the available triggers are mentioned in the “Available scripts” table above.

Most of the triggers are self-explanatory, but here are a couple that may need a little more detail:

| Trigger | Description |
| --- | --- |
| After post cook | Triggers after a post is rendered for display |
| API Call | Triggers when a certain API endpoint is called |
| Stalled wiki | Triggers when a wiki hasn’t been edited for a while |
| Stalled topic | Triggers when a topic has not received replies after a certain time |
| Topic | Triggers when a reply is made to a topic |

If you need any clarification on any others please feel free to ask below. 🙂

More scripts and triggers to come!

### Custom Automations

You can also create custom Automations. 🥳 Check out our developer’s guide for more information - [Create custom Automations](https://meta.discourse.org/t/create-custom-automations/275931)

  

> :discourse2: Hosted by us? This plugin is available on our Business and Enterprise plans. [Automation | Discourse - Civilized Discussion](https://www.discourse.org/plugins/automation.html)

> Last edited by @tobiaseigen 2025-07-16T20:41:38Z
> 
> > **Check document**
> >
> > Perform check on document:

---

_[View the full topic](https://meta.discourse.org/t/discourse-automation/195773)._
