Workflow for the COSMIC database