Details about the mortgage processing flow
The visual representation of the mortgage processing flow in the AWS Management Console is as follows:
Steps in the flow
The following steps occur in the flow:
-
The customer's financial information from the input is sent to the
loanCalculatorLambda function, which calculates the customer's maximum affordable loan. -
The output from the
loanCalculatorfunction (maximumAffordableLoan) and theloanAmountvalue from the input are sent to the condition node, which is then evaluated as follows:-
If the
loanAmountis greater than themaximumAffordableLoan, theincomeDebtprompt is triggered and a rejection letter for the loan is generated. -
Otherwise, the customer's financial information is sent to the
mortgageProcessingAgentby theprocessApplicationprompt. The agent applies a loan calculator function, as well as a Multiple Listing Service (MLS) lookup function to look up a DynamoDB table and assess the customer's information with respect to the MLS property specified in the input. Furthermore, the agent looks up information from a knowledge base, which contains the Fannie Mae Selling Guide. The agent uses all this information to generate a response analyzing the customer's eligibility for the requested loan amount.
-