I’ve been testing the “Auto Tag Topic” feature in the Discourse Automation plugin, and I’ve encountered some unexpected behavior with the link and image conditions.
What works and what doesn’t
Image condition:
- Uploading an image (via drag-and-drop or file upload) correctly triggers the automation.
- If a topic includes a Onebox (e.g. from Twitter, YouTube, or GitHub), it can also trigger the
imagecondition, likely due to the embedded preview image.
Fortunately, regular image links (e.g. Markdown or bare .jpgURLs) are not falsely recognized as uploads — this is a helpful distinction and avoids incorrect tagging.
Link condition:
- The
linkcondition does not trigger at all, regardless of how the link is added:[Example](https://example.com)(Markdown)https://example.com(bare URL)- Links that generate Oneboxes
- Links that do not generate Oneboxes
This makes the link option currently unreliable or possibly broken.
Summary
| Condition | Works? | Notes |
|---|---|---|
Upload |
Triggers reliably | |
Image |
Uploads work; Oneboxes also trigger this | |
Code |
Works as expected | |
Link |
Does not trigger under any tested scenario |
If the current link behavior is unintentional, I hope it can be addressed in a future update.
Thanks for all the work on this plugin — it’s a powerful tool that could be even better with a few refinements.