What is a workflow: definition, elements and automation