Chatlayer Documentation
Get in touchAbout Chatlayer
  • Welcome
  • What's new
  • Send feedback
  • start quickly
    • Leadzy tutorial
      • 0. Introduction
      • 1. New bot, new block
      • 2. Understand your users
      • 3. Collect and display user input
      • 4. Steer the conversation with Conditions
      • 5. Empower your bot with Actions
      • 6. Set up a channel and publish your bot
    • Templates
      • Banking
      • E-Commerce Returns
      • E-Bike Shop
      • E-Scooter Support
      • Feedback
      • Find Nearest Location
      • GPT
      • 🆕Gym
      • Job applications
      • Knowledge base AI template
      • Lead generation
      • 🆕NPS
      • Restaurant
      • Retail
  • navigation
    • Analytics
      • Dashboard
      • Customers
      • Conversations
      • User flow
      • Intents
      • 🆕Funnels [Beta]
    • Bot builder
      • Flows
        • Canvas functionalities
        • Collaborate with team members
        • Manage your flows
        • 🆕[Beta] Export and import flows
      • Bot dialogs view
      • Translations
      • Events
    • NLP
      • Dashboard
      • Intents
      • Expressions
      • Entities
      • Train
      • NLP settings
      • Improve
    • Knowledge base AI
      • Add content to your KBAI
      • Build your KBAI flow
      • Use your KBAI source URL in a button
      • Use tags to limit your KBAI content
      • 🆕Use Tables to store your KBAI questions
      • 🆕Manage handover where KBAI is unsatisfactory
    • History
      • Conversations
      • Execution logs
      • Versions
    • Channels
    • Tables
      • Create a table with records
      • Column types
      • Operate on your records
        • Insert record
        • Update record
        • Retrieve record
        • Delete record
      • API
    • Settings
      • Bot settings
      • Offloading
      • Variables
      • Voice
      • Import/Export
  • build your bot
    • Conversation design
      • Plan your bot
      • Conversation design workflow
    • Flow logic
      • Blocks
        • Message
        • Condition
        • Collect input
        • Action
      • Go-to connections
    • 🆕Emulator
    • Tips & best practices
      • Route your flow depending on the time
      • Improve the Not understood block
        • How to create better not understood messages
        • Not understood counter
        • Not understood Google search
      • Go to previous block
      • Recognizing a returning user
      • Skip introduction message
      • Route your flow depending on the channel
      • Reuse flows
      • Connect two bots to each other
  • understand users
    • Natural language processing (NLP)
      • Basic NLP concepts
      • Detect information with entities
        • Match entities
        • Contextual entities
        • System entities
        • Composite entities
      • NLP best practices
        • Word order and diversity of expressions
      • AI intent booster
      • Train your NLP
      • Context
      • NLP import & export
      • Sentiment analysis
    • Languages
      • Supported languages
      • Make your bot multilingual
      • Change language within the conversation
  • set up channels
    • Add a channel to your bot
    • All channels
      • 🚨Facebook Messenger [Deprecated soon]
        • Facebook Admin Removal
        • Facebook Webview Whitelisting
        • Facebook Messenger API updates for Europe
      • 🚨Google Assistant [Deprecated soon]
      • Webhook
      • Web
        • 🚨Web V1 [Deprecated]
          • Customize web widget
          • Live example web widget
        • 🆕Web V2
          • 🆕From Web V1 to V2
          • 🆕Web V2 methods and options
    • Sinch Conversation API
      • Configure your Sinch Conversation API
      • 🆕 Make the most of RCS with Carousels
      • WhatsApp Business API
  • integrate & code
    • API calls
      • Configure your API integration
      • Advanced API features
      • V1 API Reference
      • Custom integrations 101
    • Code editor
      • [Example] Sending data to Airtable (POST)
      • [Example] Retrieving data from Airtable (GET)
      • [Example] Making SOAP requests
    • App integrations
      • Airtable
      • Freshdesk
      • Freshdesk Messaging
      • 🆕Gmail
      • Intercom
      • Mailgun
      • OpenAI: GPT-3, ChatGPT and GPT-4
      • Salesforce
      • 🆕Slack
      • Topdesk
      • Zendesk Support
      • Zendesk Sunshine (beta)
    • 🆕Expression syntax
    • Human handover & live chat
      • Sinch Contact Pro
      • #Interact
      • Genesys Cloud
      • Offloading Webhook
      • Salesforce Service Cloud
      • Sparkcentral by Hootsuite
      • Zendesk Chat
    • Chatlayer messages specifications
  • Publish
    • Publish your bot
      • Publish a flow
  • Analyze & maintain
    • Analytics definitions
    • Data retention
    • Maintenance
    • Session
    • Track events for analytics
  • VOICE
    • 🆕Send bot response as audio
    • Voicebots
      • Create a voicebot
      • Voicebot-specific actions
      • Test your voicebot
      • From chat to voice
  • access & support
    • Identity & Access
      • Single Sign-On (SAML SSO)
    • Billing & subscription
    • Get in touch
    • Chatlayer glossary
    • SaaS Regions & IP Ranges
    • Status
    • Debug your bot
      • No correct response
      • Collect input not working
      • Video isn't working
Powered by GitBook
On this page
  • Template overview
  • How to customize this template
  • Flow: General
  • Flow: Check account
  • Flow: Transfer money
  • Flow: Report lost card
  • Flow: Office locations
  • Flow: Random questions

Was this helpful?

  1. start quickly
  2. Templates

Banking

PreviousTemplatesNextE-Commerce Returns

Last updated 1 year ago

Was this helpful?

Template overview

This chatbot can help users check their account balance, card limit, report a card as lost or stolen, and find the office closest to them.

Let's dive into how you can adapt this template for your business!

Make sure to always after loading a template!

How to customize this template

This template only uses to search for records. Learn how to set up your own Airtable integration .

Using another service to store your data? You can link any type of database to this bot, as long as it has an API. Read more about our API integrations .

Flow: General

Block: Introduction

In the introduction message, you can change the Botbank image to your own business logo. Make sure that the Quick Reply buttons cover your bot's use cases.

Block: Not Understood

This Block uses a to create a better user experience and make the bot feel more natural. Have fun with it so that it matches your bot's persona!

Block: Anything Else

This Block is where the conversation ends up when a flow is over. For instance, when the user is done checking their account, they will be asked if there is anything else that can be done to help them.

Flow: Check account

On the one hand, if users ask to check their card limit, and they get a different response depending on what card type they choose. Card types are defined under the cardtype contextual entity in the NLP section. This flow is triggered either by a Quick Reply button or by the Card.Limit intent.

On the other hand, if users ask to check their account balance, they can choose to check their current account or savings account. Those are defined under the accounttype contextual entity. This flow is triggered either by a Quick Reply button or by the Check.Balance intent. Once the balance is checked, the user is asked if they want to make a money transfer from that account. This redirects us to the Transfer money flow where a Is account known? Go-To block checks that the accounttype variable is already filled before proceeding to the money transfer.

Flow: Transfer money

In this flow, users can make a one-time money transfer, or create a standing order.

Block: One-time transfer

Here, the bot first asks the amount to transfer, from which account, and finally the bank account number of the recipient. These values are stored as:

amount : the amount to be transferred

accounttype : the account from which the money is transferred

IBAN : the recipient's account number

To check that the bank account corresponds to a correct IBAN format, we use a Condition block that verifies if the IBAN exists. To do so, the bot checks that the entered IBAN matches the IBAN Regex pattern. In short, it verifies whether this is a valid IBAN. To see this pattern and adapt it to your needs, you can go in the Entities tab > Match Entities > @IBAN.

Block: Standing order

To set up a standing order, the bot first asks the user how often the payment should occur. This is stored under thefrequencyvariable. After that, it asks for the the start and end date. To check if the user's input is a valid date, we check if the value matches "date" before saving it as the variables startDate and endDate. Here users can also add a reference in their transfer, stored under the reference variable.

Flow: Report lost card

This flow allows users to report their card as lost or stolen. They are immediately redirected to external links to help block the card, after which they're asked if they want to order a new card. This flow is triggered by either a Quick Reply button or the Lost.Or.Stolen.Card intent.

To find the nearest office locations, the conversation is steered to the Office locations flow.

Block: Report lost card

You can customize the external links to redirect your users to your website and/or phone number.

In the Action block clear address, the bot deleted the variable user_address because the user wants to correct their address by entering a new one. We need to clear the old variable in order to save a new one.

Flow: Office locations

Flow: Random questions

In this flow are grouped all blocks meant to answer random questions like: Which cards do you offer?, How are you?, Who built this?, ... All those blocks are triggered by intents so that the bot can answer those at any time in the conversation. Make sure that you foresee many of them whilst building your bot so that the conversation flows smoothly!

This flow captures two use cases: checking an account balance, and checking a card limit. A spreadsheet for Accounts and another for Cards were created in an that was made by using the .

This flow is triggered when we want to show the user the office that is the closest to them. For the sake of this template, addresses are predefined within the block, but you customize yours following the that uses Google Maps.

update the NLP
this Airtable database
here
here
Not Understood Counter
Airtable base
Airtable App integration
Find Nearest Location Template
View of the Cards table from the used for this template. Learn how to set up your own .
View of the Accounts table from the used for this template. Learn how to set up your own .
View of the Office Locations table from the used for this template. Learn how to set up your own .
Airtable database
here
Airtable database
here
Airtable database
here