How to Generate Insurance Policy Packs in Salesforce

Build a dynamic insurance policy document in Salesforce that includes only the coverage sections, rider clauses, and disclosures that apply to each policyholder.
Insurance policy packs are among the most document-intensive workflows in any industry. A single policyholder can have a base policy, multiple riders, state-specific disclosures, coverage summaries, and premium schedules, all in one document pack.
The traditional approach: maintain a separate Word template for each policy type, product combination, and state variant. Teams end up with dozens of templates that must all be updated in sync whenever regulatory language changes.
This tutorial shows how to build a single dynamic insurance policy document in Salesforce using ZeroExport, one template that generates the correct policy pack for each policyholder, including only the sections that apply to them.
What You Will Build
A complete insurance policy pack that:
- Generates a policy declaration page with policyholder details
- Includes only the coverage sections that match the policy type
- Adds riders the policyholder has selected
- Applies state-specific regulatory disclosures
- Renders a premium schedule from Salesforce pricing data
- Produces a print-ready PDF directly from Salesforce
Salesforce Data Structure
For this walkthrough, the data model is:
Policy__c (primary object)
├── Policyholder__c (lookup to Contact)
├── Policy_Type__c (picklist: Life / Health / Property / Auto)
├── State__c (text: drives state disclosures)
├── Effective_Date__c, Expiry_Date__c
├── Coverage__c (child object: one record per coverage type)
│ └── Coverage_Type__c, Coverage_Limit__c, Premium__c
└── Rider__c (child object: one record per selected rider)
└── Rider_Name__c, Rider_Premium__c, Rider_Terms__c
Step-by-Step: Build the Insurance Policy Pack
1. Configure Data Sources
Open the Data source editor from the left rail in ZeroExport. Add:
- Policy as primary; include: Policy Number, Policy Type, Effective Date, Expiry Date, State, Total Premium
- Policyholder (Contact) via lookup; include: Full Name, Date of Birth, Address fields, Contact Number
- Coverage as child of Policy; include: Coverage Type, Coverage Limit, Deductible, Annual Premium
- Rider as child of Policy; include: Rider Name, Rider Premium, Rider Terms
2. Build the Declaration Page
The declaration page is the first page of every policy. It summarizes the key terms in a structured layout.
Add a full-width section with:
- Left column: Policyholder name and address (from Contact lookup)
- Right column: Firm logo, policy number, effective and expiry dates
Below that, add a two-column block for:
- Policy Type
- Coverage Summary (total coverage amount)
- Total Annual Premium
- Agent / Broker name
This section is unconditional; it always appears.
3. Add Coverage Sections With Conditional Logic
Each coverage type requires its own section with type-specific language. Add a separate section block for each major coverage type:
Life Insurance Base Coverage (Condition: Policy_Type__c equals Life)
- Coverage amount
- Beneficiary designation placeholder
- Death benefit terms
Health Insurance Base Coverage (Condition: Policy_Type__c equals Health)
- In-network and out-of-network benefits
- Deductible and out-of-pocket maximum
- Prescription drug schedule
Property Insurance Base Coverage (Condition: Policy_Type__c equals Property)
- Structure coverage limit
- Personal property coverage limit
- Liability coverage
Because these sections use ZeroExport's conditional structure (not visibility), only the matching section renders in the output.
4. Add the Coverage Schedule Table
Inside each coverage section, add a Coverage Detail Table bound to the Coverage child data source, filtered to the current policy type.
| Coverage Type | Coverage Limit | Deductible | Annual Premium |
|---|---|---|---|
{coverage.Coverage_Type__c} | {coverage.Coverage_Limit__c} | {coverage.Deductible__c} | {coverage.Premium__c} |
| Total Premium | {coverage.sum(Premium__c)} |
This table renders all coverage records for the current policy, with a subtotal at the bottom.
5. Add the Riders Section
Add a repeating section bound to the Rider child data source. Each rider record generates its own subsection:
- Rider name as section heading
- Rider terms (static text field or rich text)
- Rider premium
If the policyholder has no riders, the repeating section renders zero times and no rider content appears in the document.
Configure Page Break Before on the Riders section so rider content always starts on a new page, separate from the base coverage section.
6. Add State-Specific Disclosures
After the riders section, add a conditional section for each state with regulatory requirements. For example:
California Disclosure (Condition: Policy__c.State__c equals CA)
- California Insurance Code notice
- Right to Cancel notice (10-day free look period language)
- State Consumer Protection information
New York Disclosure (Condition: Policy__c.State__c equals NY)
- New York Insurance Department disclosure
- NY-specific beneficiary rights
For policies covering many states, store disclosure text in a custom Disclosures object, filtered by state. Render from the child data source rather than maintaining one section per state in the template.
7. Add the Premium Summary Page
Add a final section with the full premium breakdown:
| Coverage | Annual Premium |
|---|---|
| Base Coverage | {policy.Base_Premium__c} |
| Riders Total | {rider.sum(Rider_Premium__c)} |
| Total Annual Premium | {policy.Total_Premium__c} |
Below the table, include:
- Payment schedule (monthly/quarterly/annual)
- Payment instructions
- Grace period notice
8. Add Signature and Acknowledgment Block
The final page includes the signature block:
- Policyholder acknowledgment statement
- Signature line (placeholder for e-signature integration or wet signature)
- Date
- Agent signature line
Configure this section with Keep Together so the acknowledgment and signature block always appear on the same page.
9. Preview Across Multiple Policy Types
Use the Test Bench to validate the template across different policy types and states:
- Select a Life policy in California; verify Life coverage section and CA disclosure appear
- Select a Health policy in New York; verify Health section and NY disclosure appear
- Select a policy with three riders; verify all three rider subsections render
- Select a policy with no riders; verify the rider section is absent entirely
Each scenario should produce the correct document structure without blank sections or stray headers.
10. Activate and Automate
Connect the template to your policy issuance workflow:
- Trigger: When Policy status changes to Active in Salesforce
- Action: Generate policy pack PDF and store in Policy Files
- Optional: Send PDF to policyholder via automated email
FAQ
Can one template generate policies for all coverage types?
Yes. This is the goal of conditional structure. The same template contains sections for all coverage types, with conditions that render only the matching section per record. No separate templates per coverage type.
How do I handle a policy that has multiple coverage types?
Configure the coverage type conditions to be non-exclusive. If a policy can have both Life and Supplemental Health, both sections can render in the same document by setting the conditions independently.
What happens when a new state disclosure is required?
Add a new conditional section for that state in the template. All future policy documents for that state will include it. Existing policies that have already been generated are not affected unless regenerated.
Can riders include their own nested data?
Yes. If a rider has sub-benefits or sub-limits stored as child records in Salesforce, add a child data source under Rider and render a nested table inside the rider repeating section.
Related Reading
Ready to try ZeroExport?
Start generating documents directly in your Salesforce org. No integrations, no setup overhead, no complexity.