Template catalog


Message Counter and Sentiment Analysis

Learn how to create an AI agent with advanced functionality, including message counting and sentiment analysis, using Tiledesk. This guide will walk you through setting up and configuring the agent to adapt its responses based on user interaction patterns.

image describing the tiledesk community chatbot

Customize this template quickly & easily with Tiledesk

Designed by

logo of the author of the chatbot published in the tiledesk community

Michele Pomposo

Published on

26/8/2024

Last update on

10/9/2024

Share this template to:

Try the Chatbot

More about this template

Step 1: Configure the Message Counter in Tiledesk

  1. Create a New Chatbot: Start a new project in Tiledesk's Design Studio.
  2. Add a "Set Attribute" Action:
    • Use the "Set Attribute" action to create a message counter.
    • Increment this counter each time the user sends a message.

Step 2: Set Up Sentiment Analysis Using Conditions

  1. Add a "Condition" Action:
    • Implement a "Condition" action to check the value of the message counter.
  2. Configure Sentiment Evaluation:
    • If the counter is less than or equal to two:
      • Apply a sentiment evaluation with criteria for:
        • Extreme frustration
        • Deep discouragement in getting a positive answer
        • Extremely low or negative mood
    • If the counter is greater than two:
      • Apply a sentiment evaluation with criteria for:
        • Frustration
        • Discouragement in getting a positive answer
        • Low or negative mood

Step 3: Test and Deploy

  1. Test the Chatbot: Use the play button in the Design Studio to interact with your chatbot and ensure the message counter and sentiment analysis work as expected.
  2. Deploy on Desired Channels: Publish your chatbot on your website or any supported messaging platform.

For more detailed guidance, refer to the Tiledesk documentation.

Tags

    #AI Agent

    #Sentiment Analysis

    #Virtual Assistant

    #Chatbot Integration

    #Customer Support

    #Message Counter

    #AI Integration

Integrations

Once designed, you can run your unlimited no-code chatbots on every communication channel of your choosing. Be it WhatsApp, Telegram or Facebook Messenger. With no further clicks or actions.