Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.keystn.com/llms.txt

Use this file to discover all available pages before exploring further.

Getting to the upload page

In the Loan Pipeline, click Upload CSV in the page header.

Upload types

Before selecting a file, choose an upload type. There are three options:
Upload TypeLabelDescription
pipelinePipeline ReportThe standard import mode. Creates new loans (matched by broker loan number) or updates existing loans. Affects commission calculations.
analyticsOnlyAnalytics OnlyImports loans for reporting and analytics purposes only. Employees auto-created during this upload are marked as analytics-only and do not affect commission calculations.
feeReportFee ReportUpdates fee fields on existing loans only. Does not create new loans. Used for importing fee data from lender reports.

Selecting a file

After choosing an upload type, select your CSV file by either:
  • Dragging and dropping the file onto the drop zone
  • Clicking the drop zone to open a file browser
File requirements:
  • File format: .csv only
  • Maximum file size: 10 MB
  • Must have a header row

Preview and column mapping

After selecting a file, Keystone parses it and shows a preview:
  1. Column mapping summary — Shows which CSV columns were recognized and mapped to loan fields. Recognized columns appear as colored pills.
  2. Ignored columns — Collapsible section showing CSV columns that were not recognized. These columns are skipped during import.
  3. Data preview table — Shows the first several rows of mapped data so you can verify the mapping is correct.
  4. Validation errors — Any parsing issues found during preview.

Replacing a file

If the mapping looks wrong, click Replace to select a different file, or click X to clear the selection and start over.

Column reference — Pipeline and Analytics uploads

The CSV importer uses flexible header matching. It recognizes many common header names from popular LOS exports (including Arive, LendingPad, Encompass, and others). Headers are matched case-insensitively.

Loan identifiers

Recognized CSV HeadersMaps ToNotes
Broker Loan Number, Broker Loan #, Loan Number, Loan #, BrokerLoan#, BrokerLoanNo, Arive Loan IDBroker Loan #Required. Used to match existing loans for updates.
Lender Loan Number, Lender Loan #, LenderLoan#Lender Loan #

Borrower

Recognized CSV HeadersMaps ToNotes
Borrower First Name, Primary Borrower First Name, First Name, Borr First NameBorrower First
Borrower Last Name, Primary Borrower Last Name, Last Name, Borr Last NameBorrower Last
Primary Borrower, Borrower Name, BorrowerBorrower NameFull name; split into first/last automatically
Credit Score, Borrower Credit Score, FICO, FICO Score, Loan FICOCredit ScoreMust be 300-850

Property

Recognized CSV HeadersMaps To
Property Address, Address, Subject Property Address, Street Address, Subject Address Line 1Address
Property Unit, Unit, Unit #, Apt, Apt/Unit #Unit
Property City, City, Subject Property City, Subject CityCity
Property County, County, Subject CountyCounty
Property State, State, Subject Property State, Subject StateState
Property Zip, Zip, Zip Code, ZipCode, Postal Code, Subject ZipZIP
Occupancy Type, Occupancy, Occupancy StatusOccupancy
State values accept both full state names (e.g., “California”) and abbreviations (e.g., “CA”). Occupancy values are mapped flexibly: “Primary Residence”, “Owner Occupied”, “Second Home”, “2nd Home”, “Investment Property” all map correctly.

Loan details

Recognized CSV HeadersMaps ToAccepted Values
Loan Purpose, Purpose, Transaction TypePurposePurchase, Refinance, Cash Out Refinance, No Cash Out Refinance, Streamlined Refinance
Loan Type, Type, Product Type, Mortgage TypeLoan TypeConventional, FHA, VA, USDA, Non-QM, Non-QM, Reverse Mortgage, HELOC, Commercial, HELOAN
Payer Type, Payer, Comp PayerPayerLender, Lender Paid, Borrower, Borrower Paid, Investor, Seller
ChannelChannelBroker, Non-Del, NonDelegatedCorrespondent
Status, Loan Status, Milestone, Current MilestoneStatusSee Loan Statuses; flexible matching
Lead Provided By, Lead SourceLead SourceMatched by name; creates new lead source if not found

Financial

Recognized CSV HeadersMaps To
Loan Amount, Amount, Total Loan Amount, Base Loan AmountLoan Amount
Broker Compensation, Compensation, Broker Comp, Comp Amount, Compensation AmountBroker Comp
Rate, Interest Rate, Note RateRate
Company MarginCompany Margin
Net Discount Points, Discount PointsDiscount Points
Amortization TermAmort. Term
Dollar values are cleaned automatically — currency symbols ($), commas, and whitespace are stripped before parsing.

Timeline dates

Recognized CSV HeadersMaps To
App IntakeApp Intake Date
App/TRID Completed DateTRID App Date
QualificationQualification Date
Loan SetupLoan Setup Date
DisclosedDisclosed Date
Preapproval DatePre-Approved Date
Approved With ConditionsApproved w/ Conditions Date
Submit to UnderwritingSubmitted to UW Date
Re Submittal DateResubmitted Date
Clear to CloseCTC Date
Docs OutDocs Out Date
Loan FundedFunded Date
Docs Signed / Loan ClosedClosed Date
AdverseAdverse Date
Lock DateLock Date
Lock ExpirationLock Expiration Date
Broker Check Received DateCheck Received Date
Dates are parsed flexibly. The importer accepts US format MM/DD/YYYY (common in LOS exports) and falls back to standard date parsing.

Team members

Recognized CSV HeadersMaps To
Loan Officer, Loan Officer Name, LO, LO Name, Originator, Originator Name, Primary Loan Officer NameLoan Officer
Primary Loan Officer Email, Loan Officer EmailLO Email
Primary Loan Officer Assistant NameLOA 1 Name
Primary Loan Officer Assistant EmailLOA 1 Email
Loan Officer Assistant #2 Name / EmailLOA 2
Loan Officer Assistant #3 Name / EmailLOA 3
Loan Officer #2 Name / EmailLO 2 (added as assistant)
Loan Officer #3 Name / EmailLO 3 (added as assistant)
Primary Loan Processor NameProcessor 1 Name
Primary Loan Processor EmailProcessor 1 Email
Loan Processor #2 Name / EmailProcessor 2
Loan Processor #3 Name / EmailProcessor 3

Agent information

Recognized CSV HeadersMaps To
Buyer Agent Name, Buyer Agent EmailBuyer Agent
Seller Agent Name, Seller Agent EmailSeller Agent

Column reference — Fee Report uploads

Fee report uploads only require the broker loan number to match existing loans. All other columns update fee fields:
Recognized CSV HeadersMaps To
Broker Loan Number (and variants)Broker Loan # (match key)
Origination FeesOrigination Fees
Pass-Through FeesPass-Through Fees
Check AmountCheck Amount
HoldbackHoldback
Net Loan RevenueNet Loan Revenue
Gross Loan RevenueGross Loan Revenue

How data is mapped

New loans vs updates

For Pipeline and Analytics uploads, the importer uses the Broker Loan Number as the match key:
  • If a loan with that broker loan number already exists in your company, the row updates the existing loan with any non-empty values from the CSV.
  • If no matching loan exists, a new loan is created.
For Fee Report uploads, only existing loans are updated. Rows with unrecognized broker loan numbers are skipped with an error.

Employee matching

Loan officers, LOAs, and processors are matched by:
  1. Email (exact match, case-insensitive) — checked first
  2. Full name (exact match, case-insensitive) — checked second
If no match is found and the CSV includes a name, Keystone auto-creates the employee with the appropriate role. The upload result summary lists any auto-created employees.

Lender matching

Lenders are matched by name (case-insensitive). If no match is found, a new lender is auto-created. The upload result summary lists any newly created lenders.

Lead source matching

Lead sources are matched by name (case-insensitive). If no match is found, a new lead source is auto-created.

Status derivation

If the CSV does not include an explicit status column, the importer derives the status from the timeline dates. It checks dates in reverse order of the pipeline (from Adverse down to App Intake) and sets the status to the most advanced milestone that has a date.

Processing the upload

After reviewing the preview:
  1. Click Upload {N} rows to start the import.
  2. The system processes all rows and displays results:
    • Success banner: Shows count of loans created and updated.
    • Errors: Lists any rows that could not be processed, with row number and reason.
    • Warnings: Lists non-fatal issues (e.g., unrecognized enum values).
    • New lenders: Lists any lenders that were auto-created.
    • New employees: Lists any employees that were auto-created.
  3. If there are no errors, you are automatically redirected to the pipeline.
  4. If there are errors, you remain on the upload page to review them.

Tips for preparing your CSV

  1. Always include a Broker Loan Number column. This is the only required column and is used to match existing loans.
  2. Use headers from your LOS export as-is. The importer recognizes headers from Arive, LendingPad, Encompass, and other common systems. You usually do not need to rename columns.
  3. Leave cells empty for unknown values. Empty cells are skipped; they do not overwrite existing data.
  4. Dollar amounts can include $ and commas. Values like $350,000.00 are parsed correctly.
  5. Dates can be in MM/DD/YYYY format. This is the most common format in LOS exports.
  6. Check the column mapping preview before uploading. Make sure your important columns (loan number, LO name, status) are recognized.
  7. Unrecognized columns are safely ignored. Extra columns in your CSV will not cause errors.
  8. Maximum file size is 10 MB. For very large imports, consider splitting into multiple files.