# Creating a system to move topics based on given criteria such as a timestamp

**URL:** https://meta.discourse.org/t/creating-a-system-to-move-topics-based-on-given-criteria-such-as-a-timestamp/397384
**Category:** Support
**Tags:** rest-api, ai
**Created:** [1 maart 2026 om 20:32 UTC](https://meta.discourse.org/t/creating-a-system-to-move-topics-based-on-given-criteria-such-as-a-timestamp/397384 "2026-03-01T20:32:36Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2 maart 2026 om 16:08 UTC](https://meta.discourse.org/t/creating-a-system-to-move-topics-based-on-given-criteria-such-as-a-timestamp/397384/4 "2026-03-02T16:08:58Z")

</div>

Interesting use case!

I do believe that you would be better served with a few changes:

### Move ban expiration to a dedicated custom topic field

This will allow you to validate that every ban has an expiration when a new topic is created, and will make querying for expired bans a breeze.

You could also use our [Introducing Experimental Form Templates](https://meta.discourse.org/t/introducing-experimental-form-templates/278631), which also give your programmatic access to a specific data in a topic.

### Add /filter custom filters

With the custom field or form template, now it is easy to add new /filter filters like expired bans, archived bans, etc. Those would then become your moderator main work lists, and they can be added to the sidebar for ease of use.

### Automate bans as a whole?

Final piece would be to Discourse to automatically create the bans on Roblox and Discord whenever a topic is created, and also to automatically remove the bans when they expire.

This is kinda easy to do with a recurring job and API access.

* * *

If you have a [Set up a local Discourse Development Environment](https://meta.discourse.org/t/set-up-a-local-discourse-development-environment/182882), then you can even pass my post here as a spec to Claude Code and it will build it in minutes.

---

_[View the full topic](https://meta.discourse.org/t/creating-a-system-to-move-topics-based-on-given-criteria-such-as-a-timestamp/397384)._
