English
Language
  • Introduction
  • Register
  • Definitions
  • BOT BUILDER
    • Create Bot
      • Version Control
      • Creating my first Bot
    • Conversation Flow
      • Message
      • Filter
      • Existing Step
      • Rest API
      • Javascript
      • Email
      • Human Control
      • Webview
      • Forward to another bot
      • Test Bot
      • Time Action
    • NLP
      • Entity
      • Intent
    • Channels
      • Google Assistant
      • Facebook
      • Workplace
      • Chat Widget
    • Data
      • Objects
      • Fields
    • Integrations
      • API
      • Analytics
      • RD Station
    • Dashboard
    • Explorer
      • Codes
      • Changes
  • COSMO DESK
    • Live Chat
    • Settings
  • API
    • V1 - Records
    • V1 - Index
    • V1 - Send Message
    • V1 - Broadcast Messages
Powered by GitBook
On this page
  • Criteria
  • Business hours

Was this helpful?

  1. BOT BUILDER
  2. Conversation Flow

Filter

PreviousMessageNextExisting Step

Last updated 6 years ago

Was this helpful?

Filter is the flow step responsible for evaluating conversation information and can direct the conversation to a different path in the flow. This information can be from the user or the context of the conversation, either through a custom object or some context variable.

Criteria

Filter evaluation is defined by logic criteria.

The 3 information that represents one criterion are:

  • Field: referring to a field related to the user or to a context information.

  • Condition: operation that will be used to evaluate the selected field.

  • Value: represents the reference value for evaluation of the operation and the selected field. This value is directly related to the type of the selected field. Therefore if the field is of type "Options", the value may be only one of the options registered for this field.

Result

The filter can take 1 of 2 decisions:

  • Yes: if the result of the defined criteria (or conjunction) is "True", the flow will continue vertically.

  • No: if the result of the defined criteria (or conjunction) is "False", the flow will take the path to the right.

Business hours

You can also create a filter that makes human service hours! To trigger this filter, you must select "Business Hours" under Filter Type

These criteria can be grouped in E and OU respecting always the rules of .

For example, you can define the message that the Bot will send if it is in the service hours, and if it is not, a message explaining that the Bot is out of business hours.

You can redirect the user to the initial flow if you are out of business hours
conjunction in mathematical logic