A bug was found about the 14th July 2018 in CRM Online release 22.214.171.1240, and now in release 126.96.36.1997, when using CRM Workflow step Perform Action>SetWordTemplate to create document from Word Template, and attach the Word Document to a Note. At the end of the Word document there is additional text WordTemplateExportRecordid: followed by one or more of what appears to be record GUID.
We have now released free of charge tool that removes the extra text. The tool is a Workflow Step, following the SetWordTemplate step, and this step will remove the extra text from the document.
Dynamics PDF-Docs New Version Release
With thousands of Dynamics PDF-Docs users converting documents created with CRM Word Template, PDF the document, and automatically attach the document to an Email, Note or upload to SharePoint, we incorporated the tool in the current version of Dynamics PDF-Docs.