Building an Automation Task That Works