Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Go to Haptik Website
  • Contact Us
  • Home
  • Smart Agent Chat
  • Set up

Transfer chats to Agents on Smart Agent Chat

Written by Medha Anand

Updated on December 27th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Build Deploy Analyse Manage Account Bot Deactivation
  • Bot Building
    Essentials Smart Skills Steps User Messages Bot Responses Entities Connections Customisations User feedback collection Testing Whatsapp Bots NLU Bot Maintenance
  • Smart Agent Chat
    Set up Admin Settings MyChats Section (Agent Inbox) Live Traffic Section Teams Section Archives Section Analytics Plans on Smart Agent Chat
  • Conversation Design
    Design Basics Design Guides Designing for Platforms Designing WhatsApp Bots
  • Developer Guides
    Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
  • Deployment
    Web SDK WhatsApp Facebook Instagram Sunshine Conversation LINE Google Business Messages Telegram MS Teams Bot as an API iOS SDK Android SDK
  • External Agent Tool Setup
    Zendesk Chat Salesforce Service Cloud Freshchat Zoho NICE CXOne Gorgias
  • Analytics & Reporting
    Intelligent Analytics
  • Notifications
    SMS Notifications Success Measurement
  • Commerce Plus
    Catalog Integration Bot Building Guide Channel Deployments Unified ML Pipeline Documentation
  • Troubleshooting Guides
    Error Messages FAQs
  • Release Notes
+ More

Table of Contents

Adding Smart Agent Chat integration function on the botEnabling Human Assistance flag on Business ManagerQueue StructureQueue Position IndicatorPriority Calculation

When the user's come to the bot and start conversing, they go through the automated user journeys created using the Conversation Studio tool. When the bot is trained to understand the user's messages, the bot gives correct responses to the user. But when the bot does not understand the user's messages, the bot gives a bot break message.

When the bot cannot understand the user, you can choose to redirect the user to a human assistant who will help the user resolve their query.

You can set rule(s) to enable the redirection of users from the bot to a human assistant. There are two rules -

  1. Adding Smart Agent Chat integration function on the bot
  2. Enabling Human Assistance flag on Business Manager

Adding Smart Agent Chat integration function on the bot

Example use cases -
1. When the user comes to a bot and explicitly says "I want to chat with an agent".
2. When you want to capture some user details such as their name and email and then redirect the user to an agent.

There is a generic function for Smart Agent Chat integration that needs to be added to a step from where the agent function is to be used.

integration.utils.common.chat_force_pending

On the Integrations tab of the step, select the type as Entity and Integration function and add the below function name in the integration field and then click on Save.

Once the users reaches the step where you have added the integration function to transfer the chat to an agent, the bot will redirect the user to a Team on Smart Agent Chat.

You need to specify a default Team name in the Business Manager section of the Conversation Studio tool. All the agents are a part of Team on Smart Agent Chat. Hence, the chat gets assigned to an agent within the mentioned default Team.

To provide a default Team, navigate to Business Manager on the bot page.

What is a Default Team?

There can be a situation when the team routing logic fails and no team is shortlisted to assign a chat. In that case, the chat is assigned to the default team, set on the Business manager.

On the Business Manager, in the General Settings, select the Team name from the dropdown as shown below:

You will need to create a Team on Smart Agent Chat. Once you have created the Team, the team name will appear in the dropdown on Business Manager. To know how to create a team, click here.

When the users reach the step where this integration function exists (get the details is the step in the above image), then the chat will be transferred to the Team on Smart Agent Chat.

Click here to know more about creating steps.

Enabling Human Assistance flag on Business Manager

Example use cases -
1. When you directly want to redirect the user to an agent and there are no user journeys on the bot.
2. To handle out-of-scope queries of users. The users will be directed to an agent directly.

Every bot on the Haptik Platform has a Business Manager which contains all the configurations related to a bot. In the General Settings section, you can enable the Enable Human Assistance flag.

If this flag is ON for a business, a chat will be moved to an agent whenever the bot doesn't understand the user's message, i.e., instead of responding with a bot break message, the bot will assign an agent to the user to resolve user's query.

Warning: Before the handover to the agent, the bot might give a Smart Assist message. In cases where you do not want this to happen, the Smart Assist can be disabled from the backend.

You can combine the rules too, i.e., add the integration function on the user journeys and also enable the human assistance from the Business Manager.

  • If a Business is Bot + Human Assisted

  • If a Business is Completely Human Assisted

Note: If a Business is Completely Bot Assisted, the chat will never be assigned to a team.

Once you have configured the rules to transfer a chat from a bot to a human assistant (also referred to as an agent), you can start with the Smart Agent Chat setup to handle the incoming chats.

Queue Structure

When the Smart Agent Chat tool receives a message from a user, it allocates the chat to Queues with a calculated priority.

  • Team Queue
    • Every Team has its own dedicated queue.
    • Chats present in this queue are allocated to agents basis the availability of agent slots.
    • Chats are added to this queue in the below scenarios:
      • Bot Broke, and due to Human Assistance being enabled, the chat gets allocated to the default team
      • This is an agent-only solution, and all chats are added to the default team.
      • An integration function has manually transferred a chat to a Team
      • An Agent or Team Lead and re-assigned a chat to this team
      • When an agent goes offline, and he had chats present in his waiting bucket, those chats get re-assigned back to Team Queue with the highest priority
  • Agent Queue
    • Every agent has his/her own dedicated agent queue.
    • Chats are added to this queue in the below scenarios
      • If an Agent or Team Lead, manually re-assigns a chat to an agent, and that agent was already handling chats at his maximum allocated concurrency.
      • If an Agent had marked a chat as "waiting for user", and the user returns, when the agent was already handling chats at his maximum allocated concurrency.

Queue Position Indicator

When the user requests to Chat with an agent, at times he may face a delay in that request. The reason for this is, the agent might be handling conversations with another user. So as we saw in the above sections, there is a queue that is maintained in order to connect the users with the agents. 

In Smart Agent Chat, there is a by default feature that would let end users know about the queue position when it is taking longer to connect with an agent.  

As shown in the above image, when the user requested to chat with an agent, he was sent a response along with the Queue position information, which says the user would receive a reply from the agent as soon as the agent closes 4 conversations. 

Priority Calculation

The priority value and presence in ‘Team Queue’ or individual ‘Agent queue’ is calculated based on the below metrics:

  1. New User: The user has started a new conversation, and there are no previous conversations.
    • If the bot is present and can handle the query then the conversation continues with bot.
    • If the bot breaks and human assistance is enabled for business then the conversation is transferred to the default team.
    • If a bot flow triggers human assistance, then the conversation is assigned to the default team, unless a particular team was specified via the integration function.
    • If the bot breaks and human assistance is disabled for business then the bot break message as defined on Business Manager is sent as a response on the bot.
    • If no bot is present and human assistance is enabled for business then the conversation is directly assigned to the default team.
  2. Returning User: The user has started a new conversation, and there are previous conversations.
    • For Bot or Bot + Agent solutions
      • Conversations always start with the bot.
    • For Agent Only solutions
      • If the agent to whom this user spoke to earlier is currently online
        • if the team is not exclusively provided, we assign it to the same agent
        • if the team is exclusively provided an agent belongs to the team, we assign to the same agent
        • if the team is exclusively provided and the agent does not belong to the team, we assign to the team and decouple the relation between this agent and the user
      • If the agent to whom this user spoke to earlier is currently offline, we clear the relation between this user and agent, and allocate the chat to the next available team/agent as specified or default team.

When an agent logs out, we clear the relation between this agent and all users he/she might have interacted with earlier.

Apart from the above, one can choose between the two Chat Assignment Algorithms on Smart Agent Chat, you can read more about it here.

The bot is a special agent, named as Gogo.

Delete

In a conversation, every message that is sent by the bot or an agent will be shown under the Agent’s name once the chat has been transferred to an agent.


Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Closing Categories (Chat Disposition)
  • Agent Assignment Logic
  • How to set up Smart Agent Chat?

Platform

  • Conversation Studio
  • Smart Skills
  • Advanced NLU
  • Intelligent Analytics
  • Omnichannel
  • Smart Agent Chat
  • Enterprise Security
  • Integrations

Solutions

  • Conversational Commerce
  • Lead Generation
  • Customer Care
  • WhatsApp
  • Conversational IVR
  • Google Business Messages

Industries

  • Retail/ E-Commerce
  • Financial Services
  • Travel & Hospitality
  • Telecom

Knowledge

  • ROI Calculator
  • Reports & Research
  • Case Studies
  • Webinars
  • ISAT
  • Tech Blog
  • Business Blog
  • Resources
  • Haptik v/s Yellow
  • Haptik v/s Liveperson
  • Haptik v/s IBM Watson
  • Haptik v/s Verloop
  • Conversations on AI

Company

  • Why Haptik
  • About Us
  • Careers
  • News & Media
  • Awards & Recognition
  • Contact Us
  • Partnerships
  • Investor Relations

Subscribe

Sign up to recieve the latest updates

Find us on

  • Twitter-footer
  • Linkedin-footer
  • YT-footer
  • Insta-footer
  • G2-footer
  • Facebook-footer

Knowledge Base Software powered by Helpjuice

Copyright © jio Haptik Technology Limited 2021 | Data Security & Privacy Policy | GDPR

North America | Asia Pacific | Africa | enterprise@haptik.ai

Definition by Author

0
0