Workflows

Implementation of the Workflow proposal from #620