prepare core to a workflow