I did this without writing a single line of code, using SharePoint Designer Workflow, List and InfoPath I was able to meet their requirements. They wanted to standardized the document so that any contract document leaving the bank to the customers will have the same format. In my former company I was tasked by the legal team to develop a solution that auto-generates contract document based on a predefined template and route it for approval. Recently I took a deep dive into Microsoft flow, and the first task I gave myself was using MS flow for one of the projects I have done in the past.