Building an Automated Credit Approval Bot in Minutes

Jon Reilly
May 3, 2021

Simple chatbots are easier to build than ever before. If you have straightforward needs, like guiding users to a specific section of your site, gaining user feedback, or offering support, tools like Landbot make it easy to get up and running in minutes. 

However, if you have more complex needs, like lenders predicting borrowers credit approval or analyzing user sentiment, then it’s a lot harder. Indeed, Landbot raised $2.2 million “for its on-message ‘anti-AI’ chatbot.” There’s typically no (or very little) AI functionality in the simple, drag-and-drop chatbot builders, like Landbot, Joonbot, Wotnot, and so on.

If you want to build an Artificial Intelligence (AI) powered chatbot, then you’re faced with automation options like Google’s DialogFlow or SAP Conversational AI, which are immensely complex and take months and lots of time reading the FAQ to figure out.

In short, there are two ends of the spectrum, without much middleground: Simple, no-code bot builders without AI functionality, and extremely complex AI-powered bot builders.

With Akkio, you can reach a nice middleground, and create feature-rich AI-powered chatbots with simple bot builders. In this hands-on guide, we’ll make an AI-powered chatbot in Landbot in minutes, which will score applicants by likelihood of repayment automatically approve or reject extending credit during the application process.

Building and Deploying a Loan Approval Prediction Model

First, sign up for Akkio. Then, hit “Create New Flow” to get started making an AI flow.

A screenshot of Akkio’s “All Flows” page, with “Create New Flow” highlighted.

Then, click “Table,” as we’ll be working with this tabular dataset of loan approval information from Kaggle. Note: Each business will want to customize their credit approval model for their business process - to account for their unique customers, credit scores, interest rates, etc.

A screenshot of Akkio’s “Flow Editor”, where the user can connect a dataset.

After uploading the Kaggle dataset, you’ll get an overview of the table, as seen below. 

A screenshot of Akkio’s “Flow Editor”, where the user has added a tabular dataset of credit clients.

Now that the data is uploaded, hit “Add Step” and then “Predict.”

A screenshot of Akkio’s “Flow Editor”, where the user is on the second step, and “Predict” is selected.

We then simply select the column we want to predict, which is “Loan_Status.” Optionally, you can click on the “Ignore” tab and select “Loan_ID” and “Gender,” as these fields aren’t desired for our model. Then, click “Create Predictive Model.”

A screenshot of Akkio’s “Flow Editor”, where the user selects “Loan_Status” as the data column to predict.

And we did it! We’ve now built an AI model that accurately predicts loan approval.

A screenshot of Akkio’s “Flow Editor”, where a predictive model has been created, and a model dashboard is shown.

Our final step in Akkio is to deploy it, so just hit “Add Step” and then “API.” You’ll then see a screen like the below, and you can simply click “Deploy” to finish. 

A screenshot of Akkio’s “Flow Editor”, where the user is on the third step, and deployed an AI model via API.

Creating a Landbot

Now, let’s sign up for Landbot, which we’ll use for the chatbot functionality.

A screenshot of Landbot’s sign-up page.

Then, click the “loan application” template to get started.

A screenshot of Landbot templates, including a “Loan Application” template.

This chatbot template walks users through a loan (or credit) application process, with an option to send that information over to a loan provider for manual review. We can use the Akkio AI model we just created to automate the loan approval process, and immediately give users an answer, saving huge amounts of time and money.

We want to edit the Landbot to ask users for the same information used in our predictive model. That data was: 

  • Whether or not they’re married
  • Their number of dependents
  • Their education
  • Whether or not they’re self-employed
  • Applicant and co-applicant income
  • The loan amount and term
  • Their credit history (binary), and
  • Their property area

Here’s what the Landbot looks like with those questions. I simply replaced the existing blocks with questions asking that information. As you can see, it still all fits on one screen! Make sure to save each input as a variable in Landbot, so we can pass these variables to the Akkio model.

A screenshot of Landbot’s bot builder, with a number of blocks connected to create a credit approval bot.

Next, we add a custom webhook, and under “send params?”, we enter the data from Akkio’s API deployment.

A screenshot of a custom webhook in Landbot, with Akkio’s API deployment details pasted in.

The last “key” field, named “data,” is where we input the data to feed the Akkio model. The webhook should then look something like this:

A screenshot of a GET command in Landbot.

Now, we can take the output of our webhook, and give it to the user.

A screenshot of Landbot’s bot builder, showing a webhook connecting to a message output.

By hitting “preview” in the top-right of Landbot, we can test it out, and voila, it works! Users answer a series of questions, which gets sent to the AI model we made and deployed in Akkio, and a prediction is returned to the user. 

A screenshot of a user conversation with a deployed credit approval Landbot.

The Value of No-Code AI

In a matter of minutes, you can build an AI-powered, automated credit approval chatbot. This is revolutionary, because it’s an example of something much bigger: You can build and deploy AI models to predict practically anything in a number of minutes.

In late 2020, an AI startup called Zest raised $15 million for its AI-based credit underwriting software, for a total of over $230 million. In 2019, a similar AI lending startup called Upstart raised $50 million.

In short, AI-based credit lending is incredibly valuable, and it used to be incredibly difficult. Today, you can use no-code AI to accomplish wildly difficult tasks in a fraction of the time.

Beyond Credit Approval

In this guide, we’ve explored using Akkio, a no-code AI tool, and Landbot, a no-code chatbot builder, to build an automated credit approval bot for financial services.

However, the same principles and steps apply to a wide-range of use-cases. If you visit Kaggle Datasets, you’ll find thousands of ways to apply no-code AI. For instance, you could use AI to predict corporate bankruptcy, credit card fraud, Kickstarter project success, customer churn, or any of a million other metrics. As long as you have sufficient, high-quality historical data, you can make a predictive model.


This guide can be used by any company that issues credit to make their processes more efficient, by improving customer service while cutting costs.

That said, this guide can be so much more. Consultants and agencies can use this guide to increase their repertoire of services, and offer AI-powered chatbots to their clients.

Entrepreneurs can use this guide to build an AI startup faster and cheaper than ever before, and intrapreneurs can use this guide to implement AI in their organizations, even without having any technical expertise.


Grow Faster with No-Code ML

Now everyone can leverage the power of AI to grow their business.