# Conversational AI documentation


Google Cloud Conversational AI is a collection of conversational AI tools, solutions and APIs, both designers and developers can use:

- **Conversational AI Platforms (CAIP)**
  - [Dialogflow ES](https://docs.cloud.google.com/dialogflow/es/docs) for building small to medium, and simple to moderately complex virtual agents. ([Console](https://dialogflow.cloud.google.com/))
  - [Dialogflow CX](https://docs.cloud.google.com/dialogflow/cx/docs) for building large and complex virtual agents. ([Console](https://dialogflow.cloud.google.com/cx))
- **Contact Center Solutions**
  - [Contact Center AI (CCAI)](https://docs.cloud.google.com/solutions/contact-center) for automating conversations in contact centers. ([Console](https://ccai.cloud.google.com/projects))
  - [CCAI Platform](https://docs.cloud.google.com/solutions/contact-center-ai-platform) a Contact Center as a Service (CCaaS).
  - [CCAI Insights](https://docs.cloud.google.com/contact-center/insights/docs) for processing and identifying call drivers and sentiment. ([Console](https://ccai.cloud.google.com/insights/projects))
  - [Agent Assist](https://docs.cloud.google.com/agent-assist/docs) for supporting human agents during calls and chats by providing real-time assistance. ([Console](https://agentassist.cloud.google.com/projects))
  - [Dialogflow CX](https://docs.cloud.google.com/dialogflow/cx/docs) for building virtual agents in contact centers. ([Console](https://dialogflow.cloud.google.com/cx))


  There are many different ways to get started with Contact Center AI. Different products and tools are better suited for different technical requirements and types of users. The flowchart below is designed to guide you to the right product to solve a given problem in CCAI, whether you're just getting started or trying to determine where to go next in your journey to improve your customer experience.
  ![Diagram for users to determine which tools they should use to solve a given problem in CCAI](https://docs.cloud.google.com/static/conversational-ai/docs/img/decision-tree-ccai.png)
- **Language and Voice processing APIs**
  - [Speech-to-Text (STT)](https://docs.cloud.google.com/speech-to-text/docs) for transcribing spoken voice to text. ([Console](https://console.cloud.google.com/speech))
  - [Text-to-Speech (TTS)](https://docs.cloud.google.com/text-to-speech/docs) for synthesizing written text to human voice.
  - [Text-to-Speech Custom Voice](https://docs.cloud.google.com/text-to-speech/custom-voice/docs) allows you to train a custom voice model using your own studio-quality audio recordings to create a unique voice.
  - [Natural Language](https://docs.cloud.google.com/natural-language/docs) for understanding text.
  - [Translation](https://docs.cloud.google.com/translation/docs) for translating text.
- **Related Products**
  - [Business Messages](https://businessmessages.google/) Delight customers and drive results right from Google Search, Maps, and brand-owned channels. ([Console](https://business-communications.cloud.google.com/console/))
  - [Google Assistant](https://assistant.google.com/) Actions on Google is a development platform for the Google Assistant. It allows the third-party development. ([Console](https://console.actions.google.com/))
  - [Looker Dialogflow Analytics Parser Block](https://looker.com/platform/blocks/source/dialogflow-parser-by-google)

## Documentation resources

Find quickstarts and guides, review key references, and get help with common issues.

### Get Started

-

  [Create a project in Google Cloud](https://docs.cloud.google.com/resource-manager/docs/creating-managing-projects)

-

  [Setup Billing](https://docs.cloud.google.com/billing/docs)

-

  [Enabling Services](https://docs.cloud.google.com/service-usage/docs/enable-disable)

-

  [Cloud SDK](https://docs.cloud.google.com/sdk/docs)

-

  [Setup IAM](https://docs.cloud.google.com/iam/docs)

-

  [Create a Dialogflow CX agent](https://docs.cloud.google.com/dialogflow/cx/docs/quick/build-agent)

-

  [CX reusable resources: flows](https://docs.cloud.google.com/dialogflow/cx/docs/concept/flow)

-

  [CX reusable resources: intents](https://docs.cloud.google.com/dialogflow/cx/docs/concept/intent)

-

  [CX reusable resources: entities](https://docs.cloud.google.com/dialogflow/cx/docs/concept/entity)

-

  [CX controls: pages](https://docs.cloud.google.com/dialogflow/cx/docs/concept/page)

-

  [CX controls: state handlers](https://docs.cloud.google.com/dialogflow/cx/docs/concept/handler)

-

  [Create a Dialogflow ES agent](https://docs.cloud.google.com/dialogflow/es/docs/quick/build-agent)

-

  [Integrate Speech to Text in your app](https://docs.cloud.google.com/speech-to-text/docs/basics)

-

  [Integrate Text to Speech in your app](https://docs.cloud.google.com/text-to-speech/docs/basics)

-

  [Text to Speech Preview Gallery](https://aiestaran-tts-gallery-1.ew.r.appspot.com/)

### Blogs \& Research Articles

-

  [Contact Center AI reimagines the customer experience through full end-to-end platform expansion](https://cloud.google.com/blog/products/ai-machine-learning/google-announces-new-cloud-contact-center-ai-platform)

-

  [Reaching more customers with Contact Center AI](https://cloud.google.com/blog/products/ai-machine-learning/google-cloud-contact-center-ai-2021-highlights)

-

  [Monitor your conversations, get started with CCAI Insights](https://cloud.google.com/blog/topics/developers-practitioners/next-reaction-monitor-your-conversations-get-started-ccai-insights)

-

  [Taking customer conversations to the next level with AI-powered Business Messages](https://cloud.google.com/blog/products/workspace/strengthening-conversations-with-customers-using-ai-powered-business-messages)

-

  [Google Cloud expands CCAI and DocAI solutions to accelerate time to value](https://cloud.google.com/blog/products/ai-machine-learning/google-cloud-launches-contact-center-ai-insights-and-contract-docai)

-

  [Six new features in Dialogflow CX](https://cloud.google.com/blog/products/ai-machine-learning/6-new-features-in-dialogflow-cx)

-

  [HSBC deploys Dialogflow, easing call burden on policy experts](https://cloud.google.com/blog/products/ai-machine-learning/hsbc-builds-an-internal-chatbot-to-answer-questions-on-policies)

-

  [Albertsons Companies helps customers find COVID-19 vaccines with Business Messages](https://cloud.google.com/blog/products/ai-machine-learning/googles-business-messages-helps-the-public-find-covid-19-vaccines)

-

  [Gartner names Google a leader in 2021 Magic Quadrant for Cloud AI Developer Services report](https://cloud.google.com/blog/products/ai-machine-learning/google-cloud-a-leader-in-gartner-mq-for-cloud-ai-developer-services)

-

  [Conversational AI drives better customer experiences](https://cloud.google.com/blog/products/ai-machine-learning/conversational-ai-drives-better-customer-experiences)

-

  [Google Duplex: An AI System for Accomplishing Real-World Tasks Over the Phone](https://ai.googleblog.com/2018/05/duplex-ai-system-for-natural-conversation.html)

-

  [BERT: Understanding searches better than ever before](https://blog.google/products/search/search-language-understanding-bert/)

-

  [LaMDA: Towards Safe, Grounded, and High-Quality Dialog Models for Everything](https://ai.googleblog.com/2022/01/lamda-towards-safe-grounded-and-high.html)

-

  [Introduction to MUM](https://blog.google/products/search/introducing-mum/)

-

  [Introduction to Meena](https://ai.googleblog.com/2020/01/towards-conversational-agent-that-can.html)

-

  [BERT \& MUM: How AI powers great Search Results](https://blog.google/products/search/how-ai-powers-great-search-results/)

### Community

-

  [Dialogflow CX components created by the open-source community](https://docs.cloud.google.com/dialogflow/cx/docs/tutorials/samples)

-

  [Tech with Sachin Dialogflow GDE (Youtube Channel)](https://www.youtube.com/channel/UCeYunbusjXpOobwrhx30GaQ)

-

  [Dialogflow Blogs by Developer Advocate Lee Boonstra](https://www.leeboonstra.dev)

-

  [Dialogflow Facebook Group](https://www.facebook.com/groups/dialogflowcommunity/)

-

  [Google Developer Experts Programma (Machine Learning / Dialogflow)](https://developers.google.com/community/experts)

-

  [Google Cloud Innovators Champions Program](https://cloud.google.com/innovators/champions)

-

  [Dialogflow CX Stack Overflow](https://stackoverflow.com/questions/tagged/dialogflow-cx)

-

  [Dialogflow ES Stack Overflow](https://stackoverflow.com/questions/tagged/dialogflow-es)

-

  [Business Messages Office Hours \& Newsletters](https://developers.google.com/business-communications/business-messages/trainings)

-

  [Business Messages Community](https://support.google.com/business-messages/community)

## Related resources

Training and tutorials Use cases Code samples Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Book Training and tutorials

### [The Definitive Guide to Conversational AI with Dialogflow and Google Cloud](https://link.springer.com/book/10.1007/978-1-4842-7014-1)


Written by an expert Google developer advocate who works closely with the Dialogflow product team. Build enterprise chatbots for web, social media, voice assistants, IoT, and telephony contact centers with Google's Dialogflow conversational AI technology. This book will explain how to get started with conversational AI using Google and how enterprise users can use Dialogflow as part of Google Cloud Platform.


Conversational AI Dialogflow

<br />

Codelab Training and tutorials

### [Dialogflow CX Advanced Codelab Build a retail agent](https://codelabs.developers.google.com/codelabs/dialogflow-cx-retail-agent)


This codelab will guide you through building a website chatbot for a retail. The guide builds a chatbot for a fictional business called: G-Records. G-Records is a rock record label, based in California. The label has 4 rock bands signed; Alice Googler, G's N' Roses, The Goo Fighters and The Google Dolls. G-Records is selling band merchandise to all rock fans.


Dialogflow CX

<br />

Skill boost training Training and tutorials

### [Create Conversational AI Agents with Dialogflow CX Skill Badge](https://www.cloudskillsboost.google/quests/185)


Earn a skill badge by completing the Create Conversational AI Agents with Dialogflow CX quest, where you will learn how to create a conversational virtual agent, including how to: define intents and entities, use versions and environments, create conversational branching, and use IVR features. A skill badge is an exclusive digital badge issued by Google Cloud in recognition of your proficiency with Google Cloud products and services and tests your ability to apply your knowledge in an interactive hands-on environment. Complete this skill badge quest, and the final assessment challenge lab, to receive a skill badge that you can share with your network.


Dialogflow CX

<br />

Coursera training Training and tutorials

### [Customer Experiences with Contact Center AI - Dialogflow CX Specialization](https://www.coursera.org/specializations/customer-experiences-with-contact-center-ai-dialogflow-cx)


Learn how to use CCAI Dialogflow CX. Learn how to use Contact Center Artificial Intelligence (CCAI) to design, develop, and deploy customer conversational solutions.


Dialogflow CX

<br />

Coursera training Training and tutorials

### [Virtual Agent Development for Software Developers with Dialogflow CX](https://www.coursera.org/learn/ccai-virtual-agent-development-in-dialogflow-cx-for-software-developers)


In this course, learn how to develop more customized customer conversational solutions using Contact Center Artificial Intelligence (CCAI). In this course, you'll be introduced to more advanced and customized handling for virtual agent conversations that need to look up and convey dynamic data, and methods available to you for testing your virtual agent and logs which can be useful for understanding issues that arise.


Dialogflow CX

<br />

Coursera training Training and tutorials

### [CCAI Fundamentals](https://www.coursera.org/learn/contact-center-ai-conversational-design-fundamentals)


In this course, learn how to design customer conversational solutions using Contact Center Artificial Intelligence (CCAI). You will be introduced to CCAI and its three pillars (Dialogflow, Agent Assist, and Insights), and the concepts behind conversational experiences and how the study of them influences the design of your virtual agent. After taking this course you will be prepared to take your virtual agent design to the next level of intelligent conversation.


CCAI

<br />

Coursera training Training and tutorials

### [CCAI Operations \& Implementation](https://www.coursera.org/learn/contact-center-ai-operations-and-implementation)


In this course, learn some best practices for integrating conversational solutions with your existing contact center software, establishing a framework for human agent assistance, and implementing solutions securely and at scale.


CCAI

<br />

Codelab Training and tutorials

### [Getting Started with Business Messages Part 1](https://developers.google.com/business-communications/business-messages/trainings/codelabs/buy-online-pickup-in-store-part-1)


This codelab is an introduction to integrating with Business Messages, which allows customers to connect with businesses you manage through Google Search and Maps. You may be a business wanting to integrate with Business Messages directly, or perhaps you're working at an independent software vendor building messaging solutions for the businesses that you work with, or maybe you just stumbled onto Business Messages and you want to tinker on the platform.


Business Messages

<br />

Codelab Training and tutorials

### [Getting Started with Business Messages Part 2](https://developers.google.com/business-communications/business-messages/trainings/codelabs/buy-online-pickup-in-store-part-2)


This is the second codelab in a series aimed at building a Buy Online Pickup In Store user journey. In many e-commerce journeys, a shopping cart is key to the success of converting users into paying customers. The shopping cart also is a way to understand your customers better and a way to offer suggestions on other items that they may be interested in. In this codelab, we'll focus on building the shopping cart experience and deploying the application to Google App Engine.


Business Messages

<br />

Codelab Training and tutorials

### [Business Messages Live agent transfer](https://developers.google.com/business-communications/business-messages/trainings/codelabs/live-agent-transfer)


Business Messages's live agent transfer feature allows your agent to start a conversation as a bot and switch mid-conversation to a live agent (human representative). Your bot can handle common questions, like opening hours, while your live agent can provide a customized experience with more access to the user's context. When the transition between these two experiences is seamless, users get their questions answered quickly and accurately, resulting in higher return engagement rate and increased customer satisfaction. This codelab teaches you how to make full use of the live agent transfer feature.


Business Messages

<br />

Coursera training Training and tutorials

### [Customer Experiences with Dialogflow ES](https://www.coursera.org/specializations/customer-experience-gcp)


Learn about CCAI and building Dialogflow ES agents. Learn how to use Contact Center Artificial Intelligence (CCAI) to design, develop, and deploy customer conversational solutions


Dialogflow ES CCAI

<br />

Coursera training Training and tutorials

### [Virtual Agent Development in Dialogflow ES for Software Devs](https://www.coursera.org/learn/contact-center-ai-building-a-dynamic-virtual-agent)


In this course, learn to use additional features of Dialogflow ES for your virtual agent, create a Firestore instance to store customer data, and implement cloud functions that access the data. With the ability to read and write customer data, learner's virtual agents are conversationally dynamic and able to defer contact center volume from human agents. You'll be introduced to methods for testing your virtual agent and logs which can be useful for understanding issues that arise. Lastly, learn about connectivity protocols, APIs, and platforms for integrating your virtual agent with services already established for your business.


Dialogflow ES CCAI

<br />

Coursera training Training and tutorials

### [Virtual Agent Development in Dialogflow ES for Citizen Devs](https://www.coursera.org/learn/ccai-virtual-agent-development-in-dialogflow-es-for-citizen-developers)


In this course, learn how to develop customer conversational solutions using Contact Center Artificial Intelligence (CCAI). You will use Dialogflow ES to create virtual agents and test them using the Dialogflow ES simulator. This course also provides best practices on developing virtual agents. You will also be introduced to adding voice (telephony) as a communication channel to your virtual agent conversations. Through a combination of presentations, demos, and hands-on labs, participants learn how to create virtual agents.


Dialogflow ES

<br />

Codelab Training and tutorials

### [Build Voice Bots for Android with Dialogflow Essentials \& Flutter](https://codelabs.developers.google.com/codelabs/dialogflow-flutter)


In this codelab, you'll learn how to integrate a simple Dialogflow Essentials (ES) text and voice bot into a Flutter app. To create a chatbot for mobile devices, you'll have to create a custom integration.


Dialogflow ES Flutter

<br />

Codelab Training and tutorials

### [Integrating Dialogflow with Google Chat](https://codelabs.developers.google.com/codelabs/chatbots-dialogflow-hangouts)


In this codelab, you'll learn how Dialogflow connects with Google Workspace APIs to create a fully functioning Appointment Scheduler with Google Calendar with dynamic responses in Google Chat.


Dialogflow ES Google Chat

<br />

Best practice Use cases

### [7 best practices for Dialogflow CX](https://www.youtube.com/watch?v=OMurp_9B1Z4)


We share 7 best practices that you should be implementing when using Dialogflow CX. From future proofing naming conventions for intents to training your agent with phrases in bulk, this video should have you covered. Watch to learn seven best practices when it comes to working with Dialogflow CX!

Dialogflow CX

<br />

Best practice Use cases

### [Dialogflow CX Best practices guide](https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent-design)


Dialogflow CX Agent Design Best Practices Guide

Dialogflow CX

<br />

Whitepaper Use cases

### [Blueprint Chat \& Voice Analytics](https://ddma.nl/ca/)


Apparently most organizations that use chat and / or voice bots still make little use of conversational analytics. A missed opportunity, given the intelligent use of conversational analytics can help to organize relevant data and improve the customer experience.

Dialogflow BigQuery Google Analytics Google Assistant

<br />

Best practice Use cases

### [Conversation Design](https://conversation-design.web.app)


Conversation design is a fundamental discipline that lies at the heart of natural and intuitive conversations with users. Initially intended to help developers design actions on the Google Assistant, the conversation design process has become a de-facto framework at Google to create amazing conversational experiences regardless of channel and device. To help customers and partners get a jump start on the process, Google has created a 2-day workshop that can bring business and IT teams together to learn best practices and design principles for conversational agents.

Conversational AI Conversation Design Dialogflow CX Google Assistant

<br />

Code sample Code Samples

### [Reimagining Customer Experience - Omnichannel 360](https://github.com/GoogleCloudPlatform/dialogflow-ccai-omnichannel)


Omnichannel Customer Service on Google Cloud. Conversational AI for web, telephony, SMS, Google Assistant and mobile. Customers ask us all the time. What's the future of customer care? We think your contact center shouldn't be a cost center but a revenue center. It should meet your customers, where they are, 24/7 and be proactive, ubiquitous, and scalable. It should become a trusted partner in your day to day life.

Dialogflow BigQuery Looker Firebase Business Messages Twilio

<br />

Code sample Code Samples

### [A best practice for streaming audio from a browser microphone to Dialogflow](https://github.com/dialogflow/selfservicekiosk-audio-streaming)


A best practice for streaming audio from a browser microphone to Dialogflow or Google Cloud STT by using websockets. Airport SelfService Kiosk demo, to demonstrate how microphone streaming to Google Cloud works, from a web application.

STT TTS Dialogflow Translation

<br />

Code sample Code Samples

### [Dialogflow CX Bot Language Translation](https://github.com/GoogleCloudPlatform/dialogflow-cx-bot-language-translation)


A must read for everyone who would like to quickly turn a one language Dialogflow CX agent into a multi language agent.

Dialogflow CX Google Sheets Translate Jupyter Notebooks

<br />

Code sample Code Samples

### [Dialogflow CX Python Scripting API](https://github.com/GoogleCloudPlatform/dfcx-scrapi)


The Python Dialogflow CX Scripting API (DFCX SCRAPI) is a high level API that extends the official Google Python Client for Dialogflow CX. SCRAPI makes using DFCX easier, more friendly, and more pythonic for bot builders, developers, and maintainers.

Dialogflow CX Python

<br />

Code sample Code Samples

### [Dialogflow CX Node JS examples](https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/main/dialogflow-cx)


Dialogflow CX API: Node.js examples

Dialogflow CX Node.js

<br />

Code sample Code Samples

### [Dialogflow CX Python examples](https://github.com/googleapis/python-dialogflow-cx)


Dialogflow CX API: Python Client and examples

Dialogflow CX Python

<br />

Code sample Code Samples

### [Dialogflow CX Java examples](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/dialogflow-cx)


Dialogflow CX API: Java Client and examples

Dialogflow CX Java

<br />

## Related videos