These forums are archival. Please visit us on discord!
Automation settings are probably what you are looking for. They can be autobuilt, and you can also turn auto-work or whatever it's called off so they don't automatically head into trouble.