Back to the blog

Guide: Salesforce document generation and e-signature for admins

Guides 7 min read 16 November 2026

The problem in two sentences

You have a 60-page agreement that needs different clauses per region, and renewals for roughly 200 customers every month. Someone still downloads, edits and emails the PDF, then spends days chasing signatures.

This guide shows how to stop that with Salesforce document generation and e-signature configured by an admin—no coding, no package install, just templates, Flow triggers and a connection to your Circularo account.

How Salesforce document generation should work

At its simplest: one Word or PDF template, filled from the Opportunity, Account and child records, merged automatically, saved back to Salesforce, then sent for signature. You want this flow to be repeatable for every renewal, and to keep the signed PDF on the same record for audit and reporting.

Key outcomes you need

  • Fill data from standard and custom objects (Opportunity, Account, Contact, any __c) and child rows (line items, schedules).
  • Support parent lookups up to five levels and repeating child rows for tables.
  • Save the generated document to the record as a File (or Notes & Attachments when small) and keep the signed copy attached after signature.
  • Trigger from a button, a stage change, a field change, or when a new file appears.

Why manual document work fails at scale

Manual steps introduce three common failure modes: data drift (wrong addresses or clause choices), versioning chaos (multiple PDF copies floating in inboxes) and signature delay (emails lost, signers confused about what to sign). For 200 renewals a month, even a one-hour manual process per renewal is a full-time role.

A concrete scenario

Imagine renewing 200 accounts per month with a 60-page agreement that includes variable pricing and a three-row signature block for customer, sales rep and legal. If signing averages four days, you could save weeks of delay and dozens of manual edits by automating generation, bundling the preface + agreement + amendment into one signature run, and writing the signed PDF back to the Opportunity or Contract.

Set up Salesforce document generation (admin steps)

Savvy DocuGen was built for admins who prefer clicks. Here’s the practical setup path you can follow in a sandbox.

1. Prepare templates in Word or PDF

  • Create a Word template for each document type: master agreement, amendment, pricing page. Keep placeholders where data will merge.
  • Design repeating tables for child records (for example, Quote Line Items). Savvy DocuGen supports child and grandchild rows as table rows in the template.
  • Place clear anchor text for signature locations (plain text like SIGNER_CUSTOMER or SIGNER_SALES). Anchor tags survive repagination, so they’ll stay correct even when clauses shift pages.

2. Configure templates in Savvy DocuGen

  • Upload each Word/PDF template and map the merge fields to Salesforce fields—standard or custom.
  • Set whether the finished document is saved to Files or Notes & Attachments (remember: Notes & Attachments has a 25 MB cap; Savvy DocuGen supports documents up to 40 MB when saved to Files).
  • If you need multiple documents sent together, configure a bundle so they go in a single signature run.

3. Choose your trigger (button, Flow, field change)

  • Button on the Opportunity or Contract: best for one-off ad hoc sends.
  • Stage change or field update: use a Flow that checks conditions then starts the merge and signature process automatically.
  • New file on the record: trigger when a customer uploads an executed document and you want DocuGen to create a summary PDF or begin additional approvals.
Example simple Flow steps
1. Record-triggered Flow on Opportunity stage = 'Renewal Ready'
2. Get related Account and Quote records
3. Call Savvy DocuGen action to merge templates and bundle
4. Save merged PDF to Opportunity Files
5. Start signature through Circularo and wait for signed PDF
6. Update Opportunity fields and attach signed PDF

Signature options and identity

For each signer you can require an emailed one-time code and optionally a per-signer password read from the signer’s Salesforce Contact or User record. Savvy DocuGen sends signatures through your own Circularo account and writes the signed PDF back to the same record when the signing completes.

Practical tips

  • Use explicit signer roles (Customer, Sales Rep, Legal) so you can track who still needs to sign.
  • If signers are external, enable the emailed one-time code for a smoother identity check.
  • Bundle related templates so recipients only sign once for all documents.

What to expect after go-live

Once set up, admins will spend most of their time maintaining templates and data mapping—not chasing signatures. Generated files are stored on the record for audit and reporting, and the whole flow works the same in sandboxes as in production, so test changes safely before you flip anything on.

Savvy DocuGen connects through an authorised connection (no managed package to install), supports five levels of parent lookup, child/grandchild repeating rows, bundles documents into one signature run, and saves signed PDFs back to the record. Documents can be up to 40 MB, and signature positions use anchor tags so they survive repagination.

Ready to try it in your sandbox? Connect your sandbox to Savvy DocuGen and run a test using a sample Opportunity with representative child records. Your next renewal cycle should be the first you don’t have to chase.

Read next