In this demo, we explore the creation of a simulated mortgage pre-approval workflow using AWS Step Functions and AWS Lambda. Detailed steps include creating five Lambda functions—each representing a step in the mortgage process—such as validating the application, simulating a credit check, calculating risk scores, making pre-approval decisions, and sending notification emails using Amazon SES. The walkthrough illustrates how these serverless technologies can automate backend processes, providing scalability and efficiency ideal for Fintech or other real-world applications. Additionally, the demo covers error handling, function permissions, and email verification setup within Amazon SES for successful workflow execution.
00:00 Introduction to Mortgage Pre-Approval Workflow
00:45 Setting Up AWS Lambda Functions
01:05 Creating the Validate Application Function
02:31 Simulating Credit Check with Lambda
03:24 Calculating Risk Score
04:05 Making the Pre-Approval Decision
04:45 Sending Confirmation Email
05:58 Orchestrating with AWS Step Functions
08:11 Testing and Debugging the Workflow
10:06 Handling Email Verification with Amazon SES
13:15 Final Workflow Execution and Conclusion
Thank you @amazonwebservices!
To access the files used in this tutorial, click here:
https://github.com/learnthetechnologywithbk/severless_app_aws_stepfunctions_lambda?tab=readme-ov-file