Skip to content

Google CCAI

The Google Contact Center AI (CCAI) integration enables OmniBots to escalate conversations to a CCAI-managed queue, or to serve as the virtual agent layer in front of a CCAI-powered contact center.

Prerequisites

  • A GCP project with billing enabled and the Contact Center AI API enabled
  • A service account with appropriate permissions
  • Dialogflow CX agent (if using Dialogflow integration)
  • Admin access to OmniBots Settings > Integrations

Configuring the Integration

1. Set Up GCP Credentials

In the GCP Console, go to IAM & Admin > Service Accounts, create a service account, and assign the following roles:

RolePurpose
dialogflow.adminManage Dialogflow CX agents and sessions
ccai.viewerRead CCAI configuration and queue status
ccai.editorCreate and route interactions
  1. Generate a JSON key for the service account and download it
imageGCP Console IAM & Admin page showing service account creation with dialogflow.admin, ccai.viewer, and ccai.editor roles assigned
GCP service account setup for CCAI

2. Add the Integration in OmniBots

Go to Settings > Integrations > Add Integration and select Google CCAI:

FieldDescription
GCP Project IDYour Google Cloud project ID
Service Account KeyUpload or paste the JSON service account key
Agent IDDialogflow CX agent ID (if using Dialogflow)
LocationGCP region (e.g., us-central1, europe-west2)

Click Test Connection to verify that OmniBots can authenticate with your GCP project and access the CCAI APIs.

TIP

Store your service account key in Settings > Secrets rather than pasting it directly. This ensures the key is encrypted at rest and access-controlled.

3. Dialogflow CX Integration

OmniBots can use Dialogflow CX as an NLU engine alongside its own flow builder. There are two integration modes:

ModeDescription
NLU NodeUse a Dialogflow CX node in your OmniBots flow to classify intent and extract entities, then continue in the OmniBots flow
Full AgentDelegate the entire conversation to a Dialogflow CX agent and handle the handoff response when the agent escalates

To use the NLU Node mode, add a Dialogflow CX node to your flow and select the Google CCAI integration. The node sends user input to the Dialogflow agent and returns the matched intent and parameters as flow variables.

imageDialogflow CX agent console showing configured intents, entity types, and flow pages alongside the OmniBots integration settings
Dialogflow CX agent configuration

4. Configure Queue Routing

Map OmniBots escalation categories to CCAI queues:

Mapping FieldDescription
Default QueueQueue used when no specific mapping matches
Queue MappingsMap intent or category values to specific CCAI queues
Routing ProfileCCAI routing profile to apply
FallbackAction if no queue matches (hold, callback, message)

Handoff Node Configuration

When OmniBots serves as the virtual agent in a CCAI deployment, the Handoff node signals CCAI to transfer the interaction to a human agent queue with full conversation context. Configure the node by selecting your CCAI integration, choosing a target queue or routing profile, setting context data, and defining a timeout.

Context Data Passed to Agents

AttributeCCAI FieldDescription
Conversation transcriptConversation HistoryFull bot-user message history
Customer nameEnd User Display NameIf collected or identified
IntentMatched IntentThe detected intent or escalation reason
Session parametersCustom ParametersFlow variables marked for handoff
ChannelChannel TypeOriginating channel (web, voice, messaging)

WARNING

Ensure your GCP service account has ccai.editor permissions. Without this role, OmniBots cannot create interactions or trigger agent handoffs in CCAI.

Testing the Escalation

  1. Publish your bot with a flow that includes the Handoff node
  2. Start a conversation and trigger the escalation path
  3. Verify the interaction appears in the CCAI agent desktop
  4. Confirm the conversation history and parameters are visible to the agent
  5. Check the CCAI operation logs if the escalation does not arrive

Troubleshooting

IssueResolution
Connection test failsVerify the Project ID, service account key, and location are correct
Dialogflow agent not foundEnsure the Agent ID matches and the agent is in the specified location
Queues not loadingCheck that the service account has ccai.viewer permissions
Handoff fails silentlyReview CCAI operation logs and verify the routing profile is active
Intent not detectedConfirm the Dialogflow CX agent has trained intents matching user input

OmniBots AI Bot Platform