• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Cyara

Cyara

Cyara Customer Experience Assurance Platform

  • Login
  • Contact Us
  • Request a demo
  • Search
  • Login
  • Contact us
  • Request a demo
  • Why Cyara
    • Cyara Agentic Platform
    • Cyara partner network
    • Cyara Academy
  • Products
    • ValidationBuild your CX stack with confidence – every layer, validated early
          • AI bot validationValidate conversational AI, GenAI, agentic AI chat, and voice bots
          • Telco infrastructureValidate carrier connectivity and routing for global calling and SMS
          • Network & endpointsValidate WebRTC media paths and agent desktop connectivity
    • ReadinessDeploy your CX journeys with confidence – at scale, through change
          • Agentic journey assuranceAssure end-to-end agentic and hybrid journeys before go-live
          • Load and performanceAssure CX journeys through load, peak, and scale
          • Human agent readinessAssure inbound and outbound agent paths before go-live
    • ObservabilityRun your CX operations with confidence – continuous monitoring, proactive resolution
          • Agentic AI trust & governanceMonitor AI agent hallucination, compliance, and misuse
          • Omnichannel observabilityMonitor end-to-end CX journey experience across channels
          • Human agent monitoringMonitor live agent connectivity and experience in real-time
    • Learn about the Cyara Agentic Platform
  • Resources
    • CX Assurance blog
    • Customer success showcase
    • CX use cases
    • Events & upcoming webinars
    • On-demand webinars
    • Resource library
  • About Us
        • About Cyara

        • About Cyara
        • Leadership
        • Careers
        • Legal statements, policies, & agreements
        • Services

        • Cyara Academy
        • Consulting services
        • Customer success services
        • Technical support
        • News

        • Press releases
        • Media coverage
        • Cyara awards
        • Partners

        • Partners

Blog / CX Assurance

March 1, 2023

Cognigy Intent Hierarchies

Sandra Dranganoiu

Sandra Draganoiu, Relationship Director

This article was originally published on QBox’s blog, prior to Cyara’s acquisition of QBox. Learn more about Cyara + QBox.


Cognigy.AI is an extensive platform that allows users to not just build the training data to drive an NLU bot, but to create an assistant made up of multiple “Flows” that take a user through a journey and handle various tasks, depending on what that user requests.

Cyara helps businesses accelerate chatbot development with ease with our conversational AI optimization solution.

Cognigy logo

One particularly useful feature which straddles both the flow and intent components of a Cognigy chatbot, is the ability to create and utilize “intent hierarchies,” which we will describe in this blog.

Designing Intents with Hierarchies

For this demonstration, we’ll be building upon the example HR Services chatbot that Cognigy provide themselves for demo purposes, and adding a new intent called Benefits, which handles questions about workplace perks and other employee benefits.

You may start with a single Benefits intent that handles both general questions about workplace benefits, for example, “what workplace benefits am I entitled to?” But as you scale up your bot and allow it to carry out more advanced tasks for users, you could end up with a wide array of increasingly specific subjects, and the Benefits intent growing large and varied in its training data. For example, the following questions could all be considered part of a Benefits intent, but also have their own distinct subject within that theme:

  • “Can I sign up for employee health insurance?”
  • “Buying a bicycle with my salary”
  • “Are there wage sacrifice options to help cover childcare costs?”

The chatbot builders could end up needing to use several entities (“Lexicons” in Cognigy’s case) within that one intent just to help direct the users down many different fulfilment paths. The volume of training data could also grow very large just for this specific intent.

This isn’t just difficult for chatbot builders to manage for an administrative point of view; oversized intents can cause an imbalance in NLU classification, with the large numbers of “noise” words/phrases in the training data (like “the,” “I,” “Can you,” etc.) resulting in large intents becoming more likely to trigger false positives. So, utterances meant to go to other intents could end up being incorrectly classified to Benefits instead.

 It is already standard chatbot-building practice to recommend breaking down large intents with broad subject matter intents into sub-intents. You can use Cognigy’s intent hierarchies system to do this explicitly for up to 3 levels within your intent structure—see fig. 1.

Hierarchial Benefits intent showing sublevels for Family, Health, Holiday, Other

Figure 1: A level 1 Benefits intent broken down into level 2 Family, Health, Holiday, Other and several level 3 sub-categories

If desired, you can simply use the intent hierarchy for logical structuring, then you can make all intent levels active in the required flows and stop there. However intent hierarchies become particularly powerful when you add the “Inherit Example Sentences from Child Intents” feature, shown in fig. 2.

Benefits-Health level 2 intent with training data and enabled inheriting from child intents

Figure 2: The Benefits-Health level 2 intent with its training data and inheriting from child intents enabled

By enabling “Inherit Example Sentences from Child Intents” on the Benefits and Benefits-Health intents, all training data in the level 3 -Cycle, -Gym and -Insurance sub-intents will be considered part of the larger Benefits-Health intent, and in turn all level 2 intents (-Family, -Health, etc.) will be considered part of the umbrella Benefits intent as well.

You can also set your intent lookups in a Cognigy flow to only search for intents down to a certain level. A handy way to utilize this is with finding what broad subject a user needs help with, and then moving them to an appropriate flow to narrow down the details. 

Using Intent Levels to Control Conversation Flow

Perhaps a user has a question about their employee health benefits. When they’re in the starter flow, you can set the intent lookup node to only operate at level 1, meaning the bot will only return the Benefits super-intent, and then, regardless of whether the user asked about health benefits, vouchers or a more general query under the “Benefits” subject, they will be directed to the separate “Benefits” flow. That way you don’t need to have lookups for every single sub-intent in the start flow—see figs. 3 & 4. 

Node edit diagram showing limitation on intent lookup node to only search level 1 intents

Figure 3: Declaring an intent lookup node should only search down to level 1 intent hierarchies – so only Benefits could be selected in this case.

 

Resulting bot interaction and json showing level 1 intents

Figure 4: The resulting bot interaction and the returned intent only showing level 1 in the response json

 Then, once the user is in the “Benefits” flow, the intent lookup node can instead be set to levels 2 or 3, allowing the user to ask more specific questions about health benefits, or even specific types of health-related benefits, if up to level 3 is enabled, see fig. 5.

Subsequent bot interaction and json with returned intent showing up to level 3

Figure 5: The subsequent bot interaction and the returned intent showing up to level 3 in the response json 

In Conclusion

Flows in Cognigy are best used for directing users on journeys where you filter down to their needs to put them on the correct path to fulfilment or the information they need. Intent hierarchies are very useful for this approach, allowing you to define both a broad subject matter, and more specific subjects within them. Still, it should be noted there remains a risk of confusion between higher-level and lower-level intents if their training data is very similar, and for that reason you should make sure to thoroughly test a variety of utterances on each flow and level-configuration that your hierarchical intents are used in.

QBox is now available to test your Cognigy chatbot models, allowing you to analyze your training data and help make improvements to performance. 

Read more about: Chatbots, Conversational AI Testing, Natural language processing (NLP), QBox

Related Posts

conversational AI testing

March 26, 2026

The Top 5 Conversational AI Testing Trends Every CX Leader Should Watch

As AI-powered CX continues to evolve, CX and business leaders must keep these five trends in mind to deliver seamless, reliable interactions.

Topics: Agentic AI, AI chatbot testing, AI governance, AI-Powered CX, Artificial intelligence (AI), Conversational AI, Conversational AI Testing

conversational AI governance

November 13, 2025

Conversational AI Governance for CX: Ensuring Compliance, Bias Mitigation & Reliability

AI-powered CX channels handle millions of interactions every day. Deliver accurate and reliable CX with conversational AI governance.

Topics: Artificial intelligence (AI), Conversational AI, Conversational AI Testing, Customer experience (CX)

AI CX dealbreakers

November 12, 2025

New Survey Data: The AI Dealbreakers Making Consumers Ghost

As customer expectations and Agentic AI technology evolves, you must avoid dealbreakers and deliver quality interactions for best results.

Topics: Agentic AI, Artificial intelligence (AI), Conversational AI, Conversational AI Testing, Customer experience (CX)

Footer

Cyara
Leader Enterprise Best Est. ROI Enterprise Easiest To Use Enterprise
  • LinkedIn
  • YouTube
  • Products
    • Cyara Agentic Platform
    • Validation
      • Botium
      • Voice Assure
      • testRTC
    • Readiness
      • Velocity
      • Cruncher
      • testRTC
    • Observability
      • AI Trust
      • Pulse 360
      • Pulse
      • Number Trust
      • ResolveAX
  • Resources
    • CX Assurance Blog
    • Events & upcoming webinars
    • On-demand webinars
    • Customer success showcase
    • Resource library
  • Company
    • About us
    • Leadership
    • Careers
    • Press releases
    • Media coverage
    • Cyara awards
    • Partners
    • Legal
  • Support
    • Cyara Academy
    • Support sites

Copyright © 2006–2026 Cyara® Inc. The Cyara logo, names and marks associated with Cyara’s products and services are trademarks of Cyara. All rights reserved. Privacy Statement