Automation framework