We are building a demultiplexing workflow that takes as input a set of FASTQs and a sample sheet from a sequencing run. Each sequencing run is an entity in a "Sequencing Runs" table. The workflow creates a set of demultiplexed files as output. In addition I would like to have a the workflow add new entities to a second table ("Samples"), with one entity for each sample contained in the run. Is there a way to achieve this?