# Set badges to be auto granted?

**URL:** https://meta.discourse.org/t/set-badges-to-be-auto-granted/373991
**Category:** Support
**Tags:** badges, sql-triggered-badge
**Created:** [July 12, 2025, 3:07pm UTC](https://meta.discourse.org/t/set-badges-to-be-auto-granted/373991 "2025-07-12T15:07:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ice.d](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ice.d/32/509515_2.png) [@ice.d](https://meta.discourse.org/u/ice.d)
#### Post date: [July 12, 2025, 3:07pm UTC](https://meta.discourse.org/t/set-badges-to-be-auto-granted/373991/1 "2025-07-12T15:07:44Z")

</div>

As a member of the Worldgusser forum I saw that there are some badges that aren’t normally a discourse made badge that seems like it is auto granted such as this one below

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/2/e/c2edb3ef552efa10f03e7830307637c915ff7938.png)  
if I’m not mistaken it seems like this is an auto granted badge but not a badge discourse comes with is there a way I can make my own badge and then set it to be automatically granted if a certain criteria is met from the admin dashboard?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 12, 2025, 3:30pm UTC](https://meta.discourse.org/t/set-badges-to-be-auto-granted/373991/2 "2025-07-12T15:30:10Z")

</div>

You can automatically grant badges based on an sql query

> [@Creating triggered custom badge queries](https://meta.discourse.org/t/creating-triggered-custom-badge-queries/19336):
>
> bookmark This guide explains how to create triggered custom badge queries in Discourse, including the types of badges, constraints for triggered badges, and an example query. person_raising_hand Required user level: Administrator warning This feature is disabled by default. To enable it, follow [this guide](https://meta.discourse.org/t/badge-sql-can-no-longer-be-edited-by-default/47894). When defining badges in Discourse, you’ll encounter a “Trigger” option with the following choices: Update daily When a user acts on post When a user edits or creates a post When…
