Automation and IoT for digital transformation