Word to email template
Nintex DocGen allows you to use a Word document as an email template to be included in a DocGen Package. Using an email template is an efficient way to standardize content for your email delivery method. With the Word to email template feature, your end users will have the ability to edit the email body from the template before it is sent.
This page will cover how to:
- Create an email template in Word
- Configure a Word to email template for a delivery method
- Edit the email body of your Word template before it is sent
For email templates, only Word file types are supported. For other templates, see Supported template file types.
Create an email template in Word
Follow the steps below to create an email template in Word.
Nintex recommends that you create a single-cell table to contain your email template. This table sets the width of your email template:
- In Word, click Insert > Table and select the first grid to create a 1x1 table.
- Adjust the single-cell table to the desired size of your email template.
- (Optional) Remove the table border:
- Right-click in the table that you just added.
- Navigate to the border control drop-down menu and select No Border.
- Create content within the table.
- Click File > Save when completed.
As an optional step, you can make your email template dynamic by adding tags A prefilled word block that DocGen selects for fields in your DocGen Package. The tag is a placeholder for the value being retrieved from Salesforce and it gets replaced with the relevant information when the document is generated. to the Word document. This allows the data to be pulled from your Salesforce org and merged into the tags that you place in a WordSee Tag a Word document.
To add images in your email template, be sure to follow the instructions below instead of embedding images directly in the Microsoft Word document:
- Locate and copy the URL of an image that is hosted online.
- In Microsoft Word, click Insert > Pictures. The Insert Picture window displays.
- Paste the image URL in the File name field.
- Next to Insert, click , and select Insert and Link. Resize the image, if desired.
- Click File > Save when completed.
Configure a Word to email template for a delivery method
Now that you've created your email template in Word, follow the directions below to configure the template for an email delivery option:
- Upload the Word file to your Salesforce Files, then add the file to the appropriate library and ensure that your users have access to that library. See Upload and Share Files in the Salesforce help.
- Open or Create a DocGen Package.
- In the Templates configuration, select Include Template field and set it to one of the following:
- Email Body for Delivery Only
- Always, Optionally, or Conditionally. When one of these options are set, select the Available as Email Body for Delivery check box that displays. This option includes a copy of the template as an email attachment.
- Rename the Template Name field if preferred.
- Click Save. You are now ready to configure the Microsoft Word template as an email delivery method.
Note: You can use both Salesforce Email as Delivery Method or SMTP Delivery Method.
- Select the Delivery tab.
- Scroll down to locate and click Add Delivery Option.
- Expand Email and click Email.
- Complete the delivery options:
- Ensure that you set the Email Contents field to Word to Email Template.
- Under Email Template, select the template file that you want to use if more than one displays:
- Click Save.
- Run the DocGen package.
Edit the email body of your Word template before it is sent
After you've completed configured a Word template for an email delivery method, your users can edit the email body before sending emails.
This feature is currently not supported in the DocGen Lightning Component. |
Note: Although Rich Text controls are available to make some formatting changes to your email before it is sent, the intent of the feature focuses on the ability to make desired content changes. If more advanced changes are required such as formatting changes to tables and font styles, we recommend that you make these changes directly in the template document.