🤖 Chatbot
✏️ Studio
Elements
Events

Events

Start includes Intents and Events components. These components are the starting node components of the flow.

What are Intents?

Intents represent the intentions or purposes behind a users input or query. They help the chatbot understand what the user wants or what action they intend to perform. Each intent typically corresponds to a specific task, action, or response that the chatbot can handle.

Role of Intents

Fundamental step in chatbot development: Creating intents.

  • Link user inquiries to appropriate responses/actions.

  • Understand and respond to user requests accurately and contextually.

  • Association of intentions with appropriate responses/actions is crucial.

For example, if a user asks, "What's the weather like today?", the chatbot should recognize the intent as 'asking about the weather' and respond with the current weather information. This response could be a pre-defined text message, or it could involve an action like fetching real-time weather data from an external API.

How to use them in Chatbot Studio?

  • Go to the Flow section in the Chatbot Studio.

  • From the Start section, drag and drop the Intent component onto the canvas.

  • Define the intent by providing a name and adding a short description about the intent in the Model section.

  • Now you can add custom responses or actions to the intent in the Flow section.

What are Entities?

Entities are specific pieces of information extracted from user input that provide context to an intent. They are like keywords or phrases that help in understanding the specifics of a user's request.

Role of Entities

  • Entities help chatbots understand the detailed requirements within a user's intent.

  • They provide context to the intent by identifying specific pieces of information that are relevant to the user's request.

For example, in the sentence "Book a flight to Paris on March 5th," the entities would be 'Paris' (destination) and 'March 5th' (date). These entities helps AI to process and respond to the request accurately by understanding the detailed requirements within the user's intent.

How to use them in Chatbot Studio?

  • Go to the Model section in the Chatbot Studio.

  • From the left panel, click on Entities.

  • Click on Add Entity to create a new entity.

  • Define the entity by providing a name and type. For custom entities, you can add short description to help the AI understand the entity better.

  • From the left panel in the Model section of the Chatbot Studio, select Intents.

  • Add the entity to the intent by selecting it from the available options.


📌 Note: When creating Intents and Entities, it's important to ensure they are clear and understable for AI. Avoid overlapping or conflicting with other intents. For Entities, adding examples is recommended to enhance clarity and effectiveness.


what are Events?

Events are the Trigger points for the flow. They are the starting node of the flow. Events are used to trigger the flow when a specific event occurs. For example, new session starts, request human agent, unable to answer, etc.

Role of Events

  • Events are used to trigger the flow when a specific event occurs.

  • They help in defining the starting point of the flow based on specific conditions or actions.

For example, you can create an event that triggers the flow when a new session starts. This event can be used to greet the user, provide initial instructions, or ask for user input to guide the conversation flow.

How to use them in Chatbot Studio?

  1. Go to the Flow section in the Chatbot Studio.

  2. From the Start section, drag and drop the Event component onto the canvas.

  3. Choose from the available events:

    • Request human: This event is triggered when the chatbot needs to hand over the conversation to a human agent.

    • New session: This event is triggered when a new user session starts. It can be used to greet the user or provide initial instructions.

    • Unable to answer: This event is triggered when the chatbot is unable to provide an answer to the user's query.

    • Contact created: This event is triggered when a new contact is created in the system.

  4. Add the actions or responses in the Flow section that will be activated when a particular event takes place.

What are Variables?

Variables are used to store and manage data within the flow. They can be used to capture user inputs, store information, or pass data between different components of the flow. Variables help in maintaining context and continuity in the conversation flow.

Role of Variables

  • Variables help in capturing and storing user inputs during the conversation.

  • They enable the chatbot to remember information provided by the user and use it to personalize responses or actions.

  • Variables can be used to pass data between different components of the flow and maintain context throughout the conversation.

For example, you can create a variable to store the user's name when they introduce themselves. This variable can then be used to personalize responses or address the user by name in subsequent interactions.

How to use them in Chatbot Studio?

  1. Go to the Model section in the Chatbot Studio.

  2. From the left panel, click on Variables.

  3. Click on Add Variable to create a new variable.

  4. Define the variable by selecting its type (FLOW,SESSION,VISITOR) and providing a name.

  5. Use the variable in the flow by referencing it with double curly braces (e.g., {{FLOW.variable_name}}).

  6. Variables can be used to capture user inputs, store information, or pass data between different components of the flow.