AI & Automation

Build or Buy a Document System? Notes From Running Our Own

Most companies should buy a document management system. Three or more of four triggers justify a build, each with a one-hour test. Notes from building Arhivix.

Nemanja Marjanov
Co-Founder & CEO
| · 9 min read
Build or Buy a Document System? Notes From Running Our Own

Most companies should buy a document management system. We have built and run Arhivix, and we say the same. Buying starts to fail in four cases: documents arrive from several sources, they must be routed into approvals automatically, each customer or partner needs an isolated space, or auditors and your own software need a per-document trail and API access. If one or none of those describes you, buy, and spend the build budget elsewhere.

A disclosure first. Notix builds custom software and also sells a system of its own that automates document processes, Arhivix, which is itself a buy option. So we have a stake on both sides. The advice below holds whatever you buy, and every threshold in it is our rule of thumb, not data.

Why does a team that runs its own document system say buy?

Because we know what the work is. Arhivix keeps each customer’s data logically isolated and is used by 500+ companies in Serbia and the region. Two years after launch, it is in production, and 92% of everything uploaded is classified automatically, an internal production statistic. It reads each incoming document, files email attachments by each customer’s rules and notifies the right people.

Running it means owning a product, with intake, classification, permissions, imports and upkeep, and no finish date. Most companies have a better use for that budget. The tests below show whether you are the exception.

Is SharePoint good for document management?

For most companies, yes. SharePoint, Dropbox and Google Drive store, sync and share files well, and your people already know them. SharePoint also extends with workflow: Microsoft documents that Power Automate can start an approval when a new item is added to a list created with Microsoft Lists, so that somebody reviews it (Microsoft Learn, October 2026).

SharePoint’s published limits are generous. A library can hold up to 30 million files and folders, and a single file can be up to 250 GB (Microsoft Learn, SharePoint limits, October 2026). In our judgment, a company of your size is unlikely to meet either. Dropbox and Google Drive publish limits of their own, which you can check the same way.

The limits that matter concern access. On the same page, Microsoft states that once a list, library or folder holds more than 100,000 items, you cannot break permission inheritance on it, although you still can on individual items. The supported limit for unique security scopes per list or library is 50,000, and the recommended limit is 5,000 (Microsoft Learn, October 2026).

In our reading, not Microsoft’s, these numbers suit permissions set per folder or library, not a separate audience for every document.

In our judgment, outgrowing these tools is almost never a storage problem. It is a workflow and access problem: files arrive from many places and need reading and routing to a person, and different outsiders must see different documents. Before you compare SharePoint alternatives, name the limit you hit first. If it is not one of the four below, another store will have the same wall.

When does buying a document management system fail?

In our judgment, buying starts to fail as these four things pile up. Each has a test you can run on your own setup in about an hour.

Many sources feeding one pipeline

Email, scans, uploads, mobile, an API and partner portals each deliver files in their own way. As our rule of thumb, three or more sources feeding one pipeline is where a bought store starts to strain, because someone must write and maintain the glue.

One-hour test: list every source a document came from last month and count those whose files a person had to move or rename before they reached the right place.

Routing into approvals

The need is for the document itself to create a task for a named person the moment it arrives: an invoice goes to its approver, a contract to its renewal owner. A flow can handle a fixed route, such as one library per document type. It strains when the route depends on what is in the file, or when each exception needs another flow.

One-hour test: trace the last invoice or contract from arrival to the person who had to act on it; if a human forward was needed to get it there, routing is your trigger.

Tenant isolation

If you serve your own customers or partners, each needs separated data and access, and the separation must hold in search, shares and exports, not only in folders. Two Arhivix features bear on this: each customer’s data is logically isolated, with authorization checked on every request and every document, and a company’s own S3-compatible storage is an Enterprise option on request. Our post on multi-tenant architecture covers the design side.

One-hour test: create two test customers with one file each and search as the second for a word that appears only in the first customer’s file; a hit is the trigger.

Integration and audit depth

If the document system must be part of your own software, you need a REST API, webhooks and single sign-on. If auditors ask who opened, changed or shared a document, you need an audit trail you can query, not only view on a screen. If the buy option exposes these only on its top tier, price that tier, not the entry one.

One-hour test: pick one document, produce who opened, changed and shared it last month, then fetch it through the API from a script; a step you cannot do on your current plan is the trigger.

What does a custom document management system involve?

The effort sits in the workflow, not the store. Here is its shape, without dollar figures. If you hold a quote for a custom build, look for each of these in it.

  • Ingest sources. Each is a small project: authentication, formats, retries, and what happens when the same file arrives twice.
  • Classification quality. A demo works on common document types. Quality is decided by the long tail of odd scans, unusual layouts and mixed languages, and by what happens when the system is unsure. Our guide to AI document processing covers how such pipelines work, and a per-page extraction bill set against your own pipeline covers the pricing.
  • Routing rules. Who gets what, in which order, and what happens when that person is away. Rules change when the organization does, so someone must own them.
  • Permissions. Roles, groups, exceptions for single documents, and outsiders. In our judgment this is the part hardest to retrofit.
  • Importing an existing archive. An import that drops the access rules is not usable. Arhivix can import a whole Microsoft 365 tenant with its groups and access rules, and it has a Google Workspace integration.
  • Ongoing maintenance. File formats, libraries and the services you connect to keep changing, and the work has no end date.

What is not a good reason to build?

Search, folders, versioning and e-signature are solved products. If your requirements read like that list, buy.

Where did the work go in our own build?

Four parts of Arhivix answer the problems above. This is our experience with one product, not a rule for every build.

  • Import with access rules. An archive does not move if permissions must be rebuilt by hand.
  • Per-document access. Once customers, staff and outside parties share a system, rules on folders stop being enough.
  • Routing. Reading and filing a file is half the job; the other half is that the right people see it.
  • A person in the loop. A classifier will meet documents it is not sure about. In Arhivix’s document processing, every read value is a proposal until a person confirms it.

Is there a middle path between buying and building?

Yes: buy the store, build the workflow. Keep SharePoint or Drive as the place documents live, and build only the intake and routing layer on top, through the store’s API and webhooks. Both offer them: SharePoint lists and OneDrive files through Microsoft Graph change notifications and Drive through push notifications (Microsoft Learn and Google for Developers, October 2026).

In our judgment this is cheaper when the store’s permissions already fit, your people like working in it, and only intake and routing are missing: you build one layer, not a system. It becomes two systems when the layer must mirror permissions or keep its own copy of metadata.

Microsoft’s documentation (Microsoft Learn, October 2026) says change notification subscriptions expire and must be renewed, and that notifications can be dropped for good while an endpoint is slow or unresponsive. So a layer built on webhooks needs a renewal job and a periodic sweep of the store as a backstop, with someone who owns both. Whether to write it in a low-code tool or in code is covered in our comparison of low-code and custom development.

What if you already own a half-built document system?

Most of what we run, we built from the first line. So this is a template of checks you can mostly run yourself, not a story about someone else’s code:

  • Restore: can you restore the latest backup into an empty environment and open a document?
  • Keys: do the code, cloud account, domain and storage sit in accounts you control? (Who holds the keys)
  • Change: can someone besides the author change it, with a way back for each release?
  • State and access: does a document’s status live in one place, and is it written down who can see what?

Our Technical Review takes one to two weeks with read-only access. You get a map of the system and a list of its risks, worst first, then a plan and a fixed price for what comes next, and you can stop there. The fee is fixed, agreed in writing before we start and scaled to the size of the system. What such a report contains is described separately.

If a rewrite is the better call, you will hear it in the review, not after the contract. For a document tool, in our judgment, the better call is sometimes to retire it and buy. The details are on our ownership page.

How do you decide?

A template for the build versus buy decision, to fill in about your own setup. The thresholds are our rule of thumb. Count the yeses in the first four rows.

Question If yes If no
Do documents reach you from three or more sources that must end up in one pipeline? Trigger one Not a reason to build
Must an arriving document create a task or approval for a specific person? Trigger two, unless a flow on a fixed route covers it Not a reason to build
Do your customers or partners each need isolated data and access? Trigger three: run the two-customer test on the buy option Not a reason to build
Do you need a queryable per-document audit trail and API or webhook access? Trigger four: price the plan that includes them Not a reason to build
Is volume, file size or storage the actual problem? Almost never. SharePoint allows up to 30 million files and folders per library and 250 GB per file (Microsoft Learn, October 2026) Storage is not a reason to build
Is the requirement just search, folders, versions or e-signature? Buy. These are solved products Go by the count above

Our rule of thumb: three or more yeses points to a build, zero or one means buy, and two usually points to the hybrid.

Buy, hybrid or build

Option Fits when (our rule of thumb) What it takes to maintain
Buy Zero or one trigger, or the need is search, folders, versions or e-signature Configuration, user administration and renewals. The vendor carries the product
Hybrid Two triggers, mostly intake and routing, and the store’s permissions already fit One layer on top of the store, with renewals, a periodic sweep and an owner; it becomes two systems if the layer must mirror permissions or keep its own metadata
Build Three or more triggers, or the document system is part of what you sell A product, with a roadmap, security work, imports, support and classification quality, and no end date

What is a sensible next step?

Run the four one-hour tests first. They take an afternoon. If they point to a build, custom software development describes how we work. If you already have a half-built tool, the ownership page explains the Technical Review.

Need AI That Actually Delivers ROI?

At one client, our AI automation cut response time 70% and lifted appointments 35%. At FENIX, the build paid for itself in under four months.

Share

Get insights like this in your inbox

Practical tips on software development, AI automation, and tech strategy, delivered weekly.

No spam. Unsubscribe anytime.

Ready to Build Your Next Project?

From custom software to AI automation. Our own products run in 500+ companies, and the client work is in our case studies. Let's discuss your project.

Nemanja Marjanov

Co-Founder & CEO

Software architect behind Arhivix, the in-house system that automates document processes, used by 500+ companies. Leads Notix engineering across 50+ shipped projects.