# Document Queue

### Overview&#x20;

The Document Queue is the central repository displaying all documents available in your Docspire account. This includes sample files, manually uploaded documents, and files received through integrations. It provides a unified interface to view document metadata, check processing status, and perform actions on individual or multiple documents.&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2FgKLLZR3l9Z5Pj4JKW8q6%2F1.jpg?alt=media&#x26;token=9e22e16e-2551-4d86-986a-b84c42eefe03" alt=""><figcaption></figcaption></figure>

The Document Queue functions as a document management list where you can:&#x20;

* View all documents and their current status at a glance&#x20;
* Access key metadata including document type, source, and processing results&#x20;
* Initiate actions such as processing, reviewing, or viewing results&#x20;
* Manage documents through filtering, searching, and bulk operations&#x20;

Access the Document Queue by:&#x20;

* Clicking Document Queue in the Main section of the navigation panel&#x20;
* Navigating from the Home page after uploading documents&#x20;

&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2FDyu2BsOzdh4k9xFaw8aU%2F2.jpg?alt=media&#x26;token=428a4f72-ff2a-47e6-ac50-dc635fb44dcf" alt=""><figcaption></figcaption></figure>

### Document Information Display&#x20;

The Document Queue presents document information in a structured table format with customizable column visibility:&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2FBAz8cUPtdjYfqPm7b8ST%2F3.jpg?alt=media&#x26;token=9b232276-bf4d-4e63-b8c1-dd54bef5fef9" alt="" width="424"><figcaption></figcaption></figure>

#### Default Fields (Always Visible)&#x20;

* **File Name** – Original name of the uploaded or integrated document&#x20;
* **Type** – Document classification category (Purchase Order, Pay Slip, Bank Statement, ID, etc.)&#x20;
* **Actions** – Available operations based on current document status&#x20;

#### Optional Fields (Can Be Disabled or Enabled)&#x20;

* **Status** – Current processing state (Pending, Running, Success, In Review, Error)&#x20;
* **Source** – Document origin (Manual Upload, Integration, API)&#x20;
* **Document ID** – Unique system-generated identifier for each document&#x20;
* **Priority** – Processing priority level assigned to the document&#x20;
* **AI Extraction Accuracy** – Percentage confidence score of the AI model's data extraction&#x20;
* **Validation Score** – Percentage of business rules and validation checks passed&#x20;

To customize which fields are displayed:&#x20;

1. Click the Columns button in the top-right corner&#x20;
2. Select or deselect fields from the dropdown menu&#x20;
3. Changes are applied immediately to the document list view&#x20;

### Document Status Types&#x20;

Documents progress through various statuses during their lifecycle:&#x20;

* **Pending** – Document uploaded and awaiting processing&#x20;
* **Running** – Currently being processed by the system&#x20;
* **Success** – Processing completed successfully without errors with extracted data available&#x20;
* **In Review** – Requires human verification due to validation rules or confidence thresholds&#x20;
* **Error** – Processing failed due to technical issues or unsupported format&#x20;
* **Rejected** – Document rejected with notes through the Review Action&#x20;

### Performance Metrics&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2FwvVU2EAkJMIwvDsjUb8C%2F4.jpg?alt=media&#x26;token=d327a0da-7596-46b7-b31f-af5a70560cb8" alt=""><figcaption></figcaption></figure>

The Document Queue displays key performance indicators for processed documents:&#x20;

* **AI Extraction Accuracy** – Percentage confidence of AI model extraction&#x20;
  * Displayed as a percentage (e.g., 91.83%)&#x20;
  * Higher scores indicate more reliable extraction&#x20;
* **Validation Score** – Compliance with configured business rules&#x20;
  * Shows percentage of passed validation checks&#x20;
  * Helps identify documents requiring additional review&#x20;

### Filtering and Search Capabilities&#x20;

The Document Queue provides robust filtering options to manage large document volumes:&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2FC9V74DqFBEGzq8GJu9ak%2F5.jpg?alt=media&#x26;token=9b5ccc68-607c-41ae-b484-3bb5638b1bd4" alt=""><figcaption></figcaption></figure>

#### Filter Options&#x20;

1. **Document Type Filter** – Select specific document types using the "All Types" dropdown&#x20;
2. **Priority Filter** – Filter by processing priority levels using "All Priorities" dropdown&#x20;
3. **Search Bar** – Find documents by name, ID, or partial text matching&#x20;

#### Bulk Operations&#x20;

Select multiple documents using checkboxes to delete multiple selected documents in one go.&#x20;

### Document Actions&#x20;

Available actions vary based on document status and processing state:&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2F5ltDSqRemYMm2vJ7qg6j%2F6.jpg?alt=media&#x26;token=de2fc2c3-dd4e-44b7-b4c1-c5074f815c25" alt=""><figcaption></figcaption></figure>

#### For Pending Documents&#x20;

* **Process** – Initiate document processing manually&#x20;
* **Delete** – Remove document from queue&#x20;

#### For Running Documents&#x20;

* **Track** – Monitor real-time processing progress&#x20;

#### For In Review Documents&#x20;

* **Review** – Access the review interface to verify and edit extracted data&#x20;
* **Track** – Review processing history and timeline&#x20;
* **Reprocess** – Restart processing with optional feedback&#x20;

#### For Successful Documents&#x20;

* **View Results** – Access extracted data in Refined or JSON view&#x20;
* **Track** – Review processing history and timeline&#x20;
* **Reprocess** – Restart processing with optional feedback&#x20;

#### For Rejected Documents&#x20;

* **Reprocess** – Restart processing with optional feedback&#x20;

### Review Interface&#x20;

Documents requiring review provide comprehensive human validation capabilities:&#x20;

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2F7iM4lXzPaRrNx9mxMvt3%2F7.jpg?alt=media&#x26;token=58e94619-f67a-4b78-8da1-06d648423fa4" alt=""><figcaption></figcaption></figure>

#### Review Features&#x20;

* **Refined View** – Structured display of extracted data with visual field highlighting&#x20;
  * Error fields marked with validation message/s for correction&#x20;
  * Inline editing capabilities&#x20;
* **JSON View** – Raw data format for technical review&#x20;
  * Direct JSON editing
* **Review Actions**
  * Approve – Accept extracted data with or without editing to complete document processing with Sucess status.&#x20;
  * Reject – Reject document with notes.&#x20;

### View Results Interface&#x20;

Successfully processed documents offer multiple data access options:

<figure><img src="https://3990462849-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgjpo1gyiI3QKDSNO9maQ%2Fuploads%2FPYsuoGloe2yHEAqFOwRf%2F8.jpg?alt=media&#x26;token=f99152c8-9784-43dd-92bc-5d63e2673aa5" alt=""><figcaption></figcaption></figure>

#### Data Views&#x20;

* **Refined View** – Data in formatted, business-friendly presentation&#x20;
* **JSON View** – Data in raw JSON format&#x20;

#### Export Options&#x20;

Access extracted data in various formats:&#x20;

* **Download as JSON** &#x20;
* **Download as CSV** &#x20;
* **Download as Excel** &#x20;

The export options are available through both the View Results action for successful documents and the Review interface for documents under review.&#x20;

### Integration with Other Features&#x20;

The Document Queue works in conjunction with other Docspire components:&#x20;

* Document Tracking – Click "Track" to open detailed processing timeline and stage-by-stage monitoring&#x20;
* Integrations – Documents received from connected systems automatically appear in the queue&#x20;
* Workflows – Automated processing triggers based on workflow configuration&#x20;

### Use Cases&#x20;

The Document Queue supports various document management scenarios:&#x20;

* Document Repository – View and manage all documents in one centralized location&#x20;
* Status Monitoring – Quickly identify which documents are pending, in review, or successfully processed&#x20;
* Quality Control – Access documents requiring review and validate extracted data&#x20;
