Use files stored in Google Drive as Templates
Use Nintex DocGen for Salesforce's DocGen Package A customizable package that consists of your Salesforce data, documents, and delivery configurations for documents you want to generate. templates A document/file that can be added to a DocGen Package. Data can be filled into the document/file. with files stored in Google Drive. Nintex DocGen only supports Microsoft Office files such as Microsoft Word, Microsoft Excel, and Microsoft PowerPoint, so you will only be able to use the files stored in Google Drive.
Google Drive is a cloud storage service which allows you to store files beyond the limits of your hard drive. You can store any kind of file in Google Drive, such as documents, photos, and videos.
Note: Google Docs and Google Sheet file types are currently not supported in Nintex DocGen.
1. Confirm file storage settings in Google Drive
Ensure that the file storage settings in your Google Drive account are configured correctly to add documents as templates for your DocGen Packages.
- In your Google Drive account, navigate to the top right corner and click
.
- Click Settings.
- Confirm that the Convert upload check box is unchecked to prevent Google from turning your Microsoft Office files into Google Doc formats or file types.
- Click Done.
2. Upload files to Google Drive
You can upload template files to the desired location in your Google Drive account. For more information , see Upload files and folders to Google Drive.
Google Drive displays icons next to each file that is uploaded to your drive.
Microsoft Word files have a icon indicating that the file is still in Microsoft Word format. Google Doc format files have a
icon indicating that the file is in Google Docs format.
Note: Any files in Google Doc format with the icon will not be supported as a template in Nintex DocGen.
3. Retrieve shareable file links
You can share your Google Doc files by sharing a link with others directly from your Google Drive account. You can use a Google Drive link generator or follow the steps below to generate your link.
- To view your files in List view, click
in the top right corner.
- Right click on the template file, then select Copy link. The shareable link to your template document will be copied to your clipboard automatically.
- Open a notepad and paste the copied link. In order for the link to work properly with Nintex DocGen, you will have to alter the link.
- Copy the ID portion of the link (the section after "d/" and before "/edit"). For example, the link copy and pasted in step c. should be structured like the following, with the bold portion representing the ID portion of the link: https://docs.google.com/document/d/2aN0Xsu3j-c76605_GQDacq00ZSohC9e0/edit?usp=drive_link&ouid=113036651416182851138&rtpof=true&sd=true
- Paste the ID into the URL below, replacing the example ID shown here:
- Copy the URL.
For more information , see Share files from Google Drive.
4. Create a new referenced document in Salesforce
Add documents stored in your Google Drive account using the shareable link created as described in Use files stored in Google Drive as Templates. Nintex DocGen will copy the document into your DocGen Package and use it as a template.
![]() |
The following steps are not yet supported in the Lightning Experience DocGen Designer. |

- From the Nintex DocGen home page, in the top right corner, click the avatar icon.
- Click Switch to Salesforce Classic.
Your user interface will switch to the Classic Experience.
- From the Nintex DocGen homepage, click the Documents tab.
- Select the folder you want to add the Microsoft Word link to.
- Click New Document.
Note: If you don't see the New Document option, check your permissions. For more information, see Manage user permissions and licences
- Enter the required details:
- Document Name: Enter what you want to call the document.
- Document Unique Name: Enter a unique name for the document.
- Internal Use Only: Check this box if you want the document to be available only to users in the organization.
- Externally Available Image: Check this box if the you want to include an image that can be available for any user.
- Folder: The folder location where the document is stored.
- Description: This field is optional. Describe the document.
- Keywords: This field is optional. Enter words that relate to the document.
- In the Select the File section, select Create a reference link to the file. Enter a file location that others can access option.
- Enter the altered shareable link from your Google Drive account, as described inUse files stored in Google Drive as Templates, Step 4.
- Click Save.
For more information on the fields and buttons, see Upload a new document fields, buttons, and settings.
5. Add the document as a template to your DocGen package
![]() |
The following steps are not yet supported in the Lightning Experience DocGen Designer. |

- From the Nintex DocGen home page, in the top right corner, click the avatar icon.
- Click Switch to Salesforce Classic.
Your user interface will switch to the Classic Experience.
- From the Nintex DocGen homepage, click DocGen Packages.
- Open the DocGen Package you want to add the document to.
- In the Select Files section, select the folder where you added the document from your Google Drive account.
- Click Save.
For more information, see DocGen Packages.

Section | Field |
Description |
|
---|---|---|---|
Enter details | Document Name | A name for the document. | |
Document Unique Name | Enter in a unique name to help differentiate documents from one another. If you leave this field blank, it will automatically become what is specified in the Document Name field. | ||
Indicate Document is Internal | Check this box if you want the document to be accessed only by people in your org. | ||
Externally Available Image | Check this box if the document is not a confidential image, such as a company logo and you want to make the image available for use throughout the organization. | ||
Folder | The folder location where you added the document in your Salesforce Documents. | ||
Description | This field is optional. Describes what kind of document it is and what kind of DocGen Package it could be used for. | ||
Keywords | This field is optional. Words that you use as search criteria to retrieve the document. | ||
Select the File | Enter the path of the file or click browse to find the file | The local path where the document is stored on your computer. | |
Create a reference link to the file. Enter a file location that others can access. | Enter shareable links from third-party apps such as Google Drive. |