Back to workWork / BOS / Business Operations System

BOS / Business Operations System

From client intake to mortgage operations

Solution design, architecture and hands-on development

The outcome

The company gained a client-facing intake website connected to its internal operations. Clients could answer once and see which documents to provide; staff received assigned tasks and worked on linked records that flowed into Encompass. This simplified application handling and reduced manual coordination.

Workflow automation · Igor Bartenev

A practical example

One client form starts the operational process

An existing mortgage company handled applications in Encompass, with much of the intake and coordination done manually. I built BOS to connect a new client-facing website to the people, documents and actions behind each application.

In use at a mortgage company · author’s account

  1. Answer once. Employment, income and earlier answers determine the next questions and required documents. Staff and realtors can configure these forms themselves.

  2. Upload the requested files. Automation creates linked document records and tasks; OCR extracts values into fields so staff can work with structured information.

  3. Move the application forward. Participants work from their task lists and Kanban boards; documents, external IDs and selected statuses are exchanged with Encompass.

What this enables

Clients gained a clear route from answers to required documents. Staff received assigned work instead of manually coordinating every hand-off. The company kept Encompass and gained a connected intake and operations layer around it.

Design choice & trade-off

I made forms, document schemas and business rules configurable so process changes did not require a separate hard-coded application flow each time. Mortgage-specific configuration sits on a reusable core. This flexibility requires explicit conditions, access rules and state transitions. Calculations, document-event actions and compensation accounting remain separate modules with defined inputs and results.

Full context & approach

The challenge

The company worked in Encompass without a client-facing intake website. Staff manually gathered information, worked out which documents each borrower needed and coordinated follow-up. Employment, income and other circumstances changed the requirements, making each new application difficult to organize.

How I approached it

I proposed the solution, explained architectural choices to the business and developed it around real operating scenarios. Configurable forms choose fields, steps and required documents from the applicant’s answers. Document events create tasks and assign participants; OCR populates fields from uploaded files. Separate modules handle calculations, access, compensation and exchanges with Encompass. The document-and-rule core was designed to be reusable beyond mortgages.

What I owned and delivered

My responsibility

I designed and developed BOS for an existing mortgage company: clarified its needs, proposed alternatives, explained my architectural choices and refined the implementation with the business. My responsibility covered the solution and its code.

Delivered capability

  • Configurable document types and multi-step forms collect linked data. Separate calculation flows preview formula results or produce new documents.

  • Scoped access and event rules govern document actions. Status-based compensation retains its source document and rule, with database checks around transaction records.

What that means in practice

Architecture & decisions

01

Forms that follow the applicant’s situation

Staff and realtors can configure forms for their clients. Answers determine which fields are visible or enabled, which step comes next and which documents are required. Employment status and income can lead to different branches, including decisions based on earlier steps. Completed intake starts the configured document and task actions.

02

Uploaded documents become working data

Clients upload files against the required document records. OCR extracts values into configurable document fields. Staff can review the extracted values in the form. Configurable columns and fields let staff extend the data model as requirements change. Extracted values then participate in the same document, calculation and task processes.

03

A work queue for each participant

Rules assign document participants and create tasks for their part of the loan process. Each person has a task list or Kanban board; tasks can be reassigned or performed again when work needs revisiting. Task statuses and document statuses express different kinds of progress. Parameterized message templates address users or contacts.

04

Connected to the existing Encompass process

BOS exchanges documents with Encompass and links external document IDs and selected statuses. Import, export and synchronization run through mappings and recorded integration tasks, so client intake connects to the company’s existing system. A planned integration scenario is a signature-dependent step: a provider such as PandaDoc can supply the signing status before work proceeds.

05

Organizations and access

The mortgage process sits within a model of organizations, departments, memberships and roles. Permissions combine an allowed action with a scope and conditions on the data. This lets document access follow a person’s responsibilities in the organization.

06

Documents and forms with state

Document types define typed fields, dictionaries and parent–child relationships. Multi-step forms support nested and repeating inputs, save answers and create or link documents on completion. Submissions can include an expected version so a stale edit returns a conflict instead of silently replacing newer answers.

07

Calculation flows

A calculation combines document attributes, constants and previous formula results. The preview shows values and their sources; running the flow creates a document with the result. Mortgage income calculations are one concrete use case. Print templates turn a document’s data into a PDF.

08

Compensation tied to the work

Compensation covers fixed monthly amounts, bonuses tied to closed loans and accruals when a participant’s document reaches a configured status. Rules select the recipient and calculation base, supporting fixed amounts, percentages, basis points and caps. Internal records retain their source document and rule, including deductions and referrals; they represent compensation accounting, not a bank transfer.

Inside the implementation

Architecture in practice

Relationships and business rulesThe BOS data model connects documents, calculations and financial movements through explicit relationships and rules.
  1. Document relationships
  2. Constraints and hierarchy
  3. Status history
  4. Rule-based accruals

Documents connect to types, fields, participants and calculation rules through foreign keys and composite uniqueness constraints. An ancestor–descendant model supports hierarchy queries. Triggers record status transitions and rule-based accruals with their source document; notification failures are separated from the main status change.

Background work with recorded stateIntegration work uses PostgreSQL-backed tasks with explicit worker ownership, recorded attempts and controlled retries.
  1. Claim a task
  2. Lease and heartbeat
  3. Record the attempt
  4. Complete or retry

BOS workers claim PostgreSQL tasks with SKIP LOCKED, record each attempt and renew the lease through a heartbeat. Explicit ownership, bounded concurrency and retry limits define how work is completed, retried or marked failed. An expired lease has a recovery path; task state is kept separately from the external integration’s response.

04 / Tools & technologies

Tools & technologies

Explore all skills (62)
Continue exploring

MCP Hub

Contact / Kraków, Poland

A role or a project? Let’s talk.

Hiring for your team or looking for help with a product? Tell me about the role or the problem. A name, contact and short outline are enough to start.

The portfolio, inside TelegramBrowse projects and send an offer in the Mini App. Open the bot, then choose the app.Open the bot

Start a conversation

A role, a product, or a technical challenge. Share a little context.

To use the form, enable JavaScript. You can also write to me directly on Telegram.

Write on Telegram