Automation for sliding gates