The Document Automation Wizard walks you through building your own document solution: a button on a Salesforce object, the data it gathers, a Word template, and output settings. This example creates a button on Account that generates a PDF.
Before you begin
- Install Docs Made Easy and assign licenses and permission sets.
- Have a Microsoft Word document ready to use as your template.
Create the button and gather data
Open the App Launcher in the top-left corner, search for Docs Made Easy, and open the app.
Go to the Document Setup tab and click Launch Wizard. The wizard opens.
Enter a name in the Button Name field, select the Salesforce object you want to generate documents from, and click Create. The Gather Data page opens.

To include data from a related object, click Add Child. The Add Child window opens.
Choose the related object, enter an alias for it, and click Save. The related object appears on the Gather Data page. Click Next. The Add Templates page opens.

Add your template
On the Add Templates page, click Create New Document Template. An upload window opens. Click Merge Field Helper.
Select the fields you want in your template, such as Account Number or Account Description. Click Copy to Clipboard to copy the merge field syntax, then paste it into your Word template.

To add fields from related objects, select Relationship Merge Fields, copy their syntax, and paste it into your Word template next to the other merge fields.

When your template is complete, enter a template name, click Upload Files, and then click Save. The Assign Behaviors page opens.
Set the output behavior
On the Assign Behaviors page, turn on background mode so that document generation runs in the background.

Under Generated File, select PDF as the output format, click Save, and then click Next. You can choose a different format if you need one.

Add the button to the page layout
Click Go to Page Layouts. The Page Layouts list for Account opens. Click the layout you want to edit. The page layout editor opens.
Find your custom button, drag it into the Salesforce Mobile and Lightning Experience Actions section, and click Save.

Generate the document
Open the App Launcher, search for Accounts, and open any account record. Your custom button appears in the top-right corner of the page.

Click the button. Docs Made Easy generates the document and downloads it as a PDF.
Related: Generate your first document with Quick Start and Create a template with the Document Automation Wizard.