Set up your first template using an example using Word or Google Doc
We're going to go through 3 simple steps to achieve this:
Prerequisites
✓ Complete installation of the Gonexa Package
✓ Basic knowledge of Microsoft Word or Google Docs
✓ Updated application to a recent version
What is the main object?
It is the Salesforce object from which you want to trigger the generation and the base context for creating a document and retrieving the data to display in the template. It can be standard, custom, or from another Salesforce application.
Example
You can rename the label Opportunité_Gonexa_2026__c to Opp to make the tags inserted into the template easier to understand and shorter.
Tip
To have a more personalized filename like "Quote-{Today's Date} {Quote No.} Account Name," consider creating a formula field on the main object and setting it as a suffix.
VERSION CONTROL POLICIES
AVAILABLE FORMATS

GENERATION TYPES
The basic settings have been configured. You can proceed directly to building by creating the template. However, if you wish to add tags to child objects, please create them first before moving on to the design and tag insertion phase.
What is a child object?
Optional, adding one or more child objects allows you to display a list associated with the main object, such as opportunity products, items, or account contacts, in a table format.

For more details on children's objects, go to the article Manage tables

Tip
You can start with a document template you already have or download a Gonexa template directly from our library of pre-designed templates: Pre-designed templates
Tip
Position the assistant in a corner of your screen next to your Word template to keep it within reach.
You can also click the arrows to navigate between object relationships and search for information linked to the main object to traverse the relationships.
Note
File size is limited to 3MB by Salesforce standards.
Consider optimizing your file size to ensure it loads efficiently, which will improve generation times and save storage space in your org.
Note
Only docx, xlsx, pdf, or pptx file formats are supported.
The Preview feature allows you to validate the layout and dynamic elements of a template by providing an accurate preview of the final document before full generation.

Tip
Generations in Sandbox are not counted. Test without limits!
Your template is now available for generation by anyone who has the "Gonexa Doc Users permission sets" assigned.
Return to your main object to see the template available for generation via the generation component.
If a log error occurs, no document is generated.
Your generated document appears in the standard Salesforce preview by default. You can override this with the Gonexa preview.
Tip
The Gonexa Preview component provides faster PDF previews and access to various controls like quick print, zoom, or one-click document download.
Note
If a user cannot see the generated template when creating a document, check the document template sharing rules. If it is set to private, access to the template may be blocked. If no sharing rules have been created, we recommend setting the template sharing parameter to public read-only.
Make document generation available based on criteria related to your main object.
For example
You can make contract template A available only for quotes above a certain amount, or set template B for key accounts and template C for suppliers.
Tip
You can add as many conditions as needed and choose whether they must all be met (AND) or if only one needs to be met (OR).