This guide walks through building a simple loan decision process to demonstrate how all of the Rules can be linked together to solve a practical problem. If you haven’t already, we recommend you first read our “Basics of Building a Ruleset” guide.

Overall View

This is what the Loan Decision process will look like after it’s built.

https://lh6.googleusercontent.com/dpwTmgLD1cBoB105BSURJfhyiRWokOAcf453nouMNimpi_RGLBNgRriOry2YWHw6cRCdh5V87lJ9fwt7Uwh1CMb74zBNR2Z5ZvKFE_K6PANAJzFojG17wyVGPDPG0RGuND3eeWNdxZHOmXyspYFfduEcT3canNJWnNqsU3eKm3uhyPT06YAnb3_sLg

Let’s begin building!

Start Rule: Receive Loan Application

The loan process typically starts with an application, often a form a potential borrower fills out on a website or mobile app form.

Here we list a simplified version of common data points used in loan applications.

https://lh4.googleusercontent.com/6EsaF72Dnuhzf8t4XhQ-FYXPvcnESRW8islhTcquK4ae_rkfGu3KfEnDdHOQOIxJr6q_wWaFH9C35FLQuLlbnswDKi9wwvkOEjerhPXWQBGerw4OjIkbgXGmax42h4NDShQLYi6mFoad-GcnB38jQXf4-_WaNiZR1Rw8THlsHHe8LU1-vtKEhICV

Data Rule: Get Credit Report

After receiving the loan application, a common next step would be to get additional data from a credit report, either from a credit bureau directly or through a data aggregator.

The Data Rule requires that a Data Source or Data Set has been set up.

Getting a credit report would generally be through an API Data Source. We provide a dedicated guide to setting up API Data Sources and using the Data Rule.

For this tutorial, we’re using a simplified example of a credit report which provides the sample data below.

{

"status": "completed",

"identifier": "Individual Report 1",

"customerReferenceNumber": "2C800002-DOR7",

"ficoScore": 700,

"fraudFlag": "F"

}