Support for dynamic document generation template

I'd like to be able to select different template files for document generation, based on various values in the Flow. For example if I have a document for clients and one for the representative I want to be able to have the flow know which to fill in

It'd be great if you could support this.