For AI agents: llms.txt · Markdown

Retail loan application

Open in playground

Retail loan application

Retail loan applicationRetail loan applicationCustomerCustomerBranch lending teamBranch lendingteamHead of LendingCredit scoring agentCredit scoringagentAICredit bureauCredit bureaurequest reportrequest reportreportreportyesyesnonoSubmit applicationSubmit applicationSign loan offerSign loan offerVerify identityVerify identityOnfido⊞Approve?Approve?Send decline letterSend decline letter?Score credit riskScore credit riskAIReturn credit reportReturn creditreport
Open SVG at full size

KYC checks

KYC checksKYC checksBranch lending teamBranch lendingteamHead of LendingID verification providerID verificationproviderCollect documentsCollect documentsRecord resultRecord resultVerify documentsVerify documents
Open SVG at full size

Source

requ 0.1
process loan "Retail loan application"

lane customer "Customer" type=customer
lane branch "Branch lending team" type=team owner="Head of Lending"
lane scorer "Credit scoring agent" type=agent
lane bureau "Credit bureau" type=external

customer.apply: "Submit application" start
branch.kyc: "Verify identity" sub=kyc system="Onfido"
scorer.score: "Score credit risk"
bureau.report: "Return credit report"
branch.decide: "Approve?" decision
customer.sign: "Sign loan offer" end
branch.decline: "Send decline letter" end basis=suggested

apply -> kyc -> score
score -> report : "request report"
report -> score : "report"
score -> decide
decide -> sign : "yes"
decide -> decline : "no"

process kyc "KYC checks"
lane branch "Branch lending team"
lane idv "ID verification provider" type=external
branch.collect: "Collect documents" start
idv.verify: "Verify documents"
branch.record: "Record result" end
collect -> verify -> record
Download source