Test before migration
Do not rename anything in the legacy archive yet. Apply the convention to one library with 200 to 500 files from a single team and try to break it.
Run through the things that actually fail in production:
-
Sort by name and confirm chronological order holds
-
Search for a counterparty name and check that results return from both the filename and the metadata column
-
Sync the library to a desktop and watch for path-length or character errors
-
Open older shared links after a rename, because renaming a file changes its URL and can break links people have saved
-
Upload a file whose new name matches an existing one and see what the library does in document management software on the document management platform
Then test comprehension, which is the part most pilots skip. Give three people who weren't involved in designing the convention a document and the one-page rule, and ask them to name and file it. If any of them hesitates or gets it wrong, the rule is unclear. Fix the wording and repeat.
Refine until the pilot library goes a full week without a noncompliant upload. That's your signal the pattern is teachable, and only then does automation make sense.
Enforce rules in SharePoint
A convention that depends on memory decays within a month on a document management platform. Automation is what holds it in document management software, and Power Automate gives you the hook: a flow triggered when a file is created in the library.
Structure it in three branches:
-
Validate. Read the filename without its extension and split on the underscore. Check the segment count and verify segment one against your approved department list and segment two against your document type list, with the last segment tested against the YYYY-MM-DD pattern. Confirm the total length sits under your cap.
-
Rename what's safely predictable. If the department comes from the folder path and the document type is unambiguous, rebuild the name and update the file. Keep this branch narrow, because a wrong automatic rename is worse than no rename.
-
Route the rest. For anything the flow can't resolve, move the file to a Review subfolder and send the uploader a Teams message that names the exact problem and shows one correct example.
Never let the flow delete or silently overwrite. Log every action to a SharePoint list with the original name and the reason for the decision. That log becomes your evidence during the rollout, as it shows which rules trip most often and which teams need a second training pass.
Be careful with the trigger. A flow that renames a file can re-fire on its own change, so add a condition that skips files already matching the pattern. Otherwise you get a loop that burns through your action quota over a weekend.
Roll out the standard
Publish the one-page rule with five worked examples, two of which are edge cases where a field is legitimately omitted. Examples do more teaching than explanation, so show a compliant contract and a name that fails with the reason attached.
Assign an owner for the rules. One named person approves new abbreviations and maintains the approved-terms list, with a monthly review of the exception log. Without that, the vocabulary drifts and the flow starts rejecting legitimate uploads.
Train by team. Fifteen minutes with the people who upload most, walking through their own documents, catches the objections that a generic session never surfaces. Watch the exception log for the first month and treat repeat failures as a design problem in your rules.
Migrate legacy files last, in phases, by team or date range. Start with active documents from the last twelve months, because those are the ones people search for. Archived material can keep its old names behind a metadata layer, since renaming a five-year-old file breaks links and gains you little. A phased migration also protects you against the copy limits in SharePoint, where a single move can't exceed 100GB or 30,000 files.
Add Agrello to workflow
Governed names and metadata survive the moment a document gets signed, which is usually where the chain breaks. Agrello is a document management system and e-signing platform that collects e-signatures using national e-ID or its own advanced electronic signature, then stores the executed file with the audit evidence attached via document management software. Its Word add-in sends documents for signature without leaving the editor and outputs ASiC or PDF, so your naming pattern carries through instead of being replaced by a vendor's reference number.
Set your convention first, then let signing and storage follow it. If you want the executed-agreement side of your document management software to hold the same standard, book a consultation with Agrello.