HomeGuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceDiscussions


## Overview

This page will cover the "order of operations" for common integration use cases utilizing Blend Events.

Here the term "integration" means any service that is programmatically interfacing with Blend. This service can be built by a Blend partner, or by a Blend customer directly.

## Application Submitted

## Summary

One of the most common starting points for an integration is to record when a loan application is submitted by a borrower or a lender (on a borrower's behalf). Blend emits the `applicationEvent.SUBMITTED` event in this case. Here, we discuss a normal flow for processing, with the following assumptions:

  1. We are working in a Beta environment.

  2. Integration processing of the loan is successful, and we respond to Blend as such.

## Pre-Requisites

If you wish to follow along with this guide step-by-step, you must:

  1. Have API credentials that allow you access to Blend's API.

  2. Have a functional Beta / UAT instance of Blend.

  3. Have a functional Beta / UAT subscription to Blend's events.

## The Flow

### 1. Borrower submits application in Blend

### 2. Blend's service sends event notification to Integration service



### 3. Integration fetches the loan file from the API

#### Fetch FNMA 3.2 file



#### OR Fetch MISMO 3.3.1 file API Call



### 4. Integration service processes import to the LOS that event is processing



### 5. Integration service patches loan via Blend API



### 6. Integration service posts to Blend's service with success