Thanks jllort for your prompt reply.
is it feasible to expose SOAP/REST API to accept dynamic values and create document using the template?
ie..client application will invoke an api passing say 30 dynamic values and the api is expected to merge the dynamic values into document template, create the document in specific folder and return the uuid of the created document to the client.