Generating documents using Mail merge is the method of reading data from a data source and replacing corresponding variables in a template document. It usually requires two files, templates for storing the merge fields - the variable for the data to be inserted. The other contains both the instructions for formatting the variable data and the information that will be identical across each result of the mail merge.
Templates can be created using various syntaxes. PDF4me accepts Word, HTML, and PDF templates for generating documents. In this section let us see how we can customize Word templates for generating documents using mail merge.
You can manually create the merge fields or tokens in the following syntax