LogoLogo
  • A better way to do...stuff!
  • How we build the app
    • Overview
  • Documentation
    • Draftbit
      • Using Live Preview
      • Workspaces and Billing
      • Introduction to the Builder
      • Layout
      • Intro to Navigation
      • Fetching Data
      • Direct Integrations
      • FAQs
      • Draftbit
      • Draftbit
      • Custom Blocks
      • Borders, Background, and Elevation
      • Actions
      • Custom Screen Code
      • Exporting and Publishing Your Project
      • Sharing Your Project Online
      • Publishing Your App as a PWA
      • Stack Navigator
      • Tab Navigator
      • Draftbit
      • Draftbit
      • Basic
      • Media
      • REST Services & Endpoints
      • REST API Integrations
      • Themes & Styling
      • Submitting Data
      • Draftbit
      • Draftbit
    • Xano
      • resources-and-tips-1
        • 🎞️ Xano Video Tutorials
        • 🤝Community Corner
        • 💰Share Xano. Make money
      • FAQ
      • getting-started
        • ⚡ Jumpstart
        • 🎞️ The Xano Interface
      • instances
        • What is an Instance?
        • Early Access Instance
        • Upgrading an Instance
        • Sharing
        • Bandwidth Usage
        • API Rate Limit
      • What is a Workspace?
      • Dashboard
      • Database
      • Airtable Import
      • API
      • Library
      • Marketplace
      • Settings
      • authentication
        • Authentication
        • Sign-up & Log in
      • data-manipulation
        • The Function Stack
        • Addons (GraphQL-Like)
        • The Expression Builder
        • External Query Manipulation
        • Timestamp
        • Filters
        • Images
    • Expo
      • Creating your first build - Expo Documentation
    • Kommunicate
      • Installation
      • Installation
      • Installation
      • Installation
      • Installation
      • Flutter Installation
      • Installation
      • Zapier Integration
      • Authentication
      • CMS Installation
      • Authentication
      • Conversation
      • Conversation Assignment
      • Customization
      • Localization
      • Logout
      • Web Troubleshooting
      • Installation
      • Authentication
      • Push Notification
      • Conversation
      • Customization
      • Localization
      • Logout
      • Installation
      • Authentication
      • Push Notification
      • Conversation
      • Customization
    • Formito
      • basics
        • Getting Started
        • Variables
        • Are you GDPR ready?
        • How to prefill the values of my chatbot?
      • connect
        • How to connect Formito to Zapier?
      • convert
        • How to convert old formito chatbots to the new version?
        • How to convert Google Forms into a chatbot?
        • How to convert a Monday.com board to a chatbot?
        • How to create chatbot from QuickBase table?
      • guide
        • How to add my chatbot to WordPress?
        • How to create a chatbot for Zendesk?
      • shopify
        • How to embed my chatbot into a Shopify page?
        • How to display Formito chatbot on bottom corner of my Shopify store?
        • How to open my chatbot after clicking on links or buttons?
    • Stonly
  • Flex Stuff
    • App
    • APIs
    • Database
    • Website
    • Design
    • Style Guide
  • Content
    • Guides
    • ChatBots
    • Blogs
    • Whitepapers
  • Company
    • About us
    • Brand
    • Roadmap
    • Policies
  • Flex Together
    • Overview
    • Fair Finance
Powered by GitBook
On this page
  • Overview
  • Routing rules for human agents
  • Automatic assignment
  • Notify everybody
  • Routing rules for bots
  • Assign new conversations to bot
  • Bot to human handoff
  • 1. On action input.unknown:
  • 2. Assign conversation to a human agent
  • 2. Assign conversation to a team
  • Handoff a conversation to another bot

Was this helpful?

  1. Documentation
  2. Kommunicate

Conversation Assignment

PreviousConversationNextCustomization

Last updated 4 years ago

Was this helpful?

Overview

Conversation Assignment is the set of rules you can apply to manage conversations among your team members(humans and bots). You can assign and route conversations between your team members to effectively manage all the incoming conversations. You can find these rules in section in the Dashboard.

Here are the guidelines on how to use conversation rules for humans and bots:

Routing rules for human agents

Automatic assignment

If the automatic assignment is enabled, all the incoming conversation will be assigned to the human agents in a round robin manner. All the human agents who are offline or in 'Away' mode will be skipped in the routing. In case all the human agents are offline, the conversation will be assigned to the Default agent. You can set the default agent from the same section.

Notify everybody

If notify everybody is enabled, then the conversation will be assigned to a default agent and notifications will be sent to everybody. Anybody can assign that conversation to themselves after that.

Note: In case 'Assign new conversations to bot' is enabled, then irrespective of the routing rules for human agents, the conversation will be assigned to the 'selected bot'.

Routing rules for bots

Assign new conversations to bot

If enabled, all the incoming conversations will be assigned to the selected bot. You can choose the selected bot from the drop down.

A few points to note when the conversations are assigned to a bot:

  • If the bot is not able to answer:

    • The conversation will be assigned to default human agent if Notify everybody is selected in the agent routing rules.

    • The conversation will be assigned to the human agent present in the conversation for Automatic assignment.

  • The Welcome and Away messages configured from the Dashboard will not come. The welcome messages configured by the bot will come here.

  • The Take over from bot button will be displayed in the the conversation, if the human agent takes over from the bot, conversation will assign to that particular agent.

Bot to human handoff

Bot to human handoff comes in handy when the bot is unable to answer the customer or is unable to understand what the customer is saying. There are multiple ways bot can assign the conversation to agents:

1. On action input.unknown:

  • In Dialogflow, every intent has an action. In an Intent, you can set the action from the ‘action and parameter’ section while creating or updating an intent. The “Input.unknown” action is built into Dialogflow and associated with the default fallback intent (created and enabled by default when a bot is created in Dialogflow).

  • When none of the intents are matched, the default fallback intent is triggered and action associated with it is added in the response. Kommunicate uses this action to handoff the conversation to a support agent. Whenever action “input.unknown” is detected in the response, Kommunicate automatically assigns a conversation to a support agent based on the aforementioned routing rules. You can add an action “input.unknown” to any intent to handoff the conversation to a support agent or remove it from the default fallback intent to disable automatic handoff to support agents.

2. Assign conversation to a human agent

  • Add the JSON code below (as a custom payload) to the response of the Intent. Specify the agent's email ID (same email ID which an agent uses to log into the Kommunicate dashboard) in KM_ASSIGN_TO parameter.

  • If KM_ASSIGN_TO parameter is left empty, the conversation routing rules will be applied and the conversation will be assigned to a human agent based on the routing rules.

{
  "platform": "kommunicate",
  "message": "our agents will get back to you", 
  "metadata": {
    "KM_ASSIGN_TO": ""  
  }
}

set "KM_ASSIGN_TO": "" if you want to assign the conversation to specific agent.

  • Click on the Intent in Dialogflow console.

  • In the response section, click on “Add Responses” then select “Custom Payload”.

  • Modify the sample JSON according to your specific needs and paste it in the “Custom Payload” section.

  • Save the intent and let the agent complete the training.

2. Assign conversation to a team

  • Add the below mentioned JSON code (as a custom payload) to the response of the Intent. Specify the Team ID in KM_ASSIGN_TEAM parameter.

{
    "platform": "kommunicate",
    "message": "One of our teammate will get back to you",
    "metadata": {
        "KM_ASSIGN_TEAM": "54515931"
    }
}
  • Click on the Intent in Dialogflow console.

  • In the response section, click on “Add Responses” then select “Custom Payload”.

  • Modify the sample JSON according to your specific needs and paste it in the “Custom Payload” section.

  • Save the intent and let the agent complete the training.

Handoff a conversation to another bot

If you have multiple bots running, you can hand off the conversation to another bot when specific intent is matched. You can trigger an event so that your bot will get exact context rather than starting from the beginning. Set the below JSON as custom payload to handoff the conversation to another bot:

{
    "platform": "kommunicate",
    "message": "Forwarding your request to a teammate who is expert in this",
    "metadata": {
        "KM_ASSIGN_TO": "",
        "event": {
            "name": "WELCOME", 
            "data": {}
        }
    }
}

To get the Team ID, go to your >> ⚙️Settings >> COMPANY >> Teammates >> TEAM

Conversation Rules
Kommunicate Dashboard