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
  • Block types
  • Message
  • Condition
  • Collect input
  • Action
  • Intent
  • Default blocks
  • Blocks view
  • Flows view
  • Bot dialogs view
  • Block settings
  • General settings
  • NLP settings

Was this helpful?

  1. build your bot
  2. Flow logic

Blocks

Blocks are the rectangles on your canvas that represent a certain place in the conversation.

PreviousFlow logicNextMessage

Last updated 9 months ago

Was this helpful?

Chatlayer offers multiple block types serving different functionalities. On your bot canvas, the blocks appearing are either:

  • Build by yourself by choosing out of our available .

  • blocks existing for any bot on Chatlayer.

Block types

There are 4 kinds of blocks that you can choose from to build your flows. Each block type comes with its own colour and functionalities.

The blocks menu is available on the left-hand side of your .

Message

Any message a bot is sending to a user is what we call a bot message. This includes text messages, buttons, quick replies, etc.

Condition

If you want to add rules to determine where a user is guided to, based on the value of a variable, you can do it with this block type.

Collect input

Use Collect input blocks to gather input from your users.

Action

Action blocks are where 3rd-party, coding logic or special operations can be added to your bot.

Intent

Default blocks

When you create a bot from scratch on Chatlayer, a few predefined blocks appear in your General flow:

  • Error occurred: a block triggered when an API integration fails to complete a certain request, or when Chatlayer considers your bot to be blocked in a loop.

Blocks view

Chatlayer offers two different views of your block, where you can configure what the bot will answer to a user.

Flows view

To access the Flow view:

  1. Open your bot.

Bot dialogs view

Block settings

You can modify your block when you open it, either under the Settings tab or the NLP tab.

General settings

To access your block general settings:

  1. Open your block.

  2. At the top of the windown, click on the Settings tab. From there, you can access and modify different pieces of information.

Block name

Your block name.

Type

Your block type.

Flow

Label

For example: say you want to store the number of times some specific block ( eg. Greeting Message ) has been triggered. You have added a custom label to that block (eg. messages_greeting). Now if you delete the Greeting Message and recreate it, its unique identifier on the Chatlayer side will change, but you could still add messages_greeting as the custom label again.

If you use this custom label in your system to check if the block has been triggered then nothing on your side needs to be changed, just make sure the label of the recreated block is the same as the label of the block you deleted.

Parent

The parent block and the child block should be in the same flow.

ID

This is the ID associated with the block. You can use this to debug your bot using the Emulator.

NLP settings

To access your block NLP settings:

  1. Open your block.

  2. At the top of the windown, click on the NLP tab. From there, you can access and modify different pieces of information.

Give output context & lifespan

Here, you can select an output context for your bot if you wish to re-use the same intent at different points in the conversation. Learn more about context and lifespan below:

Intent blocks represent an from the user.

: a block show when your bot didn't understand the user.

: the first message that is send to the user to open the conversation.

Block disabled: appears when you disable your bot in the .

Not sure where to go from there? We've got you covered with our tutorial.

The view displays your flows on the bot canvas in a tree-like visual.

Under the Bot builder tab, click on .

In the view, you can visualize your blocks as a table, which is helpful for searching, filtering and sorting blocks.

You can filter the Bot dialogs view based on many filters. Learn more .

The specific where your block is stored.

You may use the Label field as a custom identifier for your block when integrating solutions through the Channel API .

In this field, you can define a block.

Message
Condition
Collect input
Action
intent
Intents
Not understood
Introduction
Settings
Leadzy
Flows
Flows
Bot dialogs
here
flow or subflow
Webhook
Parent
Context
bot canvas
block types
Default
Default blocks.
Visualize your bot canvas under Flows.
Bot dialogs view.
Modify your block's settings inside the block.
Modify the NLP settings of a block.