CRM Document (.docx) creation using Writer API

CRM Document (.docx) creation using Writer API

Hi! friends I need your help with the following:

1) I have a custom module where I store sales info.

2) I have in "Writer" a document template that uses fields from this custom module that can be merged but it needs "time" to be run.

3) So I want to have a button in my custom module (or a pick field i.e. to manage the function) where I have a function that "mergeAndDownload" the document in docx that goes to Writer API and return the document in my local "Download Folder" with the document merged.

Pd. Take in consideration that I reviewed Merge and Download Documents In Zoho Writer | Help - Zoho Deluge but I do not obtain what I want since the example uses csv files and I need to use my own info in my custom module.

Please, your help to do this!

Thanks in advance!!!!