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

# AI Template Generator

> Generate professional Google Doc templates from a text description using AI

<Info>
  This feature is currently in **Beta**. We'd love your feedback — use the feedback button in the AI editor to share your thoughts.
</Info>

The AI Template Generator creates professional Google Doc templates from natural language descriptions. Instead of manually building templates, describe what you need and AI generates a fully-formatted, ready-to-use template with the correct DocsAutomator placeholder syntax.

<iframe width="100%" height="400" src="https://www.youtube.com/embed/TUC8OSFlpJ8" title="AI Template Generator for Google Docs" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## How It Works

<Steps>
  <Step title="Select Generate with AI">
    When creating or editing an automation, open the **Template** tab. With Google Docs selected as your document type, you'll see four options for setting up your template. Select **Generate with AI**.

    <Frame>
      <img src="https://mintcdn.com/docsautomator/UhCfa8_XGpHOnk_5/images/ai-template-generator/template-design-step.png?fit=max&auto=format&n=UhCfa8_XGpHOnk_5&q=85&s=d2ec2ffee4cd63c81bb9d540c30229f4" alt="Template / Document Design step showing the Generate with AI option" width="1760" height="1158" data-path="images/ai-template-generator/template-design-step.png" />
    </Frame>
  </Step>

  <Step title="Describe your template">
    Write a description of the template you need. For example: "Professional invoice with company logo, billing details, line items table, tax summary, and payment terms." You can also click one of the example prompts to get started quickly.

    Optionally, set a **document title**, upload your **logo** (brand colors are extracted automatically), and pick a **color theme**.

    <Frame>
      <img src="https://mintcdn.com/docsautomator/UhCfa8_XGpHOnk_5/images/ai-template-generator/ai-generator-dialog.png?fit=max&auto=format&n=UhCfa8_XGpHOnk_5&q=85&s=c12157bb3b701d79e934b51747959611" alt="AI Template Generator dialog with description, document title, logo upload, and color theme options" width="2880" height="1566" data-path="images/ai-template-generator/ai-generator-dialog.png" />
    </Frame>
  </Step>

  <Step title="Generate">
    Click **Generate Template**. AI creates a complete Google Doc template with proper placeholder syntax, formatting, and layout.
  </Step>

  <Step title="Refine with AI chat">
    After generation, use the chat editor to make changes. Send instructions like "Make the header blue", "Add a footer with page numbers", or "Add an e-signature block for two signers". Each edit updates the template in real time.
  </Step>

  <Step title="Done">
    Click **Done Editing** to save the template and continue setting up your automation.
  </Step>
</Steps>

## Features

### Logo & Brand Colors

Upload your company logo and AI automatically extracts the dominant colors to apply consistent branding throughout the template.

### Color Themes

Choose a color theme for your template:

| Color Theme  | Best for                                         |
| ------------ | ------------------------------------------------ |
| Professional | Business documents, invoices, contracts          |
| Modern       | Clean, contemporary designs with teal tones      |
| Classic      | Traditional documents with neutral, warm accents |
| Creative     | Bold, vibrant designs with purple accents        |
| Minimal      | Simple black and gray palette                    |

### AI Chat Editor

After generating your template, refine it with natural language instructions:

* Change colors, fonts, and layout
* Add or remove sections
* Insert placeholder fields, line items, or e-signature blocks
* Upload additional images to include in the template

### Undo

Made a change you don't like? Click **Undo** in the chat editor to revert to the previous version.

## Tips

* **Be specific**: The more detail you provide in your description, the better the result. Mention specific sections, fields, and formatting preferences.
* **Include field names**: If you know what data fields you'll be mapping, mention them in the prompt. For example, "include fields for client\_name, invoice\_number, and due\_date."
* **Iterate with chat**: Don't try to get everything perfect in the first prompt. Generate a base template, then refine it with follow-up instructions.
* **Upload your logo first**: This helps AI apply your brand colors from the start rather than having to restyle later.
