> For the complete documentation index, see [llms.txt](https://docs.mindee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindee.com/v1/workflows/review-interface-1/how-to-test-workflows-using-the-mindee-platform.md).

# How to test workflows using the mindee platform?

## How to test workflows using the mindee platform?

## Overview

This guide will walk you through Mindee workflows in a few steps. Using the example of Reviewing data extracted from Invoices, we will showcase how to:

* Create a workflow,
* Add documents,
* Filter & select documents ,
* Validate extracted data.
* Export validated data.

### Prerequisites

Before you start, ensure you have the following:

* A Mindee account. Sign up [here ](https://platform.mindee.com/)if you don’t have one.
* [Your API key](/v1/get-started/create-api-key.md), available from your Mindee dashboard.

{% hint style="warning" %}
Access to Workflows is limited to **Enterprise** customers.

Contact our[ sales team](https://calendly.com/d/crhr-vmm-g23?utm_source=platform\&utm_medium=calendly\&utm_campaign=workflows) to have the workflows activated on your account.
{% endhint %}

Once activated you will see the Workflows menu item appear on the platform.

### Create the Workflow

1. Click on the Workflows menu item to display the Workflow page.

<figure><img src="/files/Ewtcb9WjKkuklBTz9OTt" alt=""><figcaption></figcaption></figure>

This page displays existing workflows and the creation button.

<figure><img src="/files/7o6AS39cRs6qzKCwqT1O" alt=""><figcaption></figcaption></figure>

2. Click on **Create Workflow** to start the creation process.<br>

<figure><img src="/files/BdIRWD7TqffllkCqd12m" alt=""><figcaption></figcaption></figure>

3. Define the name of your workflow. Four our example, let’s call it ”Invoice Validation”

You can add a Description (optional). But this can help you later on to better differentiate your workflows. For our example we will enter: “*Validate Invoice key information*”.

4. Finally check the box:

“*By checking this I authorize Mindee to save the documents sent to the workflow and the extracted data for the purpose of the workflow*.”

Typically, Mindee doesn't store your documents and data, but this is necessary for workflows since we need to keep the extractions for later validation.

{% hint style="info" %}
Documents and extractions are kept for a period of XXX.

After this period, documents and data (both extracted and reviewed) will be deleted.
{% endhint %}

5. Click *Next* to move to the next step.

Within this step you will define the extraction product you will use within the workflow: in this case the Invoice endpoint, and select the fields you want to validate.

<figure><img src="/files/qrwzSpS2nEcc6IrshFkz" alt=""><figcaption></figcaption></figure>

6. First, select Invoice. For that you can type: “*Invoice*” within the **Select** field to find with ease the right extraction product.

The full list of fields from Invoice is now displayed and we can choose from among them the ones you want to choose.

<figure><img src="/files/q9aQbuAS1lmQv5hP8ayH" alt=""><figcaption></figcaption></figure>

8. Select the following fields for our use case:

* Payment date
* Total Tax
* Total Amount
* Taxes
* Invoice Number
* Purchase Order Number
* Supplier Name
* Supplier Company Registrations
* Customer Name
* Customer Company Registrations
* Document Type
* Line Items

9. Now you can validate the workflow creation by clicking on the **Create** button.

After creating the workflow you will arrive directly on the workflow \*\*Documents \*\*Page.

<figure><img src="/files/vcgpfluvcpEnvDYsmS3W" alt=""><figcaption></figcaption></figure>

Once your workflow is created, you can access it through the **Workflows** menu. All created workflows are listed and accessible here.

### Add Documents

1. You'll need to get an invoice. This can be a recently received invoice or you can google for free invoice samples that you can download to test with. Alternatively, you can use the sample invoice provided below.

<figure><img src="/files/HiMY78JGh8XO5QtsaeUm" alt="sample invoice"><figcaption></figcaption></figure>

2. To add a document, click the Import documents button.

This will display the following popup:

<figure><img src="/files/fXE9egsEqy88csJZ3tsN" alt=""><figcaption></figcaption></figure>

3. Add the sample invoice by clicking on the \*\*Documents \*\*field or using a drag and drop.
4. Set the priority (High in our example). The priority is a visual indicator that you can use to filter later on to select first the highest priority documents to be reviewed.
5. Set the Alias. The Alias is a text field you can use to filter your documents later. Think of it as a tag to identify a reviewer, geography, supplier, or other category.
6. Click Import when finished.

Your imported document will appear in the list.

<figure><img src="/files/KfQ6SJKye1OF8jWzHOwl" alt=""><figcaption></figcaption></figure>

You can see the **Status** change from Processing to Processed, once the prediction is available.

You can repeat the process with several documents or a zip.

## Filter & Select Documents

<figure><img src="/files/fB75kwjdzKLg62jxYeuh" alt=""><figcaption></figcaption></figure>

1. Click on Filters to display the select your files to be reviewed.

<figure><img src="/files/beT9XK5Dxe9Bh2uIjWtS" alt=""><figcaption></figcaption></figure>

2. Let's choose the files that are \_Processed \_and with the Alias "Reviewer A".

<figure><img src="/files/Phkui3rxIrnig5gpERSF" alt=""><figcaption></figcaption></figure>

3. Hit Apply Filters.

The list of documents only displays the document with the Alias "Reviewer A"

4. Now, you can select the document by checking the box or directly next to FILENAME to select all documents from the page.

<figure><img src="/files/bNaz4GowzFlzElYS03TY" alt=""><figcaption></figcaption></figure>

5. Click on **Create a batch from selected file**. Defining a batch for selected documents helps structuring the list of documents to review. You can easily come back to it later on, if you did not finalise reviewing the list. And it ensures that the other reviewers knows you selected this file in case several reviewers participate in the review of the predictions.

<figure><img src="/files/4CfLHjIACYAGJnyxTdft" alt=""><figcaption></figcaption></figure>

6. Set the Batch Name to Batch 1.
7. Hit Create Batch.

<figure><img src="/files/ER2imRLzcWDuGiHhU16l" alt=""><figcaption></figcaption></figure>

The Batch Name is now visible for the sample invoice.

8. Click on Review Selection to start the validation of the predictions on the sample invoice.

## Validate Documents

<figure><img src="/files/ZfJBcHl8aqxHZndmTpHy" alt=""><figcaption></figcaption></figure>

The review interface is now displayed with on the left side the document and some commands to manage the zoom on the document or the rotation of the document. You can see as well on the documents bounding boxes surrounding the elements of the prediction. You can click on them to set the focus on the corresponding field on the right and validate the prediction.

Go through each field to validate the correct value are extracted. When you change the focus on a new field on the right part, you will see the bounding box appear on the document to help you validate the value is correct or not.

On this example, all the value are correctly extracted.

Let's hit validate. As we have only one document, the review interface will close.

In the case you selected several documents you will just move to the next document until you hit the end of the selection or close the interface.

## Export Validated Data

<figure><img src="/files/yFWko3loWsTI98QIxHYx" alt=""><figcaption></figcaption></figure>

We now have a Validated document, let's export the validated data.

1. Select the document using a filter as previously or just by checking the box.
2. Hit Export selection

<figure><img src="/files/rDy2IJir6V9s9bnLd4VF" alt=""><figcaption></figcaption></figure>

3. Enter An export name In our Case let's call it Reviewer A - Export 1

4. Click on the Exports menu item on the left to display the list of all the exports.

<figure><img src="/files/bDPkgrqLfQhQFrBtIRdy" alt=""><figcaption></figcaption></figure>

5. Click on the download button on the right to access the .csv export.

The export provides the following fields for all the documents within the selection:

* filename,
* priority,
* status,
* the predictions
* the reviewed values

You can access the exports later on unless you delete them.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mindee.com/v1/workflows/review-interface-1/how-to-test-workflows-using-the-mindee-platform.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
