Master this essential documentation concept
User-defined logic that determines how users are directed to specific knowledge bases based on multiple conditions such as email, group membership, or custom attributes.
Custom Routing Rules represent a sophisticated approach to knowledge management that goes beyond one-size-fits-all documentation delivery. By implementing conditional logic, organizations can create intelligent pathways that guide different user segments to documentation specifically curated for their needs, roles, or organizational context.
A SaaS platform serves multiple enterprise clients with different feature sets, customizations, and terminology. Without routing rules, users from different organizations see irrelevant documentation and become confused about available features.
Implement Custom Routing Rules based on organization/tenant ID stored as a custom attribute. Each tenant's users automatically receive documentation specific to their subscription tier and enabled features.
['1. Identify unique tenant identifiers in user profiles (company ID, domain, custom tenant field)', '2. Create routing rules mapping each tenant to their corresponding knowledge base or documentation variant', '3. Configure rules to check tenant attribute first, before applying secondary rules', '4. Test routing with sample users from each tenant', '5. Set up automated tenant onboarding to create rules for new clients', '6. Monitor routing analytics to ensure correct tenant assignment']
Users see only relevant documentation for their organization, reducing confusion and support requests. New tenants are automatically routed correctly, eliminating manual configuration overhead.
A company has product managers, engineers, customer success teams, and executives who all need documentation but require different information depth, focus areas, and terminology. A single knowledge base overwhelms non-technical users while lacking sufficient detail for engineers.
Create Custom Routing Rules based on AD/LDAP group membership that direct users to role-specific documentation bases. Engineers access technical architecture docs while CS teams access troubleshooting guides.
['1. Map organizational groups to documentation segments (Product, Engineering, CS, Executive)', '2. Create routing rules evaluating group membership from your directory system', "3. Build documentation bases tailored to each role's needs and skill level", '4. Use group membership as the primary routing condition with fallback rules', '5. Establish documentation review cycles with representatives from each role', '6. Track engagement metrics by role to optimize content for each audience']
Each role receives documentation pitched at appropriate technical depth. Documentation adoption increases as users find relevant, actionable information. Support teams receive fewer basic questions.
A global organization operates in regions with different regulatory requirements, languages, and compliance standards. Users need documentation that reflects their regional legal requirements and preferred language, but managing completely separate documentation systems is costly.
Implement Custom Routing Rules based on user location (country/region attribute) and language preference to route users to region-specific documentation variants that include localized compliance information.
['1. Add location and language preference fields to user profiles', '2. Create documentation variants for each region with localized compliance sections', '3. Build routing rules with primary condition for region, secondary for language', '4. Integrate with SSO to automatically populate location from employee directory', '5. Create a fallback rule for users in unspecified regions', '6. Establish quarterly reviews to update compliance information in each variant']
Users automatically receive documentation compliant with their regional regulations. Localization efforts are centralized and efficient. Legal and compliance teams can verify region-specific content without managing separate systems.
The company releases features in stages—beta for early adopters, then general availability. Documentation must reflect which features each user can access, but managing multiple documentation versions is complex and error-prone.
Use Custom Routing Rules with a 'beta_access' boolean attribute to route beta users to documentation including unreleased features while standard users see only GA documentation.
['1. Create a beta_access custom attribute in user profiles', '2. Build two documentation bases: one with beta features, one with GA-only', '3. Create a routing rule: if beta_access = true, route to beta KB; else route to GA KB', '4. Establish process for adding users to beta program and updating their attribute', '5. Set documentation publishing schedule aligned with beta phases', '6. Use feature flags in documentation to maintain single-source content with conditional rendering']
Beta users see complete feature documentation immediately upon access. GA users never see unreleased features. Documentation stays synchronized with actual feature availability, reducing confusion.
Custom Routing Rules are evaluated in order, so rule sequence matters significantly. Establish a clear priority system where more specific rules execute before general rules. Document the reasoning behind your rule order to help future maintainers understand the logic.
Rather than manually maintaining custom user attributes, integrate Custom Routing Rules with your existing directory systems (Active Directory, LDAP, Okta) or Single Sign-On providers. This ensures rules always reflect current organizational structure and reduces manual maintenance burden.
Incorrect routing rules silently direct users to wrong documentation, creating frustration and support burden. Implement comprehensive testing including rule preview features, test user accounts, and analytics validation before deploying rules to your entire user base.
Custom Routing Rules represent critical business logic affecting user experience. Maintain detailed documentation of why each rule exists, what conditions it checks, and which users it affects. Enable audit logging to track rule changes and troubleshoot routing issues.
Custom Routing Rules should improve user experience, but this requires ongoing monitoring. Track metrics like which rules route users, how many users fall into each routing category, and whether documentation engagement differs by routing path. Use this data to refine rules and improve documentation.
Join thousands of teams creating outstanding documentation
Book a Demo