If you’re looking to initiate a replication job with Templater based on a trigger, the easiest way would probably be to set up a script to run Templater in CLI configuration. The Command-Line interface for Templater relies on a file named templater-options.json to control all of the various Template Preferences options, so configuring it to replicate to versioned .aep files should be a snap.
On the other hand, if you’re looking to switch between replication and rendering mid-job, that would be a bit trickier. I can think of a few different options that might work, but the easiest would be to use multiple Bots to process the data. You could set one to render and one to replicate and then designate which one the data is sent to using the reserved
bot column. Hopefully, that makes sense, but if I can clarify anything, just let me know. Thanks!