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
  • Tables
  • Flow: General
  • Block: Choose language
  • Block: Introduction
  • Block: Start again
  • Flow: Lead generation
  • Flows: Classes
  • Flow: FAQ

Was this helpful?

  1. start quickly
  2. Templates

Gym

This bilingual booking assistant helps your customers to schedule their gym sessions. It offers a free trial for new joiners, books and cancels classes using Tables.

PreviousGPTNextJob applications

Last updated 1 year ago

Was this helpful?

This template is a gym bot that books and cancels classes for you using .

Make sure to always after loading a template!

Tables

  • Lead generation: a table that gathers the new user details uncovered in the conversation.

  • Group classes EN: a list of gym classes in English

  • Group classes DE: a list of gym classes in German

Flow: General

Block: Choose language

When the conversation starts, the user is first asked which language they would like. This bot is bilingual as it exists in both English and German. The Choose language block is triggered when the chat starts. The chosen language will be set as value for the preferredLanguage variable.

Block: Introduction

The Introduction block sets up the 3 main use cases, into 3 Quick Reply buttons. You can see that as the "main menu":

  • I'm new leads to the Lead Generation flow,

  • Bookings leads to the Book class and Cancel class flows

  • FAQ leads to the FAQ flow

Block: Start again

This Action block clears all the variables of the conversation so that the chat can start again. This is useful for testing but also if the conversation is left and then restarted. It is triggered whenever users greet the bot, by using the chitchat.greeting intent.

Flow: Lead generation

This is the flow triggered by clicking on the "I'm new" button in the Introduction message, or by the i_am_new intent. The bot offers a free trial to the user, then their details are asked before they get suggested to book a class right away.

Flows: Classes

This is where conversations on booking or cancelling a class happen. Each of them is triggered by either the book_class or cancel_class intent.

Blocks: Which language?

The data fetched by the bot is influenced by the preferredLanguage variable set during the Choose Language phase at the conversation's onset. This adjustment is crucial as the representation of dates, times, and locations varies between languages such as German and English. The Condition blocks act as routers to ascertain the specific data to fetch, based on the user's language preference.

Blocks: Clear booked class and Clear cancelled class

The Clear booked class and Clear cancelled class Action blocks reset the variables defining the class to be booked or cancelled. This ensures that if users repeat a flow, the bot does not assume the same class is intended, prompting the user to specify the class again.

Flow: FAQ

In this flow are grouped some of the frequently asked questions and their answers. We focused on 2 different topics: covid rules and prices.

This chatbot uses 3 tables that are accessible under the tab on the left-hand menu:

Read more about multilingual bots .

To discover how you can upgrade your FAQ flows, try out our template.

🆕
here
Knowledge Base AI
Tables
update the NLP
Tables
Ollie the gym template bot.
The Group classes EN table.