If your org still copies and pastes details into Word and emails PDFs for signatures, you know how fragile that gets. Salesforce document generation needs consistent templates, correct lookups for related data, and a reliable way to send documents for signature. This guide walks a Salesforce Admin through the planning and the clicks so your team can produce a 60-page agreement, merge in child-line items, and send the bundle for signature without losing the audit trail.
Plan your Salesforce document generation
Start by mapping the data you actually need in the document. Which object is the source record - Opportunity, Contract, Quote or a custom object like Renewal__c? Which related lists must appear as tables - QuoteLineItems, OrderItems, or custom child objects?
Checklist before you build templates
- Pick the primary record type you will generate from - e.g., Opportunity.
- Ensure Contacts have the right roles and are linked to that Opportunity or Contract record.
- Confirm lookup chains are populated - DocuGen can reach five levels of parent lookups, so know whether you need Account->Parent->Division etc.
- Decide which child records should repeat as table rows - price lines, products, change orders.
- Decide where the finished document should file - Salesforce Files or Notes & Attachments (remember Notes & Attachments caps at 25 MB).
Example scenario: you have 200 renewal Opportunities a month, each with an average 6-line OrderItems table and a 60-page T&C appendix. Your template must include repeating rows for OrderItems and append the full T&C PDF. The document size may push you to Files rather than Notes & Attachments.
How to merge templates in Salesforce
Admins don't need to code to merge Word or PDF templates. The basic flow is: create a Word or PDF template with placeholders, map or select the primary Salesforce record, and include any child repeating tables. The connector can pull fields from parents up to five levels and can output those child records as repeating rows.
Template tips for a cleaner merge
- Keep placeholders predictable. If you plan to pull Account.Parent.Name, test that parent exists on a sample record.
- Build repeating tables in your Word template where you want rows to appear. Use a single sample with multiple rows during testing to verify pagination and headers repeat correctly.
- If you append static PDFs (like a 20-page appendix), include them as separate templates and bundle them at signature time so page numbering and order stay correct.
Because the connector fills both Word and PDF templates and supports bundles, you can merge multiple templates into one signature-ready file - for example, a main agreement, a pricing exhibit, and a scope appendix.
How to send for signature Salesforce
Once your merged document is ready, you need a repeatable way to send it for signature. The connector hands the document to your organisation's Circularo account to manage signing and the signer experience.
Key signing details an admin should set
- Signature placement uses anchor tags in the template so positions survive repagination - you don't need fixed coordinates.
- Signer identity options include an emailed one-time code, and you can also require a per-signer password that is read from that signer's Salesforce record.
- Bundling lets you merge several templates and send them as a single signature run so signers get one combined document to review and sign.
- When the document is signed, the signed PDF is written back to the same Salesforce record automatically.
Triggering can be manual - a button on an Opportunity or Quote - or automated - when a stage changes, when a field flips, or when a new file is added to the record. Pick the approach that fits your sales process. For example, place a "Generate & Send" button on the Opportunity page where SDRs prepare renewals so they can dispatch the bundle during the deal close call.
Permissions, file size and sandbox testing
Two admin concerns are file size and security. Documents up to 40 MB are supported by the connector; remember Salesforce Notes & Attachments are capped at 25 MB so use Files for larger documents. There is no managed package to install - the connector uses an authorised connection, which simplifies security reviews because there is nothing to install in the org.
Do your testing in a sandbox. The connector works in sandboxes exactly as in production, so you can test parent lookups, repeating tables, and signing flows without touching live data. Test with a 60-page combined document and multiple signers to validate anchor-tag placement and that the signed PDF returns to the record correctly.
Common admin pitfalls and how to avoid them
- Missing parent lookup values - include a validation or a list view to surface records with blank lookups before you generate documents.
- Too-large attachments - switch to Files or split large appendices into a bundle so each template file stays manageable.
- Signer confusion - use signer roles and the emailed one-time code option so external signers don't need Salesforce accounts.
- Unclear audit trail - make sure the template writes the merged file and the signed PDF back to the same record so your Contracts list always shows the final signed document.
Admin example: add a validation rule and a compact list view on Opportunity that shows missing Billing Contact or Contract Template fields. That prevents a user from hitting the Generate button and getting a partial document that needs rework.
Savvy DocuGen fills Word and PDF templates from any Salesforce record, supports five levels of parent lookups and repeating child rows, bundles templates for a single signature run, and writes the signed PDF back to the record. It sends documents for signature through your Circularo account and uses anchor tags so signature positions survive repagination. There is no managed package to install and it works in sandboxes exactly like production.
If you want to try this in your org, install nothing and test in a sandbox: create a Word template, map the data on a sample Opportunity, trigger a merge with a button or a stage change, and send the bundle for signature. Interested? Try Savvy DocuGen in your sandbox to run a full template merge and signature flow on a test record.
Read next