> 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/import-and-export.md). Agents can also search and read this documentation through its [MCP server](https://boza.gitbook.io/docs/~gitbook/mcp).

# Import and Export Flows

Load your existing flow register from a CSV file and see exactly what Boza will do with each row before anything is saved. You can also export your flows in the same format.

## Prerequisites

* You are a workspace Admin. **Dataflows** and **Settings → Export** are not available to anyone else.
* The applications, servers, organizations and owners named in your file already exist in Boza. An application does not need to be approved.

{% hint style="info" %}
Imported flows wait for your confirmation. Anyone who is not a workspace Admin sees **Confirmed** flows only.
{% endhint %}

## Prepare Your File

Boza reads a file with one row per flow. The first row holds the column names.

| Requirement | Limit                                                                                  |
| ----------- | -------------------------------------------------------------------------------------- |
| Format      | CSV only. An Excel file (`.xlsx` or `.xls`) is refused, so save the sheet as CSV first |
| Separator   | Comma or semicolon. Boza uses the one that appears most in the first row               |
| Size        | Up to 5 MB                                                                             |
| Rows        | Up to 5,000, not counting the column names. Split a longer file into several files     |

To start from a template, open the import dialog as described in [Import a File](#import-a-file) and click **Download the template (CSV)**. Boza saves `dataflows-template.csv` with the right columns and two sample rows made of your own applications. With fewer than three applications available, the template holds the column names only.

### Columns Boza Recognizes

Boza matches your columns by their names, without regard to case, spaces, punctuation or accents. If two columns match the same field, the first one is used. Other columns are ignored.

| Field                      | What the cell holds                                                         | Column names recognized                                                                                                             |
| -------------------------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **Source** (required)      | An application, by its name in Boza. Empty when the source is a server      | From, Source, Source application, Source app, De, Application source                                                                |
| **Destination** (required) | An application, by its name in Boza. Empty when the destination is a server | To, Destination, Destination application, Destination app, Target, Vers, Cible, Application destination, Application de destination |
| **Data types**             | Free text, separated by commas                                              | Data, Data types, Data type, Types, Données, Types de données, Type de données                                                      |
| **Direction**              | Yes for both ways, anything else for one way                                | Both ways, Direction, Two way, Bidirectional, Dans les deux sens, Deux sens, Bidirectionnel                                         |
| **Criticality**            | High, Medium or Low                                                         | Criticality, Criticity, Criticité                                                                                                   |
| **Protocol**               | Free text                                                                   | Protocol, Protocole                                                                                                                 |
| **Description**            | Free text                                                                   | Notes, Note, Description, Comment, Comments, Commentaire, Commentaires                                                              |
| **Organization**           | The name of an organization. Empty means the whole organization             | Organization, Organisation, Entity, Entité                                                                                          |
| **Owner**                  | The e-mail of one of your users                                             | Owner, Owner email, Flow owner, Propriétaire                                                                                        |
| **Source server**          | The name of a server                                                        | Source server, From server, Serveur source, Serveur de départ                                                                       |
| **Destination server**     | The name of a server                                                        | Destination server, To server, Target server, Serveur destination, Serveur de destination, Serveur d'arrivée                        |
| **Frequency**              | Real-time, Hourly, Daily, Weekly, Monthly, Yearly or Other                  | Frequency, Exchange frequency, Fréquence, Fréquence d'échange                                                                       |
| **Port**                   | A whole number from 1 to 65535                                              | Port                                                                                                                                |
| **Format**                 | Free text                                                                   | Format, Data format, Format de données                                                                                              |
| **Volume**                 | Free text                                                                   | Volume, Volume d'échange                                                                                                            |
| **Port type**              | Free text                                                                   | Port type, Type de port                                                                                                             |
| **Encryption**             | Free text                                                                   | Encryption, Chiffrement                                                                                                             |

### Values Boza Accepts

* **Each end of a flow:** every row needs an application or a server for its source, and one for its destination. If a row names both for the same end, Boza also links that server to that application. The link stays even if you later delete the flow.
* **Application names:** the name shown in Boza or the catalog name. Case does not matter.
* **Direction:** `yes`, `y`, `oui`, `o`, `true`, `1`, `both`, `both ways`, `two-way`, `two ways`, `dans les deux sens`, `Bidirectional` and `Bidirectionnel` mean both ways. Anything else, including an empty cell, means one way.
* **Criticality:** `High`, `Medium`, `Low`, `Élevée`, `Moyenne` or `Faible`.
* **Frequency:** the English values in the table, or `Temps réel`, `Toutes les heures`, `Quotidienne`, `Hebdomadaire`, `Mensuelle`, `Annuelle` or `Autre`.
* **Data types:** up to 30 per row, each up to 100 characters. They are not checked against your [Data inventory](https://boza.gitbook.io/docs/inventory/data.md), and repeats are removed.
* **Organization:** an empty cell, `Whole organization` or `Toute l'organisation` means the whole organization.
* **Protocol, Format, Port type and Encryption:** any text is imported. A value that is not one of the field's options shows in the list and in the side panel of the flow, but its field looks empty on the **Advanced** tab of the review and in **Edit**. The value is kept unless you select another option.

Put a value in double quotes if it contains the separator or a line break. In a comma-separated file, a cell with several data types must be quoted, as in `"Customer data, Financial records"`. Spreadsheet tools do this when they save. Rows that are entirely empty are ignored.

## Import a File

1. In the sidebar, click **Inventory → Dataflows**.
2. In the page header, click **Import a file**. The **Import flows from a file** dialog opens.
3. Drop your CSV on **Drop your file here, or browse**, or click that area to choose the file. A green card shows the file name and the number of rows and columns, marked **read, not saved**.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-efd021db36134f81196a91805e2ba384b91c1936%2Fboza-dataflows-import-file.png?alt=media" alt="Import flows from a file dialog at step 1, with flows-register.csv read and not saved, the list of what the file needs, a Download the template (CSV) link, and Cancel and Continue buttons."><figcaption></figcaption></figure>

4. Click **Continue**.
5. Under **Which column fills which field**, check how Boza matched your columns. If a match is wrong, select another column in that field's list, or select **Not in the file**. The panel on the right shows the first rows of your file. Columns that fill nothing are listed under the fields as **Not used from your file**.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-15a01e9ee70254989a123deeb06edcf46b3697fa%2Fboza-dataflows-import-columns.png?alt=media" alt="Import dialog at step 2, Which column fills which field, with Source and Destination marked required, each field matched to a column of the file, a preview of the first rows on the right, and Back and Check the rows buttons."><figcaption></figcaption></figure>

6. Click **Check the rows**. Boza checks every row and writes nothing.
7. Read the results. The badges count the **ready** and **skipped** rows, and the table lists skipped rows first. **Row** is the row's position in your file, with the column names as row 1. Each **Result** reads **Ready** or **Skipped:** followed by the reason. Hover a long reason to read it in full. You cannot edit a row in the dialog.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-877f05d918ebd3e7ea70745a81047f801f1a71a3%2Fboza-dataflows-import-check.png?alt=media" alt="Import dialog at step 3, Check the rows, with badges 4 ready and 5 skipped, skipped rows highlighted at the top with their reasons, Ready rows below, a Download the skipped rows link and an Import 4 flows button."><figcaption></figcaption></figure>

8. Optional: click **Download the skipped rows** to keep them for correction.
9. Click **Import N flows**, where N is the number of ready rows. Boza checks every row again, then writes all the ready rows together.

To change something on an earlier step, click **Back**. To leave, click **Close** (X icon), or **Cancel** on step 1. Pressing Escape or clicking outside the dialog does not close it. Nothing is saved before the last step.

**Import a file** is also offered in the empty state of **Dataflows**, and when the selected organization has no flow. On an empty dataflow map, it opens **Dataflows** with this dialog open.

## Expected Result

The dialog closes and the list reloads. A green banner above the list says how many flows were imported and from which file, that they are marked **Imported** until you confirm them, and how many rows were skipped.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-e531ecba2b0f63e714b567fc926af08e51263d11%2Fboza-dataflows-import-banner.png?alt=media" alt="Dataflows page with a green banner saying 4 flows were imported from flows-register.csv and marked Imported until confirmed, that 5 rows were skipped, and a Review the imported flows button, above the list of flows."><figcaption></figcaption></figure>

The banner goes away when you close it, reload the page or leave **Dataflows**. The imported flows stay.

Every imported flow:

* Has the status **Imported**, whatever your file says.
* Appears as a dotted line on the [dataflow map](https://boza.gitbook.io/docs/inventory/dataflows/map.md), under **Imported, to review** in the legend.
* Shows **A file import** next to **Added by** in the **History** of its side panel.

## Review the Imported Flows

### From the Banner

1. In the banner, click **Review the imported flows**. The review shows the flows of this import that are still waiting, one at a time.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-df7c1f48e40a3e8315a510e65c244d227ef1487a%2Fboza-dataflows-import-review.png?alt=media" alt="Review the imported flows screen showing imported flow 1 of 4, Linear to Slack, with its editable fields and the Delete, Skip and Confirm this flow buttons."><figcaption></figcaption></figure>

2. Check the flow and correct any field on the **General** and **Advanced** tabs.
3. Choose what to do with the flow:
   * **Confirm this flow** saves your changes and marks the flow **Confirmed**.
   * **Skip** moves to the next flow and changes nothing. It is unavailable when only one flow is left.
   * **Delete** removes the flow at once, with no confirmation. The message at the end of the review counts deleted flows as rejected, as in **Review: 1 rejected**, but they are only deleted: Boza AI can still propose that pair.
4. Click **Back to the list** to stop at any time. The review also ends when no flow is left.

### Later or in Bulk

**Review N proposals** counts AI proposals only, so it does not lead to imported flows. To find them once the banner is gone:

1. On **Dataflows**, click **Filters**, open **Status** and select **Imported**.
2. Confirm the flows:
   * **One flow:** open the **Actions** menu (three dots) on its row and click **Confirm**, or click the row and use **Confirm** in the side panel. If the flow cannot be confirmed as it is, Boza shows why and opens it in the review.
   * **Several flows:** select their rows. The checkbox in the table header selects the current page. When more flows match, click **Select all N flows** to include every page. On the floating bar, click **Confirm**, then click **Confirm** in the **Confirm N flows?** dialog. Flows that must be completed first are left out and stay selected. If none of the selected flows can be confirmed, no dialog opens: Boza shows why and opens the review on them.

The floating bar also offers **Edit** and **Delete**. The row menu offers **Edit**, **View on the map** and **Delete**.

{% hint style="warning" %}
**Delete** cannot be undone. A confirmed flow can no longer be rejected, only deleted. You can import a deleted flow again, and deleting it does not stop Boza AI from proposing that pair later.
{% endhint %}

## Fix Skipped Rows and Import Again

1. Download the skipped rows with **Download the skipped rows** on the last step, or with **download them** in the banner. Boza saves `skipped-` followed by your file name, with a **Row** column, your original columns and a **Skipped because** column.
2. Correct each row. [Why a Row Is Skipped](#why-a-row-is-skipped) lists what to do for each reason.
3. Import the corrected file. The added **Row** and **Skipped because** columns are ignored.

## How Boza Detects a Flow It Already Has

Two flows are the same when they link the same two ends with the same data types, regardless of case, and start from the same source. When both are two-way, the order of the ends does not matter. An end is its application or, if it has none, its server. The same pair with different data types is a separate flow.

| The row matches                      | Result                                              |
| ------------------------------------ | --------------------------------------------------- |
| A **Confirmed** or **Imported** flow | Skipped with **Already in the inventory**           |
| An earlier row of the same file      | Skipped with **Same flow as row N**                 |
| A **Proposed** flow from Boza AI     | **Ready**. On import, the row replaces the proposal |

An import never updates an existing flow, and importing the same file twice adds nothing. To change an existing flow, use **Edit**, or delete it and import the row again.

## Export Your Flows

### From Dataflows

1. On **Dataflows**, optionally narrow the list with the organization selector, the search box or **Filters**.
2. At the far right of the list toolbar, click **Export flows** (upload icon). The button is unavailable when no flow matches.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-5999497d918eec55e2d0bd9939cf2aed5175c7c5%2Fboza-dataflows-export-toolbar.png?alt=media" alt="Dataflows list toolbar with search, Organization selector, Filters, Synthetic and Detailed views, and the icon button at the far right showing the tooltip Export flows."><figcaption></figcaption></figure>

Boza downloads `dataflows_YYYY-MM-DD.csv` and shows **N flows exported**. The file holds every flow that matches the organization, search and filters, on every page, not only the page on screen.

The columns are **From**, **To**, **Data**, **Both ways?**, **Criticality**, **Protocol**, **Organization**, **Owner**, **From server**, **To server**, **Notes**, **Format**, **Frequency**, **Volume**, **Port type**, **Port** and **Encryption**. The headers follow the language Boza is displayed in. The first eleven are the template's columns.

The file can be imported again. The owner is an e-mail, the whole organization is an empty cell, and a server with no application stays in its server column. There is no **Status** column: on a new import, flows still in the inventory are skipped and any other row arrives as **Imported**. Boza adds an apostrophe before a value starting with `=`, `+`, `-` or `@` so that a spreadsheet does not run it as a formula, and the import removes it.

On the dataflow map, **Export → Export as CSV** writes the same columns and file name for the flows of the selected organization.

### From Settings

1. In the sidebar, click **Settings**, then **Export**.
2. On the **Data flows** row, click **Export**. Boza shows **Data flows exported successfully!**, or **Nothing to export yet: Data flows** if the workspace has no flow.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-5f29377d25878266234969397c448b9241dcec3e%2Fboza-settings-export.png?alt=media" alt="Settings Export section with an Export all data button and an Export button for each of Applications, Shadow IT, Business capability map, Users, Subscriptions, Vendors, Infrastructure, Data flows, Data and Organization."><figcaption></figcaption></figure>

|                   | Export from Dataflows                               | Export from Settings                         |
| ----------------- | --------------------------------------------------- | -------------------------------------------- |
| Flows included    | Those matching the organization, search and filters | Every flow in the workspace, of every status |
| **Status** column | No                                                  | Yes                                          |
| Other columns     | Template columns plus six technical ones            | Listed below                                 |
| File name         | `dataflows_YYYY-MM-DD.csv`                          | `flows_YYYY-MM-DD.csv`                       |
| Best for          | Editing the flows and importing them again          | An audit or a full copy of the inventory     |

Besides **Status**, the Settings file has the columns **Source application**, **Source server**, **Destination application**, **Destination server**, **Direction**, **Description**, **Protocol**, **Format**, **Exchange frequency**, **Exchange volume**, **Port type**, **Port**, **Encryption**, **Organization**, **Data types**, **Criticality** and **Owner (email)**. The headers follow the language Boza is displayed in.

Use the export from **Dataflows** when you plan to import again. The Settings file can be dropped in the import dialog, but its **Status** column is ignored and every new row arrives as **Imported**. Its **Exchange volume** column in English and **Propriétaire (e-mail)** column in French are not matched automatically, so choose them under **Which column fills which field**.

The **Infrastructure** row in **Settings → Export** downloads a ZIP that also contains the flows file.

## Troubleshooting

### File Refused on the First Step

**Continue** stays unavailable until the file is accepted.

| Message                                                                                       | Cause                                                    | What to do                            |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------- | ------------------------------------- |
| **The file is larger than 5 MB.**                                                             | The file exceeds the size limit                          | Split it into several files           |
| **The file holds more than 5000 rows: split it into several files.**                          | The file has more than 5,000 rows under its column names | Split it into several files           |
| **Only CSV is read for now: save the sheet as CSV (File › Save as › CSV) and drop it again.** | The file is an Excel file                                | Save it as CSV and drop it again      |
| **The first row of the file holds no column name.**                                           | The first row is empty                                   | Add the column names in the first row |
| **The file has no row under its column names.**                                               | The file holds column names only                         | Add at least one row                  |

### Why a Row Is Skipped

| Reason shown                                                       | What to do                                                                                                                                                  |
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **No source application or server**                                | Fill in the application or the server of the source                                                                                                         |
| **No destination application or server**                           | Fill in the application or the server of the destination                                                                                                    |
| **Application « name » not found**                                 | Use the name shown in Boza, or add the application first                                                                                                    |
| **N of your applications are named « name »**                      | Make the name unique in Boza, then import again                                                                                                             |
| **Server « name » not found**                                      | Use the name shown on [Infrastructure](https://boza.gitbook.io/docs/inventory/infrastructure.md), or add the server first                                   |
| **Organization « name » not found**                                | Use the name shown in Boza, or leave the cell empty for the whole organization                                                                              |
| **N organizations are named « name »**                             | Make the name unique in Boza, or leave the cell empty and set it afterwards with **Edit**                                                                   |
| **Owner « e-mail » is not a user**                                 | Use the e-mail of a Boza user, or leave the cell empty                                                                                                      |
| **N users have the e-mail « e-mail »**                             | Leave the cell empty and set the owner afterwards with **Edit**                                                                                             |
| **Unknown criticality « value »**                                  | Use High, Medium or Low                                                                                                                                     |
| **Unknown frequency « value »**                                    | Use a value from [Values Boza Accepts](#values-boza-accepts)                                                                                                |
| **Port « value » is not 1 to 65535**                               | Enter a whole number from 1 to 65535                                                                                                                        |
| **More than 30 data types**                                        | Keep at most 30 data types on the row                                                                                                                       |
| **Data type « value… » is longer than 100 characters**             | Shorten the data type                                                                                                                                       |
| **Field is longer than N characters**                              | Shorten the value. The limit is 255 characters for Protocol, Format, Volume, Port type and Encryption, 5,000 for Description, and 10,000 for any other cell |
| **Already in the inventory**                                       | Nothing to fix. See [How Boza Detects a Flow It Already Has](#how-boza-detects-a-flow-it-already-has)                                                       |
| **Same flow as row N**                                             | Remove the repeated row, or change its data types if it is a separate flow                                                                                  |
| **Unreadable: N cells for M columns, a separator inside a value?** | Put the value that contains the separator in double quotes. The **Flow** column reads **could not be read** for this row                                    |

### Other Problems

| What you see                                                                        | Cause                                                                                                                                                              | What to do                                                        |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
| **Check the rows** is unavailable, with **Choose a column for** followed by a field | No column is chosen for that end                                                                                                                                   | Choose a column for the application or for the server of that end |
| **Import N flows** is unavailable                                                   | No row is ready                                                                                                                                                    | Fix the rows in your file and import it again                     |
| **Boza could not check the rows**                                                   | The check failed                                                                                                                                                   | Click **Try again**                                               |
| **The flows could not be imported**                                                 | The import failed. The dialog stays open                                                                                                                           | Click **Import N flows** again                                    |
| **Only an admin can do this**                                                       | Your account is no longer a workspace Admin                                                                                                                        | Ask a workspace Admin                                             |
| Names with accents are not found, or columns with accents are not matched           | The file is not saved in UTF-8                                                                                                                                     | Save it in UTF-8 (**CSV UTF-8** in Excel) and import it again     |
| **The destination must differ from the source** when you confirm                    | The row names the same application on both ends, or the same server on both ends with no application. It imports, but it cannot be confirmed until one end changes | Change one end in the review, or click **Delete**                 |

## Related Guides

* [Dataflows overview](https://boza.gitbook.io/docs/inventory/dataflows.md)
* [Generate and review flows with Boza AI](https://boza.gitbook.io/docs/inventory/dataflows/generate-and-review.md)
* [Dataflow map](https://boza.gitbook.io/docs/inventory/dataflows/map.md)
* [Reports and Exports](https://boza.gitbook.io/docs/resources/reports-and-exports.md)
* [Infrastructure](https://boza.gitbook.io/docs/inventory/infrastructure.md)
* [Data inventory](https://boza.gitbook.io/docs/inventory/data.md)
* [Roles and Permissions](https://boza.gitbook.io/docs/settings-and-security/settings/roles-and-permissions.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/import-and-export.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.
