> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chamelio.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Template Management

> The Templates page is where you can manage and edit your agreement templates, which will be used for drafting and generation of new agreements, amendments, and more, by using Chamelio's Agent, Flows, and more.

The Template Management system in Chamelio is your centralized hub for creating, organizing, and maintaining agreement templates that power your document generation and drafting workflows.

## Video Walkthrough

<Frame>
  <iframe src="https://www.loom.com/embed/3cf4e0aaf4354548ad16f8c1d298aa77" width="100%" height="400" frameborder="0" allowfullscreen />
</Frame>

## Overview

The Templates page serves as the command center for all your legal document templates. These templates form the foundation for:

* **New agreement drafting** through Chamelio's Agent
* **Document generation** via automated Flows
* **Standardized amendments** and modifications
* **Consistent document formatting** across your organization

<Card title="Template-Powered Features" icon="gear">
  Your templates integrate seamlessly with Chamelio's AI-powered tools to streamline document creation and ensure consistency across all your legal work.
</Card>

## Template Management Features

<CardGroup cols={2}>
  <Card title="Template Library" icon="books">
    Centralized repository for all your organization's agreement templates
  </Card>

  <Card title="Version Control" icon="code-branch">
    Track template changes and maintain version history
  </Card>
</CardGroup>

## Working with Templates

### Template Creation and Editing

Templates in Chamelio are designed to be flexible and powerful:

* **Rich text formatting** with legal-specific styling options
* **Variable placeholders** for dynamic content insertion
* **Conditional sections** that appear based on specific criteria
* **Standard clauses** that can be reused across multiple templates

<Info>
  Templates support both manual editing and AI-assisted content generation to help you create comprehensive, legally sound documents.
</Info>

### Template Categories

Organize your templates by type and use case:

<Tabs>
  <Tab title="Contract Types">
    **Agreement Templates**

    * Master Service Agreements (MSAs)
    * Non-Disclosure Agreements (NDAs)
    * Employment Contracts
    * Vendor Agreements
    * Partnership Agreements
  </Tab>

  <Tab title="Document Sections">
    **Clause Libraries**

    * Standard terms and conditions
    * Liability and indemnification clauses
    * Payment and billing terms
    * Termination and renewal provisions
    * Governing law and jurisdiction
  </Tab>

  <Tab title="Amendments">
    **Modification Templates**

    * Contract extensions
    * Pricing updates
    * Scope modifications
    * Party changes
    * Terms revisions
  </Tab>
</Tabs>

## Adding Placeholders Video Walkthrough

<Frame>
  <iframe src="https://www.loom.com/embed/1bc4a7d077cb4bca90872f22a97deb6c" width="100%" height="400" frameborder="0" allowfullscreen />
</Frame>

## Template-Based Workflows

### Drafting with Templates

<Steps>
  <Step title="Select Template">
    Choose the appropriate template from your organization's library
  </Step>

  <Step title="Configure Variables">
    Fill in template variables such as:

    * Party names and details
    * Financial terms
    * Dates and deadlines
    * Specific terms and conditions
  </Step>

  <Step title="AI Enhancement">
    Use Chamelio's Agent to:

    * Suggest improvements
    * Add relevant clauses
    * Ensure compliance
    * Optimize language
  </Step>

  <Step title="Generate Document">
    Create the final document ready for review and execution
  </Step>
</Steps>

## Drafting from a Template Video Walkthrough

<Frame>
  <iframe src="https://www.loom.com/embed/36d427294b1c403eb31dd14124e79b36" width="100%" height="400" frameborder="0" allowfullscreen />
</Frame>

### Template Comparison

<Warning>
  Template comparison features help ensure consistency and identify deviations from your standard terms.
</Warning>

Compare existing agreements against your templates to:

* **Identify variations** from standard terms
* **Highlight missing clauses** that should be included
* **Assess risk levels** of non-standard provisions
* **Recommend standardizations** to improve consistency

## Comparing to a Template Video Walkthrough

<Frame>
  <iframe src="https://www.loom.com/embed/ea5898050d2246109e663f8d249096a9" width="100%" height="400" frameborder="0" allowfullscreen />
</Frame>

## Integration with Chamelio Features

### Agent Integration

Templates work seamlessly with Chamelio's AI Agent for:

* **Intelligent drafting** based on template structures
* **Real-time suggestions** for template improvements
* **Automated clause selection** based on document context
* **Compliance checking** against organizational standards

### Automation and Flows

<CardGroup cols={2}>
  <Card title="Automated Generation" icon="robot">
    Create documents automatically using templates and predefined data
  </Card>

  <Card title="Workflow Triggers" icon="play">
    Initiate template-based document creation through automated workflows
  </Card>
</CardGroup>

## Best Practices

<Tip>
  Regularly review and update your templates to ensure they reflect current legal requirements and business needs.
</Tip>

### Template Maintenance

* **Regular reviews** to ensure legal accuracy and relevance
* **Version updates** when laws or business requirements change
* **Usage analytics** to identify popular and underutilized templates
* **Feedback incorporation** from legal team and end users

### Organization and Access

* Use **clear naming conventions** for easy template identification
* Implement **appropriate access controls** based on user roles
* Create **template categories** that match your business structure
* Maintain **documentation** for complex or specialized templates

## Related Features

<CardGroup cols={2}>
  <Card title="Agent" icon="robot" href="/features/core/agent">
    AI-powered document drafting and analysis using your templates
  </Card>

  <Card title="Collections" icon="folder-open" href="/features/core/collections">
    Organize documents created from your templates
  </Card>

  <Card title="Knowledge Center" icon="database" href="/features/core/knowledge-center">
    Extract data from template-based documents
  </Card>

  <Card title="Automations" icon="gear" href="/features/core/automations">
    Automate template-based document workflows
  </Card>
</CardGroup>
