Include 'Reason' in Grant Badge Discourse Action in Workflows

AI-generated summary

In a feature request within the Workflows category, gassim proposes adding a ‘Reason’ field to the ‘Grant Badge’ action in Discourse Workflows. Currently, while it is possible to grant badges via an API request that includes a topic or post link as a reason, and manual administration allows for this detail, the native Workflow action lacks this option. The user argues that integrating this feature would simplify maintenance compared to using custom API requests and make badge grants more contextual and easier to track.

Hi

I know that it’s possible to create an API request that grants badges and includes the ‘topic reason’; however, given that ‘Grant Badge’ action in workflows is already available, would it be possible to add the option to include the ‘reason’?

When granting badges, it’s possible to mention the reason. (See admin settings of a profile, click badges, and you will be able to select badge then add link to topic/post:

However, in the Discourse actions in workflows, it’s not possible to include the ‘reason’:

Adding this option will be very helpful and much easier to maintain than creating the API request.

Thanks!

1 Like