Yet another topic-to-badge workflow that could probably be a sql query. I find the workflow route much easier to grasp.
We want to encourage people to show off their stuff.
workflow-nodes-2026-11-20.json (9.6 KB)
Manual trigger was for backfilling existing topics with badges:
Slight annoyance: “List topics” has a maximum return of 100 topics. Had to change the offset and re-run a few times to make sure I got everyone.
New topics and topics moved in by moderator trigger the new workflow - triggering the list topics but only for one user, not all users. Haven’t tested the moved-in-by-moderator functionality yet. Hopefully it takes topic.userid instead of mover.userid. XD
Thanks to the new Include 'Reason' in Grant Badge Discourse Action in Workflows - #3 by awesomerobot attribute being added to the grant badge node, I look forward to seeing people’s badges adorned with their posts. Badges set to only award once to prevent clobbering their badge pages since this could run repeatedly.
