> For the complete documentation index, see [llms.txt](https://boza.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://boza.gitbook.io/docs/inventory/dataflows/generate-and-review.md). Agents can also search and read this documentation through its [MCP server](https://boza.gitbook.io/docs/~gitbook/mcp).

# Generate and Review Flows with AI

Let Boza propose the data exchanges that likely exist between your approved applications, then confirm, complete, or reject each one. Nothing enters your inventory until you confirm it.

The work has three parts: generate the proposals, wait while Boza looks, and review what it found. To record flows another way, see [Import and export flows](https://boza.gitbook.io/docs/inventory/dataflows/import-and-export.md).

## Prerequisites

* **Role:** workspace Admin. Only Admins can open **Dataflows**, start a run, or decide on a proposal. Other roles cannot see proposals.
* **Approved applications:** at least 2 in the organization you choose. An application counts when it is tracked and marked **Approved**. Applications marked **Under Review** appear in **My Apps** but are not counted, and **Unapproved** applications are not read.
* **Recommended:** a [Data Inventory](https://boza.gitbook.io/docs/inventory/data.md) that links data types to applications, and a [Business Capability Map](https://boza.gitbook.io/docs/platform/mapping.md). Boza uses both to work out what moves between your applications.
* **Optional:** documents about your integrations, such as an export from your integration platform (iPaaS) or an existing inventory.

## What Boza Reads

| Source                         | What Boza uses                                                                                                                                                 |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Approved applications in scope | Name, category, business domains from your capability map, data types linked in your Data Inventory, and the number of people in scope who use the application |
| Your answers                   | What you enter for the two questions in the dialog                                                                                                             |
| Your documents                 | The name of each file and the text extracted from it                                                                                                           |
| Your inventory                 | Pairs of applications already linked by a flow, and pairs you rejected                                                                                         |

For the people using an application, Boza reads a count, not names.

Boza bases each proposal first on your answers and documents, then on business domains and data types. It skips a pair when nothing suggests that data moves between the two applications, so few proposals, or none, is a valid outcome. A reason can quote your own words.

{% hint style="info" %}
Boza sends this information, with the name of the organization you choose, to OpenAI to write the proposals. Boza reads your documents for the run and does not keep them. See [Data Privacy & GDPR](https://boza.gitbook.io/docs/settings-and-security/data-privacy-gdpr.md).
{% endhint %}

## What Boza Proposes

| Boza fills in                                                                                                                     | Boza leaves empty                                                                                          |
| --------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Source and destination applications, direction, data types, description, the reason for the proposal, and a confidence percentage | Criticality, owner, protocol, format, exchange frequency, exchange volume, port type, port, and encryption |

Boza fills in a server only when the application is linked to exactly one server in **Infrastructure**. Otherwise the server stays empty.

The reason and description are written in your workspace language, English or French, set under **Settings → General**.

Boza never proposes:

* A pair of applications already linked by a flow of any status, in either direction.
* A pair you rejected, in either direction.
* An application paired with itself, or an application outside the approved applications of the run.
* A flow with a server instead of an application at either end. Proposals are always between two applications.

Running Boza again only adds proposals. Those still waiting stay in place and their pairs are skipped. Each proposal carries the organization of its run.

## Limits

| Limit                 | Value                                                     |
| --------------------- | --------------------------------------------------------- |
| Approved applications | At least 2 in the chosen organization                     |
| Proposals             | 60 per run                                                |
| Documents             | 10 per run, 10 MB each                                    |
| Document formats      | PDF, DOCX, XLSX, PPTX, TXT, CSV, MD, JSON, XML, HTML, HTM |
| Document text         | 50,000 characters in total per run                        |
| Each answer           | 5,000 characters                                          |
| Runs                  | One at a time per workspace, across all Admins            |

A run stops at 60 proposals. Boza looks at 15 applications at a time and asks the AI for at most 8 proposals each time, so a run on a few dozen applications proposes far fewer than 60. To look further, start another run: Boza skips the pairs it has already proposed.

Boza reads text only. Image files are refused, and a scanned PDF or a diagram exported as an image-only PDF has no readable text, so it cannot be used. Text beyond 50,000 characters is ignored, with no message.

## Generate Proposals

1. In the sidebar, click **Inventory → Dataflows**.
2. Click **Generate with AI**. The **Generate flows with Boza AI** dialog opens at **Step 1 of 3 · Organization**.

   If your inventory has no flow yet, the same button is on the page's empty state. **Mapping → Flow mapping diagram** shows that empty state too, and its **Generate with AI** button opens this dialog on the Dataflows page.
3. Under **For which organization?**, select **Whole organization** or one organization. Each option shows its approved applications and people.
   * **Whole organization** covers every approved application.
   * A named organization covers the approved applications for which at least one of its members holds a license.
   * An option with too few applications cannot be selected and reads **Boza needs at least 2 approved applications**.
4. Click **Continue**.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-f8f84b3b9ebe921c65d89e2a2d0f97dfc3fdd7ef%2Fboza-dataflows-generate-step1.png?alt=media" alt="Generate flows with Boza AI dialog at step 1 of 3, asking For which organization, with Whole organization selected and one organization greyed out because Boza needs at least 2 approved applications."><figcaption></figcaption></figure>

5. Under **What should we know about your organization?**, answer the two questions. Both are optional, but your answers are what make the proposals specific to you.
   * **Describe what your organization does, in one sentence**.
   * **Which tool chains matter most to you?** One sentence per chain is enough, for example how invoicing moves from your CRM to accounting.
6. Optional: under **An export or a diagram to give us?**, drag in your documents or click the zone to browse. To remove a file, click the X on its row.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-06669ce8c1ca2d596e3954c09c4f102995ef0f99%2Fboza-dataflows-generate-step2.png?alt=media" alt="Generate flows with Boza AI dialog at step 2 of 3, with two answered questions about the organization and its tool chains and one attached CSV file in the document zone."><figcaption></figcaption></figure>

7. Click **Generate the proposals**.

The dialog closes and a progress banner appears on the Dataflows page.

To leave the dialog without starting, click **Cancel** on the first step, or **Close** (X icon) on either step. **Back** returns from the second step to the first. Pressing Escape or clicking outside the dialog does not close it.

### While Boza Works

The banner reads **Looking for the likely exchanges…**. **Applications analysed** moves in steps of 15 applications. Boza writes all its proposals together at the very end, so none appear during the run.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-38dfb8ff36567baad540e202274722db9c9dce18%2Fboza-dataflows-generate-progress.png?alt=media" alt="Dataflows page with a progress banner reading Looking for the likely exchanges, 15 of 26 applications analysed, a Notify me when it is ready button and a disabled Boza is looking button in the header."><figcaption></figcaption></figure>

You can keep working. The list, **Import a file**, and **Add a flow** stay available. **Generate with AI** is disabled until the run ends, and reads **Boza is looking…** once your inventory holds flows. If you leave the page, the run continues.

If another Admin's run is in progress when you click **Generate the proposals**, the dialog closes and the page follows that run. Your answers and documents are not used.

{% hint style="info" %}
**Notify me when it is ready** hides the banner. Boza then shows a message on the Dataflows page when the run ends. It does not send an email.
{% endhint %}

### How You Learn the Result

| Situation                                                        | What you see                                                                                                                                                                           |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| You stay on the Dataflows page                                   | The results screen replaces the list                                                                                                                                                   |
| You leave for another Boza page and come back, without reloading | The banner if the run continues, then the results screen                                                                                                                               |
| You clicked **Notify me when it is ready**                       | A message on the Dataflows page for a few seconds, with **See them** to open the results screen. If you miss it, the proposals wait in the list, and **Review N proposals** opens them |
| You are reviewing proposals when a run ends                      | The same message, and your review continues                                                                                                                                            |
| You reload, or open a new tab, while the run continues           | The banner returns, then the results screen                                                                                                                                            |
| You reload, or open a new tab, after the run ended               | No message and no results screen. Proposals wait in the list, and **Review N proposals** opens them                                                                                    |

## Review the Results

When the results screen appears, it reads **Boza proposed N flows for** the organization you chose. Each proposal shows its two applications, data types, the reason Boza proposes it, and the **Proposed** status. A **To complete:** line names which of criticality, owner, source server, and destination server are still empty.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-b6cc007e72912fd882977b081d199be17fe3c480%2Fboza-dataflows-proposals-ready.png?alt=media" alt="Card titled Boza proposed 5 flows for Whole organization, with Review later and Start reviewing buttons, a three-part guide to complete, confirm or reject, and a list of five proposed flows with their rationale."><figcaption></figcaption></figure>

* Click **Start reviewing** to go through the proposals of this run.
* Click **Review later** to return to the list. The proposals wait there, marked **Proposed**.

## Review Each Proposal

1. Click **Start reviewing**, or click **Review N proposals** on the Dataflows page. The button appears when at least one proposal is waiting. It counts AI proposals only, across the whole workspace, whichever organization the list shows. Imported flows are reviewed separately, as described in [Import and export flows](https://boza.gitbook.io/docs/inventory/dataflows/import-and-export.md).
2. On **Review the proposed flows**, read **Why Boza proposes it**. The confidence percentage is the AI's own estimate and appears when Boza returned one.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-3edca4ca088d55d5262704897ad013fa3b95d8ae%2Fboza-dataflows-review-card.png?alt=media" alt="Review the proposed flows screen showing proposal 5 of 5 at 86% confidence, with pre-filled fields marked, empty fields Boza cannot deduce, and Reject, Skip and Confirm this flow buttons."><figcaption></figcaption></figure>

3. On the **General** tab, check the fields marked **Pre-filled**: **Direction**, **Source application**, **Destination application**, **Data types exchanged**, **Description**, and **Organization** when the run covered a named organization. Every field can be edited. A field loses its **Pre-filled** mark once you change its value. **Source server** and **Destination server** carry no **Pre-filled** mark, even when Boza filled them in, so check those two fields as well.
4. Optional: fill in what Boza left empty. An empty **Source server**, **Destination server**, **Criticality**, or **Owner** reads **Boza cannot deduce this. Fill it in if you know it. The flow can be confirmed without it.**
5. Optional: click the **Advanced** tab to enter **Protocol**, **Format**, **Exchange frequency**, **Exchange volume**, **Port type**, **Port**, or **Encryption**. Boza leaves these empty.
6. Choose what happens to the proposal.

| Button                | What happens                                                                                                                                  |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| **Confirm this flow** | Boza saves your edits, sets the flow to **Confirmed**, and shows the next proposal. If your edits cannot be saved, the flow is not confirmed. |
| **Reject**            | Boza removes the proposal at once, with no confirmation dialog, remembers the pair, and shows the next proposal.                              |
| **Skip**              | The proposal stays **Proposed** and waits in the queue. The next one appears.                                                                 |

**Previous** and **Next** move through the queue without deciding, and wrap around at either end. **Skip**, **Previous**, and **Next** are disabled when one proposal remains.

{% hint style="warning" %}
**Reject** cannot be undone. Boza remembers the pair permanently, in both directions: rejecting A to B also rules out B to A. This only stops Boza from proposing the pair. You can still record that flow with **Add a flow** or an import.
{% endhint %}

Click **Back to the list** to stop reviewing. Edits you made stay while you move between proposals, but edits on a proposal you did not confirm are lost when you leave the review.

### Other Ways to Decide

To list only the proposals that are waiting, click **Filters** and select **Proposed by AI** under **Status**.

* **Row menu.** On a proposal, open **Actions** (three-dot icon). **Review** opens the review on that flow, **View on the map** shows it on the map, and **Confirm** and **Reject** act at once.
* **Side panel.** Click a row to read **Why Boza proposes it**. The panel offers **Review** and **Confirm**, and its menu holds **View on the map** and **Reject**.
* **Several at once.** Select rows, then use **Confirm**, **Edit**, **Reject**, or **Delete** in the floating bar. **Confirm** and **Reject** ask first and state how many flows are concerned. A flow that must be completed before it can be confirmed is left out and stays selected.

### Reject or Delete

| Compare                 | **Reject**              | **Delete**                                           |
| ----------------------- | ----------------------- | ---------------------------------------------------- |
| Applies to              | Proposals               | Any flow. For a proposal, only from the floating bar |
| Removes the flow        | Yes                     | Yes                                                  |
| Boza remembers the pair | Yes, in both directions | No, Boza may propose it again                        |

A confirmed flow can no longer be rejected, only deleted.

## Expected Result

* Confirmed flows show **Confirmed** in the list and are drawn in a solid line on the [dataflow map](https://boza.gitbook.io/docs/inventory/dataflows/map.md). Proposals are drawn in a dashed line.
* The **Review N proposals** count falls as you decide, and the button disappears at zero.
* When you finish or leave a review in which you decided at least one proposal, a message sums it up, for example **Review: 3 confirmed, 1 rejected**.
* In a confirmed flow's side panel, **History** shows **Added by** Boza AI, **Added on**, and **Confirmed on**.

## Troubleshooting

### Boza could not finish looking for flows

The run failed and wrote no proposal, so nothing was added to your inventory. Boza does not show the reason. A run with no progress for 30 minutes counts as failed and no longer blocks a new one.

Click **Start again** to reopen the dialog. It opens empty: enter your answers and add your documents again. If you reload the page after a run failed, no message appears and no proposal is added.

### Boza found no new flow

This is a valid result, not an error. Boza may have found only pairs that are already in your inventory or that you rejected. Answer the questions in more detail or add a document, then generate again. If the screen says your Data inventory links no application yet, link data types to applications in [Data Inventory](https://boza.gitbook.io/docs/inventory/data.md) first.

### Other Messages

| Message                                                                                                                                                                                | Cause                                                                                                                                                                | What to do                                                               |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| **Its approved applications could not be counted**                                                                                                                                     | The organization counts did not load                                                                                                                                 | Close the dialog, then click **Try again** in the warning on the page    |
| **Boza needs at least two approved applications to look for flows**                                                                                                                    | The organization has fewer than 2 approved applications                                                                                                              | Approve more applications, or choose another organization                |
| **Boza reads PDF, Word, Excel, PowerPoint, text, CSV, Markdown, JSON, XML and HTML files**, followed by the file name                                                                  | A file has another format                                                                                                                                            | Save it in a listed format                                               |
| **A document can weigh up to 10 MB**, followed by the file name                                                                                                                        | A file is too large                                                                                                                                                  | Reduce or split the file                                                 |
| **Up to 10 documents**                                                                                                                                                                 | You added more than 10 files                                                                                                                                         | Only the first 10 are kept                                               |
| **A document could not be read. Remove it, or save it as text, then generate again.**                                                                                                  | A file has no readable text, such as a scanned PDF. This message also appears if the organization no longer has 2 approved applications when documents are attached. | Remove the file or save it as text. Your answers stay in the dialog.     |
| **Boza could not start looking for flows**                                                                                                                                             | The run did not start                                                                                                                                                | Click **Generate the proposals** again. Your answers stay in the dialog. |
| **Only an admin can do this**                                                                                                                                                          | Your account is not a workspace Admin                                                                                                                                | Ask a workspace Admin                                                    |
| **Nothing waits for a review**                                                                                                                                                         | No proposal is waiting                                                                                                                                               | Generate proposals, or return to the list                                |
| **The flow could not be confirmed**                                                                                                                                                    | Your edits or the confirmation could not be saved                                                                                                                    | Try again. The flow stays **Proposed**.                                  |
| **The flow could not be removed** (review screen), or **The proposal could not be rejected** (row menu, side panel, floating bar; **The proposals could not be rejected** for several) | The rejection could not be saved                                                                                                                                     | Try again. The flow stays **Proposed**.                                  |
| **This flow was deleted in the meantime**                                                                                                                                              | Another Admin removed the flow                                                                                                                                       | Continue with the next proposal                                          |
| **Choose an application or a server for the source**, or **for the destination**                                                                                                       | You cleared that end                                                                                                                                                 | Select an application or a server                                        |
| **The destination must differ from the source**                                                                                                                                        | Both ends are the same                                                                                                                                               | Change one end                                                           |
| **A flow between these two ends is already in the inventory**                                                                                                                          | You changed an end, and that pair already has a flow                                                                                                                 | Choose another application or server                                     |
| **Enter a whole number between 1 and 65535.**                                                                                                                                          | The **Port** value is not valid                                                                                                                                      | Correct it on the **Advanced** tab                                       |

## Related Guides

* [Dataflows overview](https://boza.gitbook.io/docs/inventory/dataflows.md)
* [Import and export flows](https://boza.gitbook.io/docs/inventory/dataflows/import-and-export.md)
* [Dataflow map](https://boza.gitbook.io/docs/inventory/dataflows/map.md)
* [Data Inventory](https://boza.gitbook.io/docs/inventory/data.md)
* [Business Capability Map](https://boza.gitbook.io/docs/platform/mapping.md)
* [Application approval states](https://boza.gitbook.io/docs/inventory/applications/authorization-categories.md)
* [Roles and permissions](https://boza.gitbook.io/docs/settings-and-security/settings/roles-and-permissions.md)
* [Data Privacy & GDPR](https://boza.gitbook.io/docs/settings-and-security/data-privacy-gdpr.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://boza.gitbook.io/docs/inventory/dataflows/generate-and-review.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
