OVERVIEW
Virtual Assistants
Kore.ai Platform
Key Concepts
Natural Language Processing (NLP)
Accessing Platform
VIRTUAL ASSISTANTS
Virtual Assistant Builder
Virtual Assistant Types
Getting Started
Creating a Simple Bot
SKILLS
Storyboard
Dialog Task
Introduction
Dialog Builder (New)
Dialog Builder (Legacy)
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Bot Action Node
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Manage Dialogs
User Prompts
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Build
Alert Tasks
Introduction
Ignore Words and Field Memory
How to Schedule a Smart Alert
Small Talk
Digital Views
Overview
Configuring Digital Views
Digital Forms
Overview
How to Configure Digital Forms
NATURAL LANGUAGE
Overview
Machine Learning
Introduction
Model Validation
Fundamental Meaning
Introduction
NLP Guidelines
Knowledge Graph
Traits
Introduction
How to Use Traits
Ranking and Resolver
Advanced NLP Configurations
INTELLIGENCE
Overview
Context Management
Overview
Session and Context Variables
Context Object
How to Manage Context Switching
Manage Interruptions
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Event Based Bot Actions
Default Conversations
Default Standard Responses
TEST & DEBUG
Talk to Bot
Utterance Testing
Batch Testing
Conversation Testing
CHANNELS
PUBLISH
ANALYZE
Overview
Dashboard
Custom Dashboard
Overview
How to Create Custom Dashboard
Conversation Flows
NLP Metrics
ADVANCED TOPICS
Universal Bots
Overview
Defining
Creating
Training
Customizing
Enabling Languages
Store
Smart Bots
Defining
koreUtil Libraries
SETTINGS
Authorization
Language Management
PII Settings
Variables
Functions
IVR Integration
General Settings
Management
Import & Export
Delete
Versioning
Collaborative Development
PLAN & USAGE
Overview
Usage Plans
Support Plans
Invoices
API GUIDE
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
ADMINISTRATION
HOW TOs
Creating a Simple Bot
Creating a Banking Bot
Context Switching
Using Traits
Schedule a Smart Alert
Configure UI Forms
Add Form Data into Data Tables
Configuring Digital Views
Add Data to Data Tables
Update Data in Data Tables
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
Update Balance Task
Transfer Funds Task
RELEASE NOTES
  1. ホーム
  2. Docs
  3. Virtual Assistants
  4. Channel Enablement
  5. Adding the Google Assistant channel

Adding the Google Assistant channel

To add the Google Assistant channel to your bot, you must build a project in Actions on Google, link it to an agent in dialog flow, configure actions, and enable fulfillment using webhook integration.

Note: Google Assistant as a channel should ideally be enabled for bots that are specifically built to work on voice-based channels. Ensure to review the following before you enable Google Assistant as a channel for this bot:

  • Ensure that your dialog tasks contain the Bot Message node as the last node only.
  • Alert task notifications are currently not supported.
  • Some of the Hold & Resume options with explicit messages to the user will not work.
  • Task execution will not be automatically resumed when users provide authorization using web forms. After providing authorization, users have to re-initiate the task.
  • Web form-based responses are not supported for Action, Information, and Alert tasks.

 

To add the Google Assistant channel to your bot, follow the below steps:

  1. Create Actions on Google Project – To enable the Google Assistant channel on your Kore.ai bot, create a project on the Actions on Google console and add all the required details.
  2. Define Actions – To define actions, you must add an action to your project.
  3. Create Agent in Dialogflow – You must create an agent in your Dialog flow console.
  4. Enable Fulfillment – You must configure a Webhook integration between your Dialog flow agent and Kore.ai bot to enable Fulfillment.
  5. Test using Simulator – Once all the configurations are done, you must test your actions using the built-in Simulator on the Actions by Google console.
  6. Deploy and Release – When you have configured the integration and tested your bot, you must deploy your bot for making it available to potential users.
  7. Enable Channel – After completing the integration setup and entering the configuration details in the bot builder, you must enable the channel.

Prerequisites

To complete this procedure, you must have or register a new account in the Actions on Google console.

  1. Log in to Actions on Google Console, click Go To Actions Console.
  2. Click Add/import project. Provide all the details in the required fields and click Create Project.
  3. After your project is created, you are redirected to the project’s Get Started page.
  4. On this page, you must select a category for your project. Select the project category as Custom and click Next.
  5. After your category is selected, you must select a project template. Scroll down to the bottom of the page and select Click here to build your Action using DialogFlow, this will redirect you to the project’s overview page.
  6. Click the Modify languages in Settings option to update the languages in which your actions are displayed.
  7. Go back by clicking on the Overview tab on top of the page.
  8. Now click Decide how your Action is invoked under the Quick Setup. This opens up the Develop tab.
  9. Now proceed to the Invocation option on the left pane. Provide a name that users use to invoke your actions.
  10. Click Save on the top-left of the page. You may review other options available.
  11. Next, you must define Actions. Actions are the tasks that you intend your project to fulfill. Click Actions on the left pane and click Add Your First Action. A new window with options to either build a custom intent or to choose built-in intents is displayed. Choose an appropriate option as per your requirement.
  12. Actions on Google will redirect you to the Dialogflow application for defining the action definition. If you are new to Dialogflow, you are requested to register on Dialogflow. Once your Dialogflow account is set up, you are redirected to the Console of Dialogflow to create a new Agent. Click Create to complete the creation of a new agent.
  13. Once your agent is created, click Intents on the left pane. Dialogflow will add two intents by default viz. Default Fallback Intent and Default Welcome Intent.
    Default Fallback Intent is used to respond to any user input that does not match any of the other intents defined in the intent.
    Default Welcome Intent is used to respond to the user on the first input.
    If no other intent is created in Dialogflow, these two intents will be used to address all user inputs.
  14. As you expect your Kore.ai bot to fulfill all your user requests, you must turn on Webhook Calls for both these intents. Once enabled, Dialogflow will route all user requests reaching any of these two intents to your Kore.ai bot.
  15. Select Default Fallback Intent to open the intent details and go to the end of the page. Under the Fulfillment section, turn on the toggle to Enable webhook call for this intent option. Click Save to update your changes.
  16. Go back to the Intents on the left pane, select Default Welcome Intent to open the intent details, and go to the end of the page. Under the Fulfillment section, turn on the toggle to Enable webhook call for this intent option.
  17. Click Save to update your changes.
  18. Next, Enable Fulfillment. To configure the webhook integration between your Dialogflow agent and Kore.ai bot, click the Fulfillment option on the left pane and enable the Webhook toggle switch.
    • Open the bot in the Kore.ai platform and access the Channel Enablement option and select the Google Assistant channel.
    • Go to the Configurations tab and copy the Webhook URL provided there and update it in the URL field in the Fulfillment section of Dialogflow.
    • From the Configurations tab of the Google Assistant channel page on the builder, copy the Access Token. This token must be added as a header key in the Dialogflow Fulfillment screen.
    • Under the Webhook option of the Fulfillment section, add the key as Access-token and update the copied access token as the value for this key.
  19. Go to the end of the page and click Save.
  20. Your configurations to enable the channel are all set up now. Actions on Google provides a built-in simulator to test your bot. For this, you must first enable few additional options of your Google account’s Activity Controls as per the details provided here.
    1. After you have configured these controls, in the Dialogflow console, click Integrations on the left pane and then click the Google Assistant. A popup window with Google Assistant’s integration settings is displayed. Review the required settings and then click Test at the bottom of the window.
    2. This redirects you back to the Google Action Console and opens up the test tab. Now, you can start testing your bot using Google’s in-built emulator.
  21. Once you have configured the integration and tested your bot, you must deploy your bot for making it available to potential users. Proceed to the Deploy on the top and furnish all the required information and submit for release by clicking Save on the top-right of the page. Your action will be available on Google Assistant Explore only after your release submission is approved.
  22. Proceed to the Configurations tab on the Google Assistant channel page to continue with the channel setup process.

Edit Google Assistant Channel

To edit the Google Assistant channel, follow the below steps:

  1. Hover over the channel and click to modify. You can make the necessary updates to your channel configurations and save them.
  2. You can also disable or delete the channel information by clicking the Settings icon.

    Select one of the following commands to modify the channel:
  • Disable/Enable – Click Disable to temporarily disable the use of the Google Assistant channel for your bot. To enable the use of the Google Assistant channel, Click Enable.
  • Delete – Click Delete, and then click OK in the Delete Confirmation dialog to permanently delete the Bot channel configuration.
Warning: This action is permanent, and cannot be undone.
メニュー
Kore.ai Named a Leader in 2022 Gartner® Magic Quadrant™ for Enterprise Conversational AI PlatformsGet the Report