Skip to content
Giallo

Company document archive with AI: find contracts and files in seconds

Company document archive with AI: classify, search by meaning and cite the source. Permissions, retention, privacy, costs and limits for small businesses.

Editorial team: Giallo Studio

Published on

Updated on

Reading time: 10 min

Company document archive with AI: searching contracts and case files with the source cited

A company document archive with AI is an archive where documents are classified automatically and can be searched by asking a question, getting the answer together with the document and the page it comes from. It does not replace the archive you already have: it builds on top of it an index that understands the meaning of the texts, not just the words used in the file name.

The scene is familiar. A customer asks for the terms of a contract signed three years ago; the accountant wants last year's policy; a supplier disputes a clause. Nobody remembers which folder it is in, the file is called "scan_0043.pdf" and the time lost is half an hour, sometimes half a day. Giallo Studio, the brand of Refreesh S.r.l. SB, based in Milan, that designs custom AI agents and automations for SMEs and professional firms, builds archives of this kind starting from the documents the company already has, within the path described in AI for business administration.

In summary

  • An archive with AI classifies incoming documents and lets you search them by meaning, always citing the document and the page.
  • It is built on top of the folders and services already in use; moving everything is rarely necessary.
  • Permissions must also apply to search: the AI must not show anyone what they could not open.
  • The company decides the retention and deletion rules; the system applies them and makes them visible.
  • An answer without a source is not an answer: the system must be able to say "I did not find it".

Why documents get lost, even in well-run companies

The problem is rarely the lack of an archive. It is that documents arrive through different channels (email, supplier portals, WhatsApp, scanners, shared folders) and everyone names and files them their own way. After a few years, the folder structure reflects the habits of people who are no longer there.

Searching by name, in that context, only works if you remember the name. Searching by meaning answers questions like "which contracts with this supplier include automatic renewal?" or "where is the latest policy for the Via Roma property?". Anyone who wants to understand the technology underneath can read RAG: what it is and why it improves AI responses; what matters here is the practical effect: find, read, verify.

What the archive does, in practice

  1. Collects. It reads the shared folders, the purchasing mailbox and the scans of paper documents, and brings them into a single index, without moving the originals unless needed.
  2. Reads and classifies. It recognizes the type of document (contract, policy, signed quote, minutes, ID document, invoice), extracts the key information (parties, dates, amounts, deadlines) and proposes labels.
  3. Applies permissions. Each document inherits who can see it; search returns only what the user is entitled to.
  4. Answers with the source. To a question in plain language it replies with a summary and a link to the document and the page, so that it can be checked.
  5. Flags. Upcoming deadlines, documents missing compared with a checklist, different versions of the same contract.
  6. Applies retention rules. It highlights the documents that have reached the agreed term for review or deletion, which remains a person's decision.

The technical side matters less than the method: first you decide which questions the archive must be able to answer, then you organize the rest.

What you can ask the archive

Typical question What the system needs What Remains to the Person
Where is the contract with supplier X? Classification and search by parts Opening and reading the document
Which contracts expire in the next three months? Extracted and verified dates Deciding on renewal or cancellation (see deadlines and renewals with AI)
What does the payment clause of this agreement say? Reading the document with citation Checking against the text and assessing with whoever answers for it
Are any documents missing from a client's file? Checklist by type of case file Chasing the client or filling the gap
What is the latest signed version? Comparing versions and dates Confirming
Who has access to this folder? Permissions register Changing access

This list also shows a limit: the archive helps to find and summarize, not to give opinions. To understand what a clause says in a legal sense you need someone who answers for it. For more on analyzing texts, see AI to analyze business documents.

A real example from Giallo Studio

In a project delivered by Giallo Studio for a corporate financial advisory firm, the CRM and the website were moved from a no-code platform to a server in the European Union, with an encrypted off-site backup. The CRM includes, among other things, checklists of documents to upload, contracts filled in from the CRM and converted to PDF, and case progress visible to the client. By the client's choice that project does not use AI: it started from the processes. It is a good reminder. An orderly archive comes from a clear process, not from a model: AI is added where every document already has a place.

Another project, for a luxury car rental company, brings fleet, customers and contracts together in one place, with a record for each rental, the contract as a PDF in six languages and the delivery and return reports. Here too the value is that every document has a place and a link to the file it belongs to.

Two examples of everyday questions

The scenarios are constructed examples, not real clients.

Example 1: an installation company with many policies, test certificates and maintenance contracts. The manager asks: "Which maintenance contracts have tacit renewal and expire within the year?" The system lists the contracts, with the expiry date read from the document and the passage about renewal. The manager opens the three flagged contracts and decides.

Example 2: a consulting firm with client files. The secretary asks: "What is missing from client Bianchi's file?" The system compares the documents present with the checklist for that type of file and replies with a list of what is missing. Then it prepares a draft request to the client, which the person reviews before sending. For a flow dedicated to this case, there is customer document collection with AI.

Personal data, permissions and retention

A company archive contains personal data: contracts with individuals, employee documents, payslips, ID documents. This changes the way it is built.

  • Permissions that also apply to search. If a user cannot open a document, they must not be able to get its content from an answer. It is the most serious flaw of a badly designed archive with AI.
  • Contract with the supplier. The GDPR requires, in article 28, an act governing the processing carried out on the company's behalf by whoever provides the service.
  • Minimization and storage limitation. Article 5 of the GDPR requires processing only what is needed and not keeping personal data longer than necessary. The archive must make the terms visible, not hide them.
  • Accounting records. Under Italian Civil Code (article 2220) accounting records must be kept for ten years from the last entry. Other documents have different terms: the company defines them with its own consultant.
  • Digital preservation with legal value. It follows the rules of the Digital Administration Code and its AgID guidelines. An archive with intelligent search is something else and does not replace it.
  • Access log. Who looked at what and when. It is also useful in case of inspections or disputes.

A concrete example of attention to sensitive data is the internal platform for a private security company built by Giallo Studio: sensitive data encrypted field by field, a change log that cannot be deleted and a security check before release. Not every project requires that level, but the principle holds for any archive: the more sensitive the data, the more permissions and logs matter. For a broader overview see AI and Data Security and AI and GDPR.

Limits and risks

When it makes sense

  • Documents are many, scattered and have unhelpful names.
  • The same searches come up often (contracts, policies, case files).
  • Someone decides what to keep and who can see what.
  • You want an answer with the source, to be verified.

When to Wait

  • Documents are few and already well organized.
  • Nobody is responsible for the access rules.
  • You would like a legal opinion from the system.
  • The files are unreadable or incomplete scans: the source has to be fixed first.

The main risk is the confident but wrong answer. It is reduced with three design choices: always showing the source, making the system say when it finds nothing, and periodically checking a sample of answers with the person who knows the documents. Poor-quality scans and documents with complex tables are the most common sources of error.

Mistakes to Avoid

  1. Uploading everything without cleaning up. Duplicates, drafts and superseded versions confuse the index. A first cleanup is worth more than any model.
  2. Ignoring permissions. An archive that answers everyone about everything is not an archive, it is a risk.
  3. Using a generic chatbot with company documents. Without a contract, without control over retention and without a source for the answers, you lose control of your data.
  4. Not naming who is responsible for the rules. Someone must decide the retention terms and the exceptions.
  5. Expecting the system to understand unwritten context. A verbal agreement is not in any document and so it is not in the archive.

How it is set up and what it costs

The safest path is to start from a small perimeter: one type of document (for example supplier contracts) and about ten real questions the office asks often. You load that perimeter, test the search with the people who need it, measure how many answers are right and complete, adjust, and only then extend to other types of document.

For an AI knowledge base, meaning an assistant that answers from company documents citing the source, Giallo Studio's indicative ranges run from €6,000 to €25,000 excluding VAT; they depend on the volume and format of the documents, permissions and the presence of sensitive data. These are orders of magnitude, not a quote: the actual cost is defined in writing after checking the perimeter and the data. For an overview of what this means in a company, there is AI for business base knowledge; for documents coming in from the invoice side, recording supplier invoices with AI.

To wrap up

A good archive with AI does not promise to understand everything: it promises to let you find in seconds what exists, to say when it is not there and to respect who can see what. When this works, the office wins back hours every week and, above all, stops dreading the question "where is that document?".

If you want to understand how to build it on your company's documents, Giallo Studio designs custom AI agents and knowledge bases for SMEs and professionals: contact us to find out how to automate searching and managing your documents.

Giallo Studio guides: methodology and sources

Want to apply this to your business?In 30 minutes, free of charge: the first process to automate and its estimated return, in writing.

Book the free audit

How we apply it in the company

Related resources

AI consulting services and process automation

FAQ

What is a company document archive with AI?

It is an archive where documents are classified automatically and can be searched by meaning, with a question in plain language, getting an answer that cites the document and the page it comes from. The original stays what it is: AI helps you find it and read it.

Do you need to move all your documents to a new program?

Not necessarily. The system can read the folders and services the company already uses and build a search index on top. Moving files is only useful if they are currently scattered in an unmanageable way or have no permissions.

Can AI make up the content of a contract?

It can make mistakes, which is why every answer must show the passage of the document it comes from, so that a person can verify it. If the system cannot find a source, it must say it does not know instead of answering anyway.

Who can see what documents?

Only the people entitled to see them: the archive's permissions must also apply to search, otherwise a question put to the AI could reveal the content of a confidential document. Permissions are defined by role and access is logged.

How long should documents be kept?

It depends on the type. Accounting records are kept for ten years from the last entry under the Civil Code; other documents are subject to other obligations and to the GDPR principle of not keeping personal data longer than necessary. Retention rules are defined by the company with its own consultant.

Does an archive with AI replace compliant digital preservation?

No. Digital preservation of documents with legal value follows its own rules, set by the Digital Administration Code and the AgID guidelines. An archive with intelligent search is a working tool that sits alongside it, not a replacement.

How much does it cost?

For a knowledge base on company documents, Giallo Studio's indicative ranges run from €6,000 to €25,000 excluding VAT, depending on the volume and format of the documents, permissions and sensitive data. It is an order of magnitude, not a quote.

Put it into practice

Let's turn this guide into your first live workflow.

Tell us what process you want to lighten: we evaluate feasibility, return and first operational step.