That has a lot of 'Automate Defend Repeat' vibes and I'm down for it!
If you want to go a different direction from other games in this genre, older versions of 'Mechanica' offered node-based programming, which was pretty cool and gave players a lot of agency in exactly how their factory ran. (Here is an example. It is intended to minimize fuel usage when smelting ore.)
Cheers!