Gold fountain pen nib on a white surface

Photo: Art Lasovsky / Unsplash

Guide

Salesforce document generation and e-signature: quotes and contracts

How to generate quotes, order forms, contracts and onboarding forms from Salesforce, route them for e-signature, write status back, file signed copies and pick native or AgentExchange (formerly AppExchange) tools.

Salesforce can produce quotes, order forms, contracts and onboarding forms straight from record data, then route them for signature and file the signed copy. Standard Quote templates cover simple PDFs. OmniStudio Document Generation and Salesforce Contracts handle richer documents, subject to licensing. AgentExchange (formerly AppExchange) tools fill the gaps. The work that decides success is clean data, governed templates, and a status that writes back so Flow can trigger the next step.

Which documents should Salesforce generate and send for signature?

Start with documents built from data already in Salesforce and sent many times a month. If someone retypes account names, prices or dates into Word, that document is a candidate.

  • Quotes and proposals built from opportunity products or quote lines.
  • Order forms that confirm what was sold, at what price and on what terms.
  • Master agreements and NDAs, where legal owns the language and sales owns the variables.
  • Statements of work that pull scope, milestones and rates from project records.
  • Onboarding and intake forms that collect customer details and a signature.
  • Renewal notices and amendments that reference the current contract and its end date.

Leave low-volume, heavily negotiated documents for later. A bespoke enterprise contract redlined over many rounds gains little from a template in the first release.

What can Salesforce do without buying an add-on?

Quite a lot for simple quotes, and more if you already hold the right licenses. Check each option below against your edition and contract before planning around it.

Standard Quote templates. Sales Cloud includes a Quote object with a template editor. Users click Create PDF, preview it and save it to the quote's Quote PDFs related list. Salesforce Help lists this for Professional, Enterprise and Unlimited editions. Layout control is basic, and conditional logic is very limited.

OmniStudio Document Generation. This builds documents from Word or PowerPoint templates filled with Salesforce data. It runs client-side for interactive use, or server-side for large documents and batches. Server-side generation must be switched on. It needs Document Generation licenses, so ask your Salesforce account team which ones your org holds.

Revenue Cloud quote documents. Revenue Cloud, which Salesforce Help has also grouped under the Agentforce Revenue Management name, has its own quote document templates. Older Salesforce CPQ orgs use the CPQ template engine. Our CPQ implementation guide covers quote output in that context.

Salesforce Contracts. Salesforce describes this as a contract lifecycle app with templates, a clause library, versioning and e-signature through an integrated provider. Its help pages show sending through a connected Docusign account. Confirm which Salesforce Contracts and DocGen licenses each user role needs with your account team. Packaging and pricing are changing quickly, so get current terms in writing before you design around it.

When does an AgentExchange document or signature tool make sense?

When native templates cannot produce the document you need, or when nobody owns a native signing flow. The AgentExchange has many document generation and e-signature apps that install into Salesforce.

They tend to fit when you need drag-and-drop template editing by business users, or rich tables and conditional clauses. They also suit high-volume batch runs, or a signing experience your customers already know. Many combine generation and signing in one package. Evaluate them on how they store data, how they write status back, and who in your team can maintain them.

How should templates be designed so they stay maintainable?

Keep each template short on logic and long on reuse. Every rule hidden in a template is a rule someone must find later.

  • Merge fields: map each placeholder to one documented field. Avoid formula fields that rebuild text the template could format.
  • Conditional sections: show a clause or schedule based on a clear field value, such as region or product family. Avoid nested conditions several levels deep.
  • Line item tables: decide grouping, subtotals, discounts and zero-price rows once. Test with the longest real deal you have.
  • Clause libraries: store approved legal language once and reference it. Legal edits a clause, not dozens of templates.
  • Versioning: give templates an owner, a version and an effective date. Retire old ones instead of editing them silently.

Aim for fewer templates with switches, not one template per region and product. Teams that clone templates for every variant end up with dozens that drift apart.

What data has to be right before a document is generated?

Every field the template reads. A generated document repeats a data error faster and more confidently than a person retyping it.

Audit legal entity names, billing and shipping addresses, signer contacts and titles, currency, payment terms and product descriptions. Make the fields required at the stage where the document is produced, not at record creation. Add a pre-generation check, in Flow or validation rules, that blocks the button when a required value is blank. Signer email deserves special care, because a wrong address sends a contract to the wrong person.

Should approvals happen before the document is generated?

Yes, for anything with price or legal risk. Approve the record, then generate from the approved values, so the PDF cannot differ from what was signed off.

Lock the fields that drive the document once approval is granted. If someone edits price or terms afterwards, reset the approval and void any document already produced. Our guide to Salesforce approval processes covers matrix design, delegation and recall.

How should the signing workflow connect back to Salesforce?

The signing tool should report each status change to the Salesforce record, and the signed PDF should land there automatically. Without write-back, reps chase signatures by email and nobody trusts the pipeline.

  • Routing order: define who signs, in what sequence, and who only receives a copy. Countersignature by your own signatory usually comes last.
  • Status fields: record sent, viewed, signed, declined, voided and expired, with timestamps.
  • Signed copy: attach the completed PDF and its completion certificate to the record as a Salesforce File.
  • Reminders and expiry: set them in the signing tool so stale envelopes close on their own.
  • Next steps in Flow: on completion, create the order, open an onboarding case, update the opportunity, or alert finance.

Test the declined and voided paths as carefully as the happy path. Those are the cases that leave records in a misleading state.

Are electronic signatures legally binding?

In the United States, generally yes for most commercial agreements. The federal ESIGN Act and state laws based on UETA give electronic signatures legal effect, with exceptions for certain document types.

Validity also depends on consent to do business electronically, intent to sign, and a reliable record of what was signed. Signing tools usually supply an audit trail for this. Other countries have their own rules. This is general background, not legal advice, so have counsel confirm which documents you can sign electronically.

Who should be able to edit templates and see generated documents?

Very few people should edit templates, and document visibility should follow the parent record. A changed clause in a live template is a contract risk, not a formatting fix.

Give template edit rights to a named owner in legal or sales ops, through a permission set. Promote template changes from a sandbox after review. Files attached to a record inherit its sharing, so check who can see opportunities and accounts before attaching signed contracts. Limit who can void or resend envelopes, and restrict who can download in bulk.

Where should generated and signed documents be stored?

Keep the signed copy on the Salesforce record so users find it in context. Plan for growth, because PDFs consume file storage and every draft adds another.

Save drafts sparingly, or delete superseded versions once the final is signed. Decide whether the system of record for executed contracts is Salesforce, the signing tool or a document repository, and link the others to it. Set retention rules with legal before volumes build. Our data archiving and retention guide explains file storage limits and archive options.

How do the options compare by need?

Match each requirement to the simplest tool that meets it. Use the table as a starting checklist, then confirm licensing for your org.

Document generation and e-signature needs in Salesforce, as of this review
NeedNative optionWhen an add-on fitsWatch out for
Simple branded quote PDFStandard Quote templatesYou need conditional sections or richer layoutsBasic layout control; check edition support
Complex quote with bundles and termsRevenue Cloud or CPQ quote documentsYour pricing lives outside Revenue Cloud or CPQTemplate logic duplicating pricing rules
Contracts and SOWs from Word templatesOmniStudio Document Generation, if licensedBusiness users must edit templates without admin helpLicensing, and server-side setup for large files
Clause library and contract versionsSalesforce Contracts, if licensedLegal already runs a separate contract systemCurrent packaging and pricing; confirm in writing
E-signature with status on the recordSigning via an integrated provider in Salesforce ContractsYou need signing on quotes, forms and other objects tooWrite-back fields and Flow triggers on decline or void
High-volume renewal noticesServer-side document generation, if licensedYou need scheduled batch runs with emailingFile storage growth and send limits

What does a sensible first release look like?

One or two high-volume documents, one signing path, and automated write-back. Prove the loop end to end before adding templates.

  • Inventory every document the team produces, with volume, owner and source fields.
  • Pick the document with the most retyping and the clearest template.
  • Clean and require the fields it reads, and add a pre-generation check.
  • Build the template with a named owner, then test with real edge-case records.
  • Connect signing, status write-back, signed-copy filing and one Flow next step.
  • Measure turnaround and errors, then add the next document.

What have Abstrakt clients built?

A payments ISO replaced two legacy systems with a Sales Cloud merchant lifecycle. The build included e-signature workflows for bank-specific merchant agreements, alongside automated underwriting submission and an agent portal.

A painting and construction company added CPQ guided selling with automated square-footage pricing. According to the case study, estimators now build quotes on iPads and capture the customer's e-signature in the field.

Chris Gooding, President & CEO of Abstrakt Solutions
President & CEO, Abstrakt Solutions
LinkedIn →

Tech Talk

A monthly brief for the people who own Salesforce, AI and revenue technology

What changed in Salesforce and AI this month, and what to do about it.

One email a month. Written by the consultants who deliver the work, not by a marketing team, for the leaders who make the technology decisions.

  • What changed in Salesforce, AI, integration and RevOps, and what it means for your org
  • At least one framework, checklist or reference architecture you can take into a meeting
  • Honest opinions, including when we disagree with what a vendor is selling
  • No sales sequence. We do not sell from this list

Consultant analysis, not vendor recaps. One click to leave.

One email a month. Your industry and your address, nothing else. We never share either, and you can unsubscribe from the bottom of any issue. See what’s in Tech Talk →

Call (314) 916-4095 Book a consultation
Call (314) 916-4095 Book a call