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: Feedback

Was this helpful?

  1. start quickly
  2. Templates

Feedback

PreviousE-Scooter SupportNextFind Nearest Location

Last updated 1 year ago

Was this helpful?

Template overview

This template allows you to collect easily feedback from your users.

The template asks the user to rate their experience in three areas (products, delivery and customer service) and asks them to give more detailed feedback if they did not give a perfect three star rating. These ratings and comments are stored as variables and are then sent to an external database (Airtable). If the user gives their email address, they will also be offered a discount code for your store.

How to customize this template

Make sure to always after loading a template!

This template uses Airtable as an external database to store the user feedback and discount codes. To customise this flow, you will therefore need an Airtable account, an Airtable base with feedback and discount code tables, and your Airtable API key.

Want to use a different service to store your user feedback? You can link any type of database to this bot, as long as it has an API. Read more about our API integrations .

Flow: Feedback

Block: Ask email address

This block offers the user a discount code if they give their email address. If the user doesn’t want to give their email, they will be redirected to the end of the flow.

Block: Search discount code

If the user does give their email address, this block will look up an available discount code in an external database. By default, this template is set up to look up this code in an Airtable using the Search Record function of Chatlayer’s Airtable integration.

You can link any sort of database to this bot, as long as it has an API. Read more about integrations .

You will need to customize this block by connecting it to your own Airtable account and your own Airtable base. However, when you have newly imported the Feedback template, it will be linked to . Feel free to use it to test the template but make sure to connect your own database once you start using the bot for your own business.

Like the example Airtable, your own Airtable base should have a table with one Code_status column and one Discount_code column.

Block: Set discount code used

This action block changes the status of the discount code that was looked up in the previous block from Available to Used with the Update Record function. As in the previous block, you will need to connect to your own Airtable account and replace the example base and table IDs by your own.

Block: Send feedback to Airtable

This Action block sends the feedback the bot has gathered to Airtable using the Create Record function. As in the previous Airtable integration blocks you will need to connect your own Airtable account and base and table IDs. In your Airtable base you will need a table with columns for each of the feedback variables, as well as the user’s email address.

If your own Airtable uses different field (column) names you will also need to replace the names in the left hand column in the Record field by the field (column) names in your own Airtable.

Once you've connected the bot to your own Airtable, use the emulator to test your bot and verify if the feedback is written correctly to your Airtable.

That's it, now your bot can easily collect feedback from your users!

If you do not yet have an Airtable account set up in Chatlayer, you can do so by clicking Connect new account and following the steps in the pop-up window. You will need your Airtable API key for this, which you can find on your .

Once your Airtable has been set up, head back to this block in Chatlayer. In the Base field replace the exampleID with the ID of your own Airtable base. In the Table field replace the example ID with the ID or name of the table in your own Airtable base where you want to store the feedback. You can find your Airtable's base ID and table IDs .

update the NLP
here
here
this Airtable
Airtable account page
here