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

# Generate prompts with AI

> Generate a complete prompt set or add questions to one Prompt Matrix intersection, then review what will be added to your library.

Use **Generate with AI** when you want Onsomble to draft customer questions from your prompt strategy. You choose the Products, Personas, journey stages, and regions that matter. Onsomble uses those choices to write the questions and organise them in your Prompt Library.

Before you begin, decide which customer situations you want to measure. [Build a prompt strategy](/prompts/prompt-strategy) explains how the four strategy dimensions and customer intent fit together.

## Choose what you want to generate

| Use | When to choose it |
| - | - |
| **Generate a complete prompt set** | You are starting a Prompt Library or want to reconsider its overall coverage. |
| **Generate for one Matrix intersection** | The wider set is sound, but one customer situation needs more coverage. |

## Generate a complete prompt set

<Steps>
  <Step title="Open Generate with AI">
    Open your Site, then select **Prompt Library** under **Scan Settings**.
    Select **Add Prompt**, then select **Generate with AI**.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--open-generate-menu.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=e4a51ec2ae30f867fa09027670fff84d" alt="Prompt Library with the Add Prompt menu open and Generate with AI available" width="1280" height="800" data-path="images/prompts/generate-prompts-with-ai--open-generate-menu.png" />
    </Frame>
  </Step>

  <Step title="Choose the Products">
    Review the products and services Onsomble suggests from your Site profile.
    Keep the commercially important Products, remove irrelevant suggestions,
    and add anything missing.

    Use the category a customer would recognise, such as "Running shoes", rather
    than an internal stock code or plan identifier.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=7df8c0711eb7204d9983fbacda7b8040" alt="Products step with suggested products that can be removed or supplemented before generation" width="1000" height="800" data-path="images/prompts/generate-prompts-with-ai.png" />
    </Frame>
  </Step>

  <Step title="Confirm the Personas">
    Review the suggested Personas. Each Persona should represent a customer with
    a meaningfully different need, constraint, or decision.

    Add or remove Personas until the list reflects the audiences you want the
    prompt set to measure.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--personas.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=ec4b23eb4a4c48f6df3f711b345df6bb" alt="Personas step with the customer groups that will shape the generated questions" width="1000" height="800" data-path="images/prompts/generate-prompts-with-ai--personas.png" />
    </Frame>
  </Step>

  <Step title="Select the journey stages">
    Choose the stages you want to include in this generation run. Onsomble only
    generates for the stages you select.

    You do not need to select every stage. Use the stages that support your
    measurement objective.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--journey-stages.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=6168a52be0fd33e26be7f81ed904c776" alt="Journey stages step with Problem discovery and Product comparison selected" width="1000" height="800" data-path="images/prompts/generate-prompts-with-ai--journey-stages.png" />
    </Frame>
  </Step>

  <Step title="Choose the regions">
    Choose whether the prompts apply globally or to specific markets. Select
    specific regions when location may change the available options, customer
    context, or AI-assistant response.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--regions.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=ac208e5be2b6208c82c6a2d3be9c82c9" alt="Regions step with specific target markets selected before generation" width="1000" height="800" data-path="images/prompts/generate-prompts-with-ai--regions.png" />
    </Frame>

    <Note>
      Selecting a region attaches that market to the generated prompts. It does
      not force the region name into every question. The wording names a
      location only when it is natural and useful to the customer question.
    </Note>
  </Step>

  <Step title="Generate the prompts">
    Select **Generate prompts**. The progress display changes as Onsomble uses
    your selected strategy and drafts the questions.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--generation-progress.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=9ebfee05f287b0f7fab4b8b5dea18e96" alt="Generation progress showing that Onsomble is creating the prompt set from the confirmed strategy" width="1000" height="800" data-path="images/prompts/generate-prompts-with-ai--generation-progress.png" />
    </Frame>
  </Step>
</Steps>

## Review what was generated

If the Prompt Library is empty, the generated set is added when generation finishes.

If prompts already exist, the **Add generated prompts?** dialog opens before the library changes.

<Frame>
  <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--review-generated-prompts.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=a94a198190f4338007497f5a13a4691f" alt="Add generated prompts dialog with generated questions, selection controls, and add or replace actions" width="1000" height="800" data-path="images/prompts/generate-prompts-with-ai--review-generated-prompts.png" />
</Frame>

You can:

* select one or more questions, then add only the selected prompts;
* leave every checkbox clear to add every generated prompt; or
* select **Replace all existing prompts** to replace the current library with the generated set.

<Warning>
  Replacing the existing set removes the current prompts from the library. If
  those prompts have scan history you want to keep interpretable, add the new
  prompts and deactivate the older ones instead.
</Warning>

Generated prompts include a category and the available strategy details used to organise them, such as Products, Personas, journey stages, tags, and regions. Review the wording and coverage before your next scan.

When the run is complete, the added questions appear in List view. They also appear in Matrix view when their Persona and column details match an intersection.

<Note>
  If generation reports that some selected journey stages were not represented,
  review the returned questions before adding them. Adjust the selected stages
  or other strategy details and generate again if the set does not cover what
  you intended.
</Note>

## Generate prompts for one matrix intersection

Use cell-level generation when the wider prompt set is sound but one customer situation needs more coverage.

<Steps>
  <Step title="Open the intersection">
    Open **Prompt Library**. In the two-icon view switch beside **Search
    prompts**, select the grid icon labelled **Matrix view**, then select the
    cell you want to work on. The dialog header shows the Persona and the column
    value fixed by that intersection.

    See [Switch to Matrix view](/prompts/review-prompt-coverage#switch-to-matrix-view)
    for a visual guide to the control.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--cell-generation-choice.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=fb6a64518ec805cbdd2c64e35fbce3d8" alt="Matrix intersection dialog with Generate prompts with AI and Write your own prompts options" width="896" height="820" data-path="images/prompts/generate-prompts-with-ai--cell-generation-choice.png" />
    </Frame>
  </Step>

  <Step title="Choose Generate prompts with AI">
    Select **Generate prompts with AI**. Add a **Direction** if you want the
    questions to emphasise a particular issue or customer situation.

    Use **Narrow the focus** to choose any relevant dimensions that are not
    already fixed by the cell, such as a Product, journey stage, or regions.

    Your selections guide the wording and are saved on any prompts you add.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--cell-generation-setup.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=0198a20775fed1ab27515eac1d1fd5ef" alt="Cell generation form with an optional Direction and controls for the dimensions not fixed by the intersection" width="896" height="820" data-path="images/prompts/generate-prompts-with-ai--cell-generation-setup.png" />
    </Frame>
  </Step>

  <Step title="Review and add the drafts">
    Select **Draft prompts**. Review the questions and their categories, clear
    any you do not want, then select **Add selected**. Select **Adjust** to
    change the direction or scope, or **Regenerate** to request another set.

    <Frame>
      <img src="https://mintcdn.com/onsombleai/VqZAXFHDCLfWtACs/images/prompts/generate-prompts-with-ai--cell-generation-review.png?fit=max&auto=format&n=VqZAXFHDCLfWtACs&q=85&s=76b2b04ff31bc26459780a3dc487d26a" alt="Cell draft review with selected questions and Adjust, Regenerate, and Add selected controls" width="896" height="820" data-path="images/prompts/generate-prompts-with-ai--cell-generation-review.png" />
    </Frame>
  </Step>
</Steps>

The new prompts appear in the selected intersection and in List view. Their
Persona and the column value represented by the cell are applied automatically.

## If generation stops

* If the full-set generator shows an error, select **Generate again**.
* If cell generation shows an error, review your Direction and scope, then select **Draft prompts** again.
* If the generated questions are not useful, change the strategy details or Direction before generating another set.
* If generation is still running, wait for the review or completion state before starting another run.

## What's next

<CardGroup cols={2}>
  <Card title="Write your own prompts" icon="pencil-line" href="/prompts/write-your-own-prompts">
    Add a precisely worded question and attach its coverage details yourself.
  </Card>

  <Card title="Review prompt coverage" icon="table-cells" href="/prompts/review-prompt-coverage">
    Check whether the generated set covers the customer situations that matter.
  </Card>
</CardGroup>


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