How to Generate Loan Application Packages in Salesforce

Build a complete loan application package in Salesforce that covers multi-applicant data, asset and liability schedules, supporting document checklists, and lender disclosures.
A loan application package is not a simple document. Even a standard residential mortgage involves multiple applicants, co-borrowers, property details, an asset and liability schedule, income verification, and mandatory lender disclosures, all in a specific order and format.
In commercial lending, the complexity multiplies: business financials, guarantor schedules, property appraisals, environmental reports, and regulatory disclosures that vary by loan type and jurisdiction.
This tutorial walks through building a complete loan application package in Salesforce using ZeroExport, a single template that assembles the correct sections for each loan based on its type, applicants, and location.
What You Will Build
A complete loan application package that:
- Renders a cover page with loan summary and primary applicant details
- Includes all co-applicants in an applicant schedule
- Lists assets and liabilities per applicant in a structured table
- Conditionally includes sections for commercial vs residential loans
- Adds the correct regulatory disclosures by loan type and state
- Generates a supporting document checklist based on loan characteristics
Salesforce Data Structure
For this walkthrough, the data model is:
Loan__c (primary object)
├── Loan_Type__c (picklist: Residential / Commercial / Refinance)
├── State__c (drives disclosure requirements)
├── Loan_Amount__c, Loan_Term__c, Interest_Rate__c
├── Property__c (lookup to Property custom object)
├── Applicant__c (child object, one per applicant/co-borrower)
│ ├── Contact__c (lookup to Contact)
│ ├── Applicant_Type__c (picklist: Primary / Co-Borrower / Guarantor)
│ ├── Asset__c (child of Applicant, one per asset)
│ │ └── Asset_Type__c, Asset_Value__c, Description__c
│ └── Liability__c (child of Applicant, one per liability)
│ └── Liability_Type__c, Balance__c, Monthly_Payment__c
└── Required_Document__c (child of Loan, one per required document)
└── Document_Name__c, Status__c
Step-by-Step: Build the Loan Application Package
1. Configure Data Sources
Open the Data source editor from the left rail in ZeroExport. Add:
- Loan as primary; select: Loan Number, Loan Type, Loan Amount, Loan Term, Interest Rate, State, Application Date
- Property via lookup; select: Property Address, Property Type, Estimated Value, Purchase Price
- Applicant as child of Loan; select: Applicant Type, Full Name via Contact lookup, Date of Birth, SSN/ID (masked), Employment Status
- Asset as child of Applicant; select: Asset Type, Description, Asset Value
- Liability as child of Applicant; select: Liability Type, Creditor Name, Outstanding Balance, Monthly Payment
- Required Document as child of Loan; select: Document Name, Status, Notes
Sort Applicants by Applicant_Type__c so the primary applicant always appears first.
2. Build the Loan Summary Cover Page
Add a full-width cover section with:
- Top row: Lender logo (right) and document title (left)
- Loan summary block: Loan number, loan type, application date, requested amount, term, and rate
- Property block: Property address and type (from Property lookup)
- Primary Applicant: Name and contact details from the first Applicant record where
Applicant_Type__c= Primary
Use a two-column layout for the loan details and property details side by side.
3. Build the Applicant Schedule
Add a repeating section bound to the Applicant data source. Each applicant record generates its own applicant block.
For each applicant, include:
- Applicant type label (Primary Borrower, Co-Borrower, Guarantor)
- Full name, date of birth, contact information
- Employment details (employer name, employment type, annual income)
Configure Page Break Before on the first applicant section so the applicant schedule always starts on a new page.
4. Add Asset and Liability Tables Per Applicant
Inside the applicant repeating section, add two tables:
Asset Schedule:
| Asset Type | Description | Market Value |
|---|---|---|
{asset.Asset_Type__c} | {asset.Description__c} | {asset.Asset_Value__c} |
| Total Assets | {asset.sum(Asset_Value__c)} |
Liability Schedule:
| Liability Type | Creditor | Balance | Monthly Payment |
|---|---|---|---|
{liability.Liability_Type__c} | {liability.Creditor_Name__c} | {liability.Balance__c} | {liability.Monthly_Payment__c} |
| Total Liabilities | {liability.sum(Balance__c)} | {liability.sum(Monthly_Payment__c)} |
Each table is scoped to the current applicant iteration; it shows only that applicant's assets and liabilities.
Below both tables, add a Net Worth calculation:
Net Worth = {asset.sum(Asset_Value__c)} - {liability.sum(Balance__c)}
5. Add Loan-Type-Specific Sections
Add conditional sections for each loan type:
Residential Loan Section (Condition: Loan_Type__c equals Residential)
- Borrower occupancy declaration
- Property insurance requirement
- Flood zone disclosure (if property in flood zone)
Commercial Loan Section (Condition: Loan_Type__c equals Commercial)
- Business financial summary
- Guarantor schedule reference
- Environmental assessment notice
- Business plan requirement
Refinance Section (Condition: Loan_Type__c equals Refinance)
- Current loan details
- Payoff amount and lender information
- Refinance purpose statement
Only the matching section renders for each loan. The document does not include blank commercial sections in a residential loan package.
6. Add State-Specific Regulatory Disclosures
Add conditional disclosure sections for each state with specific requirements:
- TILA Disclosure (all states; always present): Truth in Lending Act disclosure with APR, finance charge, and total of payments
- State-Specific Notice (condition:
State__cmatches): State consumer protection notice, right of rescission language, state-specific fee disclosures
For states with many disclosure requirements, store disclosure records in a custom object and render them from a child data source filtered by state and loan type.
7. Add the Supporting Document Checklist
Add a section for the required documents checklist. Bind a table to the Required Document child data source:
| Document | Status | Notes |
|---|---|---|
{doc.Document_Name__c} | {doc.Status__c} | {doc.Notes__c} |
This table renders all required documents for the loan. The specific documents required can be populated by a Salesforce Flow that runs when the Loan is created, based on loan type and state rules.
This checklist gives the processing team a clear view of what has been received and what is outstanding.
8. Add Signature and Declaration Block
The final section includes the borrower declaration and signature block:
- Declaration statement (standard legal text)
- Signature line per applicant (repeating from the Applicant data source)
- Date
- Notarization block (if applicable for the loan type)
Configure the entire signature block with Keep Together and Page Break Before so it always starts on a fresh page.
9. Preview Across Loan Types
Use the Test Bench to validate across scenarios:
- Residential loan with two co-applicants in California; verify residential sections, CA disclosures, and both applicants' asset/liability tables
- Commercial loan with one guarantor in New York; verify commercial sections, NY disclosures, and guarantor schedule
- Single-applicant loan with no liabilities; verify asset table renders, liability table is either empty or suppressed
10. Automate Package Generation
Connect to your origination workflow:
- Trigger: Loan status moves to
Package Readyin Salesforce - Action: Generate loan application package PDF, store in Loan Files, notify the processor
For high-volume lending operations, batch processing multiple loan packages can be triggered from a Scheduled Flow.
FAQ
Can the template handle guarantors differently from co-borrowers?
Yes. Because the Applicant section is a repeating section, you can add sub-conditions within each applicant block to render guarantor-specific content when Applicant_Type__c equals Guarantor. Guarantor financial schedules and declaration language can differ from standard co-borrower content.
What if a loan has 5 co-applicants?
The repeating applicant section renders as many iterations as there are applicant records. There is no hard limit on the number of iterations, though very large numbers may affect rendering performance.
How do required documents get populated in Salesforce?
Required documents can be pre-populated by a Salesforce Flow that runs at loan creation, inserting Required_Document__c records based on loan type, state, and borrower profile. The template reads whatever records exist at generation time.
Can this template handle construction loans or HELOC products?
Yes, by adding additional conditional sections for those loan types and configuring their specific data fields and disclosures.
Related Reading
Ready to try ZeroExport?
Start generating documents directly in your Salesforce org. No integrations, no setup overhead, no complexity.