Leverage Google Cloud’s Dialogflow CX to develop sophisticated hybrid agents featuring AI capabilities.
March 14, 2025 | By Clinton Hughes & Sowrabh Sanath Kumar
The best chatbots mimic real human interaction with the ability to navigate complex conversations and requests. Hybrid agent architectures offer more personalized and efficient user experiences while providing control over conversation flows.
Google Cloud’s Dialogflow CX platform enables the construction of sophisticated hybrid agents, incorporating generative AI (Gen AI) features and enhanced capabilities. With this tool, developers can create an AI agent to handle structured and unstructured interactions effectively, enhancing user experience and satisfaction.
In the first article in this series, we explored the capabilities of hybrid agents, as well as potential enterprise use cases. Now we’ll discuss the features of Google’s Dialogflow CX; the advantages of a hybrid approach for your enterprise; and how to use intents, flows, pages and webhooks.
Deterministic Flows
When you want (or need) more control over virtual agent conversations, a deterministic flow is the best option. Enabling strict management over conversation paths and agent responses, deterministic flows are capable of handling complex, multiturn conversations. With Dialogflow CX, your enterprise has support for up to 20 independent conversation flows with 40,000 intents. You can even reuse intents and intuitively define transitions and data conditions.
Gen AI Integration
Innovative AI technologies—particularly Gen AI—have transformed the way many enterprises function, automating routine tasks and revolutionizing problem-solving and decision-making. Dialogflow CX incorporates Gen AI to enhance the capabilities of conversational agents, offering features such as:
- Generators, which allow dynamic response generation based on large language model (LLM) prompts—useful for scenarios like summarizing conversations, answering questions and retrieving customer information.
- Generative fallback, which generates responses when the user input doesn’t match expected intents, improving the agent’s ability to handle unexpected queries.
- Data stores, which can be used to parse and comprehend content from websites or internal documents, enabling the agent to answer questions based on this information.
- Playbooks to provide a new way to create virtual agents using LLMs, requiring only natural language instructions and structured data.
Development Approach and Performance Evaluation
When building a hybrid agent in Dialogflow CX, developers can design core conversation flows using the visual flow builder for deterministic control while applying data stores to ground the agent’s knowledge in specific content. You can implement generators to create more flexible, context-aware responses in specific scenarios and enable generative fallback to handle unexpected inputs with grace. Customizable webhooks facilitate integration with external application programming interfaces (APIs) for real-time data retrieval, and developers have the option to incorporate playbooks for fully generative conversation segments.
Benefits of a Hybrid Approach
Using a hybrid model helps your enterprise remain cost-efficient while enhancing overall user experience by handling a wide range of queries effectively and efficiently. A hybrid conversational agent approach also offers more flexibility, combining control with AI-driven adaptability.
Dialogflow CX allows developers to apply multiturn simulators and test case management for quality assurance and reduce development time by utilizing the intuitive visual builder. The platform’s scalability makes it easier to handle a large volume of interactions across multiple channels. And perhaps best of all, the AI components continuously learn from interactions, improving their ability to handle diverse queries over time.
Best Practices for Dialogflow CX Intents
In Dialogflow CX, an intent categorizes an end user’s intention for one turn of the conversation. When creating intents, it’s important to make sure they are specific and focused. Avoid overly broad intents that cover too many scenarios. The more straightforward the intent, the easier it is to train your agent and improve its accuracy.
Make sure to provide a variety of training phrases for each intent, including both more and less common phrases to cover the full range of user expressions. Dialogflow’s synonym feature can help developers cover variations in user language, allowing you to group similar words.
As with any AI technology, it’s important to continually review and refine your agent. This optimization may include employing contexts to help improve your agent’s understanding of user intent or defining parameters to provide dynamic responses.
Best Practices for Flows and Pages
Dissect complex conversations into smaller, modular conversational flows to help improve the organization and maintenance of your agent. Keep in mind that the default start flow is global, and users can reach it from anywhere, so be sure to simplify it with a welcome message that leads to other flows.
Create pages within flows to represent distinct steps in the conversation, and use descriptive page names that reflect their purpose. Transitions between pages should be clearly defined using intent routes and condition routes. Remember that transition routes are defined at the page level, so organize all routes to ensure readability. You can use the session parameter to maintain the context for each flow in your application. Conditional routes can help guide the user back to the correct path if there is an error.
Best Practices for Webhooks
Webhooks are event-driven communications that automatically send data between applications. With Dialogflow CX, you can create dedicated webhooks for specific tasks instead of relying on a single, monolithic webhook. Other best practices for webhooks include:
- Implementing robust error handling in your webhooks. If an external service fails, provide a fallback message to the user and log the error.
- Ensuring data sent to and from webhooks is secure, especially when dealing with sensitive customer information. Always use HTTPS.
- Applying asynchronous operations to avoid blocking user conversations if event webhooks take too long to execute.
- Ensuring seamless API integrations that can facilitate responses with real-time data. Secure your API and make it available only to your webhook endpoint.
- Using a standard naming convention in your webhook payloads to maintain consistency.
- Leveraging external libraries for common webhook tasks like JSON rocessing and API calls.
- Logging all requests and responses of your webhook endpoint to monitor and debug if there are any implementation issues.
Create Sophisticated Hybrid Conversational Agents With Dialogflow CX
Hybrid virtual agents can handle more complex conversation flows, as well as simpler tasks—a true “best of both worlds” situation for many enterprises. With Google Cloud’s Dialogflow CX, your organization can develop and utilize hybrid agents integrated with Gen AI, designing deterministic conversation flows and robust webhooks. By implementing best practices, you can create an AI agent that leverages the platform’s robust capabilities to boost productivity and elevate user experience across the board.

Clinton Hughes
Customer Solution Manager
Clinton Hughes provides thought leadership and actionable direction for TEKsystems’ Google Cloud practice as a customer solution manager. A seasoned professional in cloud technology with over 15 years of business intelligence, financial planning and cloud transformation experience, Clinton has diverse roles in engineering, program management and solution management that showcase a well-rounded perspective and position him to lead high-performing teams in their pursuit to deliver quantifiable and repeatable value.

Sowrabh Sanath Kumar
Solution Architect
Sowrabh Sanath Kumar, a solution architect with TEKsystems’ AI practice, drives solution development and innovation. With 15 years of experience, he leverages his expertise in CCAI, Gen AI, and data analytics on Google Cloud Platform to craft compelling proposals, provide thought leadership and enhance TEKsystems’ service offerings.
Related Articles

Your Google Cloud Partner
Transformational technologies demand equally transformative partnerships. The world’s leading technology brands, including Google Cloud, work with us because of our scale, speed and quality—building upon their foundation to foster and share ideas that help our customers grow. With TEKsystems by your side, you can reap the benefits of best-in-class implementation, integration and support—making the most of your technology investments and powering next-gen innovation.

Clinton Hughes
Customer Solution Manager
Clinton Hughes provides thought leadership and actionable direction for TEKsystems’ Google Cloud practice as a customer solution manager. A seasoned professional in cloud technology with over 15 years of business intelligence, financial planning and cloud transformation experience, Clinton has diverse roles in engineering, program management and solution management that showcase a well-rounded perspective and position him to lead high-performing teams in their pursuit to deliver quantifiable and repeatable value.

Sowrabh Sanath Kumar
Solution Architect
Sowrabh Sanath Kumar, a solution architect with TEKsystems’ AI practice, drives solution development and innovation. With 15 years of experience, he leverages his expertise in CCAI, Gen AI, and data analytics on Google Cloud Platform to craft compelling proposals, provide thought leadership and enhance TEKsystems’ service offerings.