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

# Flow Exemplars

> Provide example flows the AI can use when generating new flows.

**AI Flow → Flow Exemplars** contains example flows that help the AI generate better automations.

While the [Node Catalog](/pa/ai-node-catalog) explains what each **individual node** does, an exemplar shows what a **complete flow** should look like.

When generating a flow, the AI selects an exemplar that closely matches the tenant's request and uses it as a reference.

<Note>
  An exemplar is a **teaching example, not a template**. The AI creates a new flow based on the example. Tenants cannot see or select exemplars.
</Note>

## Exemplar list

<Frame caption="The AI Flow Exemplars list, with each exemplar's flow type, source and status">
  <img src="https://mintcdn.com/reseller-docs/N3dwUQXnwHM07XTT/images/pa/ai-exemplars-list.png?fit=max&auto=format&n=N3dwUQXnwHM07XTT&q=85&s=fc37f405b26b9a9cd41a407a33bcc2e9" alt="The AI Flow Exemplars list, with each exemplar's flow type, source and status" width="1632" height="569" data-path="images/pa/ai-exemplars-list.png" />
</Frame>

| Column        | Description                                                      |
| ------------- | ---------------------------------------------------------------- |
| **Name**      | Name of the exemplar.                                            |
| **Flow Type** | Type of flow it demonstrates.                                    |
| **Source**    | Whether it was added manually or created from a real generation. |
| **Nodes**     | Number of nodes in the flow.                                     |
| **Status**    | Whether the AI can use the exemplar.                             |

<Tip>
  An inactive exemplar remains in the list but is not used by the AI.
</Tip>

## Add an exemplar

Click **Add Exemplar** and enter the following details.

<Frame caption="The Add Exemplar panel, with the flow type, description and graph JSON">
  <img src="https://mintcdn.com/reseller-docs/N3dwUQXnwHM07XTT/images/pa/ai-add-exemplar.png?fit=max&auto=format&n=N3dwUQXnwHM07XTT&q=85&s=d527f443037a75c9e8158d0357eab370" alt="The Add Exemplar panel, with the flow type, description and graph JSON" width="645" height="695" data-path="images/pa/ai-add-exemplar.png" />
</Frame>

| Field           | Description                                      |
| --------------- | ------------------------------------------------ |
| **Name**        | Name of the exemplar, such as `Lead capture`.    |
| **Slug**        | Unique identifier, such as `lead-capture`.       |
| **Flow Type**   | Type of flow the example demonstrates.           |
| **Description** | Requirement or use case that the flow addresses. |
| **Sort Order**  | Position of the exemplar in the list.            |
| **Graph JSON**  | Flow structure containing `nodes` and `edges`.   |

<Info>
  **Description** is used by the AI to match tenant requests with exemplars. Describe the requirement the flow solves, such as "Book and confirm an appointment, then remind the tenant the day before."
</Info>

<Note>
  **Graph JSON** must contain both `nodes` and `edges` arrays and pass validation. The easiest way to create valid JSON is to build the flow in the automation builder and copy its structure.
</Note>

## Best practices

| Practice                         | Why                                                                          |
| -------------------------------- | ---------------------------------------------------------------------------- |
| **Use production-quality flows** | Create exemplars you would actually use in production.                       |
| **Cover different use cases**    | Match the types of flows your tenants commonly request.                      |
| **Avoid near-duplicates**        | Do not add many similar examples.                                            |
| **Fewer, stronger examples**     | A few strong and different exemplars are more useful than many similar ones. |
