Populate a Word Template with Form Data

August 9, 2022

Do you want to automatically save the form data into a word document? Or, better yet, populate a word template with a form data? That’s easy with Make (formerly Integromat).

With Make, you can connect Jotform to over a hundred services like Microsoft which enables you automatically populate a word template after your customer submits the form.

Requirements

  • Make Account – formerly Integromat, this is where you integrate Jotform with MS Word Template.
  • Dropbox Account – this is where the Word document will be retrieved and saved.
  • Word document – this will be the template file. Put the merge tags, e.g. {{name}}, where you want the answers from the form to go. By default, merge tags should be enclosed with double curly braces.
word-template-min
Use a short file name for your Word document for easier use later.

Set up the Scenario

Let’s say you want to generate a contract for your customers after filling out the form. Here’s how:

  1. Upload the Word document (e.g. contract.docx) to your Dropbox account.
dropbox-upload-contract-docx-min
  1. Log in to Make and Create a New Scenario.
make-create-a-new-scenario-min
  1. Search for Jotform then select Watch for Submissions as the trigger.
make-jotform-watch-submissions-min
  1. Click the Add button under Webhook and add a connection.
make-webhokk-connection-add-min
  1. Enter your full-access API Key then click Save.
make-jotform-api-key-min
  1. Select the form and click Save.
  2. Click the OK button under Webhook to complete the Jotform module.
make-jotform-select-form-min
  1. Next, Add a Dropbox module and set it to Download a File.
make-dropbox-download-file-min
  1. Set the Way of selecting files option to “Select a file”.
  2. Select the Word document (e.g. contract.docx) and click OK to complete the Dropbox module.
make-dropbox-select-file-min
  1. Next, add a Microsoft Word Templates module and set it to Fill out a document.
make-ms-word-templates-min
  1. Construct the output file name. You can use the form and field values like the submission ID, name, etc.
make-ms-word-templates-output-filename-min
  1. After that, click Add Item under the Values section, then map the fields.
make-ms-word-templates-add-item-min
  • Value Type – should be “Value” for basic use.
  • Key – should match the merge tags in your Word template. For example, use “name” as the Key for the Word template’s {{name}} merge tag.
  • Value – the form field value that will be displayed in place of the merge tag. You can combine as many fields as you like. For example, you can combine first name and last name to display the full name.
make-ms-word-templates-values-min
Always use the child options rather than the parent option in the Value to exclude the HTML formatting.
  1. Set up the rest of the merge tags then click the OK button to complete the Microsoft Word Template module.
  2. Next, add another Dropbox module and set it to Upload a File this time.
make-dropbox-upload-file-min
  1. Set the destination folder then select the Microsoft Word Templates – Fill out a document option.
  2. Click the OK button.
make-dropbox-ms-word-templates-min

The final scenario should look like the following:

make-save-enable-scenario-min
  1. Finally, click the disk icon to save the change then enable the Scenario.

That’s it! If you have any questions or if you are stuck at some point, feel free to write a comment below.

Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • calyn hilder - Profile picture
  • Juste Fanou - Profile picture
  • Marla - Profile picture
  • Smith - Profile picture
  • Julius Rainey - Profile picture
  • Dominic Bish - Profile picture
  • JonasAu - Profile picture
  • MrWindfall - Profile picture
  • MrWindfall - Profile picture
  • Joshua111 - Profile picture
  • ptana2003 - Profile picture
  • Yanir89 - Profile picture