# 在工作流中的授予徽章 Discourse 操作中包含“原因”

**URL:** <https://meta.discourse.org/t/include-reason-in-grant-badge-discourse-action-in-workflows/417202>\
**Category:** Feature\
**Tags:** badges, workflows\
**Created:** [2026 年11 月 12 日 12:43 UTC](https://meta.discourse.org/t/include-reason-in-grant-badge-discourse-action-in-workflows/417202 "2026-11-12T12:43:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Frully](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frully/32/235059_2.png) [@Frully](https://meta.discourse.org/u/Frully)\
发布日期： [2026 年11 月 19 日 11:19 UTC](https://meta.discourse.org/t/include-reason-in-grant-badge-discourse-action-in-workflows/417202/2 "2026-11-19T11:19:20Z")

</div>

我也是！

我正准备发这个帖子。我们想用 AI 来检测特定类型的帖子，标记该帖子，并授予报告者一枚徽章以表示感谢。但工作流节点没有 `Reason` 属性来链接回 post.id。

虽然这是个小事，但应该很容易添加。Gemini 建议作为一种变通方法使用 HTTP API 调用，因为该 API 可以处理 reason 属性。如果能把这个功能直接做成节点，那会更优雅。

---

_[View the full topic](https://meta.discourse.org/t/include-reason-in-grant-badge-discourse-action-in-workflows/417202)._
