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

# AI auto-generation

> Set rules so WritePilot automatically generates content for new products, bundles and collections as they appear in your store.

The AI auto-generation section allows you to automatically generate content for products, bundles and collections as they appear in your store.

Once your rules are set up, content will be generated automatically - no additional action is required on your part.

## Create automation

**1. Open AI auto-generation**

Open the **AI auto-generation** page from the sidebar.

**2. Click Create**

![AI auto-generation](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-gpt-1150-auto-grid.png)

**3. Configure the automation**

Configure the automation in three steps, described below.

### Step 1: Select entity

1. Choose the entity type for automatic generation:
   * Product
   * Collection
   * Bundle
2. Then select the fields that should be generated automatically:
   * Title (available for products and bundles) - regenerates the existing product title
   * Description
   * SEO Title
   * SEO Description
   * Alt Text

![Select entity](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-gpt-1150-step1.png)

3. Click **Next** to continue to the next step.

### Step 2: Configure settings

![Configure Settings](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-gpt-1150-step2.png)

1. Configure the generation settings for the automation:
   * **Rule name** - internal name of the automation
   * **Prompt** - instructions used for AI generation
   * **Length**
   * **Tone**
   * **Top-P**
   * **Language**
   * **Format**
2. Click **Next** to continue to the next step.

### Step 3: Additional fields

![Additional Fields](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-gpt-1150-step3.png)

1. Specify additional details AI should consider for content generation:

   * **Type** (available for products, bundles) - if enabled, the product's type will be considered by AI during content generation.
   * **Category** (available for products, bundles) - if enabled, the product's category will be shared with AI as context for content generation.
   * **Additional information** - add any extra details you want AI to consider.
   * **Include variants** (available for products, bundles) - include product variants in the generated content.
   * **Keywords** - reusable keywords applied to all generated content.
   * **Do not overwrite existing content** - enable this option if you want to keep manually entered content unchanged. When enabled:
     * AI generates content only for empty selected fields.
     * Existing manually added content is preserved.
     * Credits are not charged for skipped fields.

   **Example:** If description and SEO fields are selected for generation:

   * Product A already contains a description: only SEO fields are generated.
   * Product B has no description: description and SEO fields are generated.
2. Click **Done** to create the automation.

> [!NOTE]
>
> Content is generated and published the moment you save a new product or post - no manual approval is required.

## Automation details

After creating an automation, you're redirected to the **Automation Details** page, where you can review and edit its settings if needed.

![Automation Details](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-gpt-1150-overview.png)

In the **Generations** tab, you'll find the history of all content created by the automation rule. You can filter the content and restore previous versions with a single click.

![Automation generations grid](https://guide.amasty.com/media/.renditions/wysiwyg/Shopify_ChatGPT/sf-gpt-1150-Generations.png)

> [!NOTE]
>
> If you have multiple active rules for the same entity type (e.g., two rules for "Products"), the system will always prioritize and apply the most recently created rule.

When a product, bundle or collection is created:

* AI automatically generates the selected fields.
* Generated content is published immediately.
* No additional confirmation is required.

> [!NOTE]
>
> Text content generation costs 1 credit per field.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.