AI document sort¶
Odoo AI Document Automation enables automated classification, routing, and processing of documents using artificial intelligence. It reduces manual handling of documents such as invoices, contracts, NDAs, and insurance files by automatically sorting them into folders, extracting key information, and triggering business actions.
This feature is designed for high-volume, repetitive document workflows where speed, accuracy, and traceability are critical, while still allowing human intervention when required.
Konfigurasi¶
To use the AI document automation, ensure the following requirements are met:
The Documents application is installed, and the correct permissions are applied.
The relevant applications are installed. This can include Accounting, Purchase, Sales, etc. The applications installed impact the prompts that are applied to the documents.
Catatan
The AI app does not need to be installed to utilize the documentation automation. However, the types of AI automation actions available are dependent on the other apps installed in the database. For example, to create an invoice, the Accounting app must be installed.
Documents app overview¶
The Documents application functions as a centralized document management system similar to a shared drive. It is organized into the following workspaces at a minimum, though additional workspaces can be created:
All: displays all folders and files the user has access to.
Company: contains folders and files shared across the company. Access is determined by the access rights defined for the folder and file.
My Drive: the user's personal workspace for organizing and accessing files and folders they own or have uploaded.
Shared with me: includes files that have been shared with the user, but are not part of any parent folder they have access to.
Documents typically follow a workflow from the Inbox into structured folders, where AI automation and business actions are applied.
AI auto sort overview¶
AI Auto-Sort operates at the folder level. Each folder in the Documents app can contain its own automation logic, allowing you to design document flows that reflect your internal processes. Instead of applying a single global rule, automation is structured progressively: documents enter a folder, AI evaluates them according to the folder's prompt, and then performs the corresponding action.
Configuring prompts¶
To configure a prompt for a folder, navigate to the and select a folder from the tree on the left. Then, click the Actions icon at the top of the page. Use the drop-down menu to select AI Auto-sort.
On the What do you want the AI to do? pop-up, craft a prompt that explains how documents should be interpreted and what should happen next.
Catatan
Type / to utilize either Field Selector and Records Selector to insert
fields or records to enhance the prompt.
Below the prompt, click the What actions can the AI take? field, and select one or more actions from the drop-down menu. The available actions will vary based on the applications installed.
Based on these instructions, AI can move documents to another folder, add tags, trigger activities, or create business records such as invoices or vendor bills. This makes each folder both a storage location and a decision point in the workflow.
When configuring the primary prompt, folders can include instructions to handle exceptions or validation steps before the primary logic is executed. For example, a folder may first verify whether a required value exists in the document before proceeding with automation.
Example
A user wants to identify any PDFs that contain multiple pages, and would need to be manually split. They add the following instructions to the beginning their Inbox auto-sort prompt.
First, check the file to see if it contains a single document or if several documents are
collated together. For this, use this field: Is considered multipage. If it is true, add the tag
"To Split" and stop there. This way, we'll know we first need to manually split it into different
files. If it is false, continue with the normal process
Is considered multipage is selected via Field Selector. Under the What actions can the AI take? field, AI: Add Tags is selected.
This action does not perform the document split, but it adds a tag indicating which documents need to be split. Adding this step to the beginning of the prompt ensures it is the AI's first action.
Lihat juga