Salesforce · Document Generation

Formstack Documents consulting and implementation for Salesforce teams

Formstack Documents turns Salesforce records into finished contracts, proposals, agreements and transaction packets — but only when the templates, merge mappings and triggers underneath it are designed properly. Twopir Consulting plans, configures, integrates, tests and supports those implementations. Templates, data mapping, Flow triggers, delivery and signature — one accountable engagement.

Document Generation Flow
SALESFORCE DATA Salesforce Record Opportunity · Account · Custom Related Records Line items · Contacts · Children Flow & Apex Record Button List View · Bulk FORMSTACK DOCUMENTS LAYER Template Word · PDF · PPTX Excel · Builder Merge & Logic Merge fields · Rules Loops · Modifiers Delivery Email · Salesforce Drive · SFTP · Sign ONE TEMPLATE SET · EVERY RECORD · EVERY TIME 2πr BUSINESS OUTCOMES Consistent Output One approved version, not twelve copies Faster Turnaround Generated on demand, not assembled by hand Clean Audit Trail Every document filed back to its record GENERATE · MERGE · DELIVER · SIGN
50+
Formstack + Salesforce integrations
12+
Years Salesforce delivery
500+
Clients served
250+
Deployments delivered

Trusted by 500+ organizations — real estate, professional services, legal and technology teams building their revenue and document operations on Salesforce with Twopir Consulting.

Amberscript
Kacific
RChilli
Spinify
Ultra Consultants
Zarraffa's Coffee

Built for Salesforce Document Automation

  • Salesforce Partner
  • Formstack Documents
  • Formstack Forms
  • Formstack Sign
  • Salesforce Flow
  • Apex & Custom Build
  • Real Estate
  • Professional Services
The Starting Point

Where document work breaks down

Most teams do not have a document problem in isolation. They have a handoff problem that shows up as documents — the data is already correct in Salesforce, and then a person retypes it. Every retype is a delay and a chance to be wrong.

Documents are still assembled by hand

Someone opens last quarter's agreement, saves a copy, and retypes the client name, dates, amounts and terms that Salesforce already holds. The work is invisible until you count the hours.

The same data is entered twice

The record is right. The document is typed again anyway. The two disagree the moment either one changes, and nobody knows which version the client actually received.

Template sprawl makes every change a project

A dozen near-identical versions of one agreement live across Drive, SharePoint and individual desktops. A pricing or clause update means editing all twelve — and missing one.

Turnaround is measured in days

A proposal or contract that should leave the same day waits on whoever owns the template, whoever approves it, and whoever gets round to sending it. Deals cool while paperwork queues.

Approval, signature and filing stay manual

The document is generated, then emailed by hand, chased by hand, signed somewhere else, and filed back into Salesforce by whoever remembers. The automation stops at the PDF.

Nothing scales past one record at a time

Renewal notices, annual statements and batch packets are fine at ten records and impossible at four hundred. Volume work quietly becomes a week of somebody's month.

Definition

What Formstack Documents is, and who it is for

Formstack Documents is a document-generation application that merges data from Salesforce into a pre-built template and returns a finished document. Templates are authored in Word, fillable PDF, PowerPoint, Excel or Formstack's own builder; the merged file comes back as a PDF or in its native format. It is installed in Salesforce as a managed package from the AppExchange, and documents can be generated from a button on a record, from a Salesforce Flow, from Apex, from a list view for bulk runs, or from a submitted form.

It is built for repeatable, data-driven documents — the ones your team produces the same way every time, from data that already lives in a record. Contracts, proposals, quotes, agreements, transaction packets, onboarding forms, renewal notices and statements all qualify. A one-off document that a person writes from scratch does not; no generation tool helps there.

A note on naming. In June 2025 the company behind Formstack renamed itself Intellistack and moved its headquarters to Denver, while keeping the Formstack product brand in place. The product you buy and install is still called Formstack Documents, and the Salesforce package is still Documents for Salesforce — you will simply see both company names in the wild. Formstack's Getting Started With Documents on Salesforce documentation is the vendor's current reference for the package itself.

Comparison of approaches to generating documents from Salesforce data
ApproachWhere templates are authoredWhere generation runsTypical fit
Formstack DocumentsWord, fillable PDF, PowerPoint, Excel or the Formstack builder — business users can maintain templates in tools they already useFormstack's document service, called from the Salesforce managed packageTeams that want business-maintained templates, several output formats, and delivery to many destinations
Native Salesforce buildLightning or Visualforce templates, maintained by a developerInside your Salesforce orgSimple, low-volume outputs whose layout rarely changes and where no business user needs to edit them
Salesforce-native document appsTemplates held inside Salesforce — see our S-Docs native document generation servicesInside your Salesforce org, so record data does not leave the platform to be mergedOrganizations whose data-residency or security rules require generation to stay in-org
Manual assemblyWhatever file someone saved last quarterA person, retyping data that already existsGenuine one-offs only — it stops working the moment volume or consistency matters

We implement all three automated approaches and will say plainly when Formstack Documents is not the right fit for your requirement. Choosing the tool is part of the assessment, not a foregone conclusion.

Three Engagements

Implement it, fix it, or build on top of it

Three different problems, three different scopes. Most enquiries arrive as one of these, and knowing which one you are in is the fastest way to a realistic estimate.

01 · New deployment

Formstack Documents Implementation

You have decided on Formstack Documents and need it live, correct and adopted. We take it from a blank org to a working document process your team runs without us.

  • Managed package install and org configuration
  • Document and data requirements workshop
  • Template build across Word, PDF, PPTX or Excel
  • Merge mapping from primary and child objects
  • Trigger design, delivery setup, UAT and training
02 · Already live

Configuration, Optimization & Support

You already own Formstack Documents and it half works. Templates have multiplied, mappings break when someone renames a field, and nobody is sure which merge is authoritative.

  • Template consolidation using conditional logic
  • Merge mapping repair and field-rename resilience
  • Moving trigger logic into Salesforce Flow
  • Performance work, including High-Volume Generation
  • Permissions, error handling and ongoing support
03 · Beyond configuration

Custom Development Around It

Your requirement has outgrown point-and-click. This is Salesforce development work that uses Formstack Documents as the generation engine inside a larger process.

  • Apex-invoked generation and merge orchestration
  • SOQL-based mappings for complex relationships
  • Multi-object document packages in a defined order
  • Custom Lightning components for document actions
  • Scheduled batch runs with retry and error reporting
Where Formstack Documents configuration ends and Salesforce custom development begins
What you need the document to doConfigurationCustom development
Pull a parent record and all of its child records into one tableYes — merge mappings plus looping over child recordsNot required
Show, hide or reword clauses based on field valuesYes — conditional logic and field modifiers in the templateNot required
Generate from a record button, a Flow, or a list viewYes — all three are supported by the managed packageNot required
Assemble one packet from several unrelated objects in a set orderPartial — only where the objects are genuinely relatedYes — Apex orchestration around the merge calls
Select data that point-and-click mapping cannot expressNoYes — SOQL-based merge mappings
Run thousands of documents on a schedule with retries and alertingPartial — High-Volume Generation covers the run itselfYes — scheduling, retry logic and error reporting around it
Route the finished document by rules that span several objectsPartial — standard delivery destinations are configurableYes — rule evaluation and routing logic in Apex or Flow

We scope against this boundary in writing before work starts, so "can it do X" is answered before it becomes a change request.

What We Deliver

The work behind a document that generates itself

Formstack Documents provides the generation engine. These six areas are the work that makes it produce the right document, from the right data, at the right moment — which is where implementations succeed or quietly fail.

Template Design & Engineering

We build the template your brand and legal team will actually approve, then engineer it so one template covers the variants that used to be separate files.

  • Word, fillable PDF, PowerPoint, Excel or builder templates
  • Brand, layout and legal-clause compliance
  • Variant consolidation into a single maintained template
  • Merge field naming conventions your admins can read
  • Template version control and change process

Salesforce Data Mapping

The part that decides whether the document is right. We map merge fields to the correct objects and relationships — and design for what happens when a field is empty.

  • Mapping from primary and child objects
  • SOQL-based mappings for complex data structures
  • Formatting modifiers for currency, dates and case
  • Null-value, blank-section and default handling
  • Data-quality review before any template is signed off

Conditional Logic & Document Rules

One document that behaves differently by region, product, deal size or contract type — instead of a folder of near-identical files that drift apart over time.

  • Conditional sections, clauses and pricing blocks
  • Looping over child records to build dynamic tables
  • Rules driven by Salesforce field values
  • Language, entity and jurisdiction variants
  • Test matrix covering every logic branch

Generation Triggers & Automation

Deciding when a document should be created is a business decision, not a technical one. We design the trigger around the process, then build it where it belongs.

  • Record buttons on standard and custom objects
  • Salesforce Flow-invoked generation
  • Apex invocation inside larger automations
  • List view generation for bulk runs
  • Form-submission triggered documents

Delivery, Storage & E-Signature

A generated document that sits in a queue has solved nothing. We route it to the people and systems that need it, and file it back where it belongs.

  • Delivery back into Salesforce, attached to the record
  • Email delivery to clients and internal recipients
  • Cloud storage and SFTP destinations
  • E-signature routing via Formstack Sign or DocuSign
  • Webhook delivery into downstream systems

Volume, Security & Reliability

The difference between a demo and a production system. We design for the day you generate four hundred documents, and for the auditor who asks who could see them.

  • High-Volume Generation design and tuning
  • Governor-limit-aware batch and bulk patterns
  • Permission sets and record-level access review
  • Error handling, retry and failure alerting
  • Sandbox-to-production deployment and regression tests
Use Cases

What teams actually generate from Salesforce

The pattern is always the same: a record reaches a stage, a document has to exist, and today a person makes it. Each of these runs from an object you already have.

Real Estate Transaction Documents

Purchase agreements, disclosures and closing packets generated from the deal or listing record, with parties, dates and figures merged from the same data the team already maintains.

Opportunity · Custom objects

Proposals & Quotes

A branded proposal built from the opportunity and its line items, with pricing tables looped from child records so the document and the pipeline can never disagree.

Opportunity · Quote · Line items

Contracts & Agreements

Master agreements, statements of work and amendments where clauses appear or disappear by contract type, entity or jurisdiction — one template rather than a folder of variants.

Contract · Account

Customer Onboarding Packs

Welcome letters, service schedules, account setup forms and compliance documents issued as one package the moment an opportunity closes, rather than assembled over a week.

Account · Opportunity

Renewals & Recurring Statements

Renewal notices, annual statements and scheduled reports produced in bulk from a list view or a scheduled run, instead of one record at a time in the last week of a quarter.

Contract · Asset · Bulk run

Invoices, Orders & Billing Documents

Invoices, order confirmations and payment schedules generated from billing records, with line-item tables built by looping and totals formatted by merge-field modifiers.

Order · Invoice · Line items

Legal & Professional Services Documents

Engagement letters, retainer agreements and client communications built from matter or case data, with the terms that vary by practice area driven by field values.

Custom matter objects

Multi-Document Packages

Several documents produced from one trigger, in a defined order, delivered as one package — the case where configuration ends and Apex orchestration begins.

Apex-orchestrated
Architecture

How it connects to the rest of your stack

A document process touches your CRM, your storage, your signature tool and often your billing system. These are the connections we design, and what actually moves across each one — part of our wider Formstack and Salesforce integration services.

Salesforce → Formstack Documents

The outbound direction. Field values from the triggering record and its children are sent to the merge request, so the document is built from live CRM data rather than a copy of it.

Formstack Documents → Salesforce

The return direction, using Salesforce delivery. The finished file lands back on the record it came from, so sales, service and finance all see the same document without asking for it.

Salesforce Flow & Apex

Where the decision to generate lives. Flow calls the generate-document action at the right stage; Apex does it when the trigger has to sit inside a larger transaction or run in bulk.

Formstack Forms

For documents driven by information you do not hold yet. A submission populates or updates the Salesforce record and can trigger the merge, so collection and generation are one flow, not two.

Formstack Sign & DocuSign

The step after generation. The merged document is routed for signature and the completed, executed copy comes back — see our Formstack Sign integration services for that half of the workflow.

Cloud Storage & SFTP

Where the document also needs to live. Google Drive, Dropbox and SFTP destinations receive the merged file automatically, which matters when a records system outside Salesforce is authoritative.

Webhooks & Downstream Systems

For everything with no native connector. A webhook carries the merge result and its metadata into a billing platform, a data warehouse or a document management system on your side.

Permissions & Access Design

Who can generate what, and who can see the result. Permission sets, record-level access and delivery destinations are reviewed together — a document can expose data the record itself hides.

How We Deliver

From document chaos to a process that runs itself

Six phases, one continuous engagement. Timelines depend on how many templates you have and how clean the underlying data is — both of which we establish in phase one, before anyone quotes you a date.

Phase 01

Discovery & Current-State Assessment

We inventory every document you produce, who produces it, from what data, and how often. This is where most of the real scope is discovered — teams routinely find twice the templates they expected, and half of them are duplicates.

  • Business and requirements discovery
  • Document and template inventory
  • Salesforce data-quality and object review
  • Volume, compliance and approval requirements
Phase 02

Solution Architecture

We decide what generates from where, which objects are authoritative, where conditional logic replaces a separate template, and which requirements need development. Getting this wrong is what produces a rebuild in month four.

  • Document-to-object mapping and data model review
  • Template consolidation plan
  • Trigger, delivery and security design
  • Configuration versus custom-development boundary
Phase 03

Configuration & Template Build

The package is installed and configured, templates are built to your brand and legal standards, and merge fields are mapped to the objects agreed in phase two — with naming your own admins can maintain after we leave.

  • Managed package install and org settings
  • Template and document design
  • Merge mapping, modifiers and looping
  • Conditional logic and document rules
Phase 04

Salesforce Integration & Automation

Generation is wired into the process that should cause it — a stage change, an approval, a form submission, a scheduled run — and the finished document is routed to every destination that needs it, including back onto the record.

  • Buttons, Flow actions and Apex invocation
  • Salesforce, email, storage and SFTP delivery
  • E-signature routing and return handling
  • Customization and custom development
Phase 05

Testing, Training & Deployment

Every conditional branch is tested with real data, not sample data, because a clause that appears when it should not is a legal problem rather than a bug. Then the people who use it daily are trained on it before go-live.

  • Test matrix across every logic branch
  • User acceptance testing with real records
  • Admin and end-user training
  • Sandbox-to-production deployment
Phase 06

Support & Optimization

Documents change: prices move, clauses get rewritten, a field is renamed and a mapping silently breaks. We stay on to handle those, add templates as new processes appear, and tune performance as volume grows.

  • Post-implementation support and issue resolution
  • Template and clause change management
  • Performance and volume optimization
  • New use-case rollout as the business expands
Delivery Record

What we have actually built

Formstack work and document-heavy Salesforce work, described as what it was. Where a result came from a different toolset, the card says so.

Formstack Delivery

Formstack + Salesforce, across the client base

Forms, Documents and Sign implementations connected to Salesforce — data capture, document generation and signature as one workflow rather than three tools.

50+ Formstack integrations with Salesforce
12+ Years Salesforce delivery
40+ Consultants and developers

The 50+ figure is Twopir's published count of Formstack integrations delivered with Salesforce across Forms, Documents and Sign — not a count of Formstack Documents projects alone.

Read the Formstack Documents overview
Case Study

Personal Injury Firm — Multi-State

Document-heavy case operations rebuilt around Salesforce, so records, documents and financial data stopped living in three different places.

40%+ Faster case-to-settlement processing
45% Reduction in reconciliation effort
35% Improvement in data accuracy

Stack on this engagement: Salesforce, AWS Textract and QuickBooks. Formstack Documents was not part of it — it is included here as evidence of document-workflow delivery, not as a Formstack result.

Read Full Case Study
Why Twopir

A Salesforce team that happens to do documents

Most document automation projects fail on the Salesforce side, not the template side. We work with growing, mid-market, and enterprise organizations that need help with complex CRM implementations, integrations, and business system challenges.

We fix the data before we build the template

A merge field can only be as good as the field behind it. If half your opportunities are missing a billing address, the document will be missing it too — so data quality is part of phase one, not a surprise at UAT.

We tell you where configuration stops

The boundary between what Formstack Documents does out of the box and what needs Apex is written into the scope before work starts. That is the conversation most projects have three weeks late, as a change request.

We build Salesforce, not just documents

Generation is one step in a process that also involves stages, approvals, permissions, billing and reporting. We are a Salesforce implementation team first, so the automation around the document is designed with the same care as the document.

We have run this across the Formstack suite

Documents rarely arrives alone. We have delivered Formstack Forms for capture and Formstack Sign for execution alongside it, so the handoffs between collection, generation and signature are known ground rather than discovery.

We hand it back maintainable

Merge fields named so an admin can read them, one template instead of twelve, documented mappings, and a change process for the day legal rewrites a clause. The goal is a system your team owns — with Salesforce support services behind it only if you want them, not because you need them.

Common Questions

Answers before the first call

Six phases: discovery and current-state assessment, solution architecture, configuration and template build, Salesforce integration and automation, testing and training, then support and optimization. The work that decides whether it succeeds is the middle two — mapping merge fields to the right objects and relationships, and designing where generation is triggered from. Installing the managed package takes minutes; making it produce the right document from the right data is the project.

It is driven by three things: how many templates you need, how complex the conditional logic inside them is, and how clean the Salesforce data behind them is. A single document generated from one object is a short engagement. Thirty templates with jurisdiction-specific clauses, child-record tables and bulk generation is a different project entirely. We establish all three in phase one and quote against the actual inventory rather than an assumed one — which is also why we will not give a timeline before seeing your documents.

Configuration covers merge mapping from primary and child objects, conditional logic and formatting modifiers inside the template, looping over child records, and generating from a button, a Flow or a list view. Custom development starts when data selection goes beyond what point-and-click mapping can express and needs SOQL-based mappings, when several unrelated objects must be assembled into one package in a defined order, when thousands of documents run on a schedule with retry and alerting, or when routing depends on rules spanning multiple objects. We agree that boundary in writing before work starts.

That is a large share of the work we do. The common failures are template sprawl where conditional logic should have been used, merge mappings that break when a Salesforce field is renamed, trigger logic buried in places nobody can find, and no error handling when a merge fails silently. We audit the existing setup, consolidate the templates, repair and document the mappings, move trigger logic into Salesforce Flow where it belongs, and add error handling — usually without starting again.

Yes. The managed package includes buttons to generate documents from a Salesforce list view, and Formstack offers a High-Volume Generation mode built for large runs and complex mappings. It is not designed for the opposite case — a single document merging thousands of related records — and it does not support file retrieval, so a mapping that includes files falls back to standard batch processing. Designing which mode each use case runs in, and what happens when a run partially fails, is part of the implementation rather than an afterthought.

Formstack Documents fits well when business users need to maintain templates in Word, PDF, PowerPoint or Excel, when you need several output formats, and when documents must reach many destinations. A fully Salesforce-native tool is the better answer when data-residency or security rules require generation to happen inside your org, and a simple native build can be enough for a low-volume document whose layout never changes. We implement more than one of these and will say which fits your requirement, including when the answer is not Formstack Documents.

Intellistack is the company; Formstack Documents is the product. In June 2025 the company behind Formstack renamed itself Intellistack and relocated its headquarters to Denver, while keeping the Formstack product brand in place. The application you install from the Salesforce AppExchange is still Formstack Documents, and the Salesforce package is still Documents for Salesforce. If you have seen both names and assumed the product was discontinued or replaced, it was not.

Next Step

Bring us your documents and we will tell you what it takes

A Formstack Documents assessment starts with your actual template inventory and the Salesforce data behind it. You leave the call knowing which documents are worth automating first, what is configuration, what needs development, and what has to be fixed in your org before either.

Speak with a team that implements Formstack Documents on Salesforce