> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/pages/use-cases.md).

# Use cases

Explore real-world operational blueprints for company wikis, AI-accelerated multilingual content pipelines, collaborative product specifications, and live RAG knowledge bases for autonomous AI agents.

## Enterprise Company Wiki & Standard Operating Procedures (SOPs)

Fast-growing organizations use Diaflow Pages to centralize institutional knowledge, streamline employee onboarding, and establish audit-ready standard operating procedures (SOPs).

### Operational Architecture

* **Departmental Folder Hierarchy**: Organize documentation into root-level and sub-folders (e.g., `Company Handbook`, `Information Security (ISMS)`, `Customer Support Runbooks`).
* **Navigational Clarity with Dynamic Blocks**: Long-form procedures leverage **Collapsible Blocks** to tuck away complex edge-case protocols, paired with an **Auto-Generated Table of Contents** that dynamically updates as sections evolve.
* **Branded Visual Cohesion**: Administrators enforce consistent visual identity by selecting high-resolution header banners from the **Admin Cover Gallery** (curated assets up to 10 MB) and assigning distinct emoji or custom icons to each department.

### Audit & Compliance Workflow

1. **Document Drafting**: Policy owners draft procedural guidelines using structured headings, callout boxes for critical warnings, and embedded checklist items.
2. **Review & Cross-Departmental Sign-Off**: Legal, HR, and Operations teams conduct asynchronous reviews using **Inline Comments** anchored directly to specific clauses. Reviewers attach compliance certificates or policy addendums (up to 25 MB per attachment).
3. **Thread Resolution**: Once clauses are ratified, reviewers resolve threads. If obsolete text is deleted, anchored threads auto-resolve automatically.
4. **Archive Protection**: Previous policy versions are moved to **Archive**, placing them into an immutable, read-only state that prevents inadvertent modifications while preserving complete audit histories.

***

## AI-Accelerated Multilingual Content Production

Marketing, localized sales, and content operations teams use Diaflow Pages to conceptualize, draft, illustrate, and localize marketing collateral at high velocity.

### End-to-End Production Cycle

1. **Ideation & Instant Drafting**: A content lead clicks **Write with AI** and enters a comprehensive prompt:

   > *"Draft an announcement blog post introducing Diaflow Tables and Pages, highlighting how no-code teams automate business logic with Action Cells and unified docs."* The generative engine produces a structured multi-section draft complete with value propositions, feature matrices, and key takeaways.
2. **In-Document Visual Synthesis**: Using the native **AI Image Generator**, the team creates custom visual assets directly on the page canvas:
   * Selects `16:9` landscape aspect ratio.
   * Prompts: *"Isometric digital workspace with interconnected glowing data tables and documents, dark slate and emerald tones."*
   * Enables **Search Grounding** to accurately capture modern cloud software design aesthetics.
3. **Inline Refinement & Tone Modulation**: The writer selects introductory passages to adjust voice using the floating inline AI toolbar—switching between *Executive*, *Professional*, and *Engaging* with one click.
4. **Global Localization (14 Languages)**: Using the built-in translation engine, the final document is instantly localized into Spanish, French, German, Japanese, and Vietnamese, retaining all tables, headings, code blocks, and hyperlinks without layout breakage.
5. **Multi-Channel Distribution**: The marketing team exports the final copy:
   * **Markdown (`.md`)**: Dispatched to web developers for static site publication.
   * **PDF (`.pdf`)**: Shared with executive leadership and external PR agencies for distribution.

***

## Product Specifications & Engineering PRDs

Product Managers and Engineering Leads use Diaflow Pages to author technical Product Requirement Documents (PRDs), align distributed development squads, and maintain live API contracts.

### Engineering-Grade Documentation Features

* **Rich Technical Blocks**: Document complex specifications using syntax-highlighted **Code Blocks** supporting 20+ programming languages, coupled with **LaTeX Math Blocks** for statistical and financial models.
* **Structured Data Tables**: Embed interactive tables directly within the specification to outline user stories, acceptance criteria, and edge-case test matrices.
* **Asynchronous Technical Triage**: Engineers leave contextual inline comments on specific architecture decisions. Discussions support code snippet replies and architecture diagrams (up to 25 MB per upload).
* **Author-Only Integrity**: To safeguard architectural decisions, comment threads and replies can only be edited or deleted by their original author, ensuring accountability across the engineering team.

### Personal Sidebar Priority

While the workspace folder structure remains standardized for the entire company, individual developers drag active sprint PRDs to the top of their **Personal Sidebar Order**, giving them instantaneous access to high-priority daily documents without disrupting team-wide navigation.

***

## Live Knowledge Base for Autonomous AI Support Agents (RAG)

Customer Success and Support organizations turn Diaflow Pages into the authoritative, live knowledge layer powering autonomous Diaflow AI Agents and Teammates.

### Step-by-Step RAG Grounding Pipeline

1. **Curate Authoritative Support Runbooks**: Support engineers author troubleshooting playbooks, product FAQ matrices, and billing procedures in a dedicated `Knowledge Base` folder.
2. **Export to Knowledge Base**: Once a procedure is verified, the author opens the **Export** menu and clicks **Export to Knowledge Base**:
   * Diaflow compiles the document behind the scenes into a standardized, high-density **PDF**.
   * The file is vectorized and indexed into the workspace vector database with semantic chunking and layout bounding boxes.
3. **Autonomous Grounding in Real Time**:
   * When a customer submits an inquiry, the autonomous AI Support Agent executes semantic vector search against the Knowledge Base.
   * The AI delivers answers that directly quote verified document sections and headings, providing 100% grounded responses with verifiable citations and zero hallucinations.
4. **Instant Zero-Downtime Updates**: When product behavior updates or bug workarounds change, the team simply edits the Page and clicks **Export to Knowledge Base** again. The vector index refreshes automatically, instantly updating all live AI agents.

***

## Automated Workflows & Flow Builder Integration

Combine Diaflow Pages with the **Diaflow Flow Builder** to automate document lifecycles and trigger actions based on page events.

### Automated Operational Patterns

* **Automated PDF Distribution**: Whenever an engineering spec or policy revision is finalized, an automated Flow renders a print-ready PDF and archives it into company Google Drive or OneDrive folders.
* **MCP Coding Agents & Teammate Integration**: Autonomous AI agents use Diaflow Pages MCP tool calls (`create`, `read`, `find`, `list`, `search`, `export`, `duplicate`) to automatically draft release notes directly from git commits, populate daily standup logs, or query internal SOPs during automated workflows.

***

### Next Steps

* [**Import & Export in Pages**:](/pages/import-and-export-in-pages.md) Master document migration across 12+ formats and automated RAG compilation.
* [**Working with Pages**:](/pages/working-with-pages.md) Review rich text block editing, folder navigation, and comment threads.
* [**Diaflow Tables**:](/tables/introduction-to-diaflow-tables.md) Pair dynamic documentation with structured, actionable data grids.
