# 如何使用自动化授予徽章？

**URL:** https://meta.discourse.org/t/how-to-grant-badges-using-automation/232716
**Category:** Support
**Tags:** automation
**Created:** [2022年七月13日 08:45 UTC](https://meta.discourse.org/t/how-to-grant-badges-using-automation/232716 "2022-07-13T08:45:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年七月13日 09:16 UTC](https://meta.discourse.org/t/how-to-grant-badges-using-automation/232716/2 "2022-07-13T09:16:08Z")

</div>

查看 [commit](https://meta.discourse.org/t/add-grant-badge-trigger/232715/3?u=jammydodger)，它似乎应该可用于 `send_pms` 和 `zapier_webhook` 脚本：

> 此触发器需要一个 `badge` 作为必填字段，并接受一个可选的 `only_on_first_grant` 字段。目前可用于：`send_pms` 和 `zapier_webhook` 脚本。

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/1/8/818caccdd4caa1af119becdc5094b6a9569b5fe8.png)

---

_[View the full topic](https://meta.discourse.org/t/how-to-grant-badges-using-automation/232716)._
