ShareFlow
All automations
Document securityTested on a tenant

Secure copy of contracts to an archive site

Every contract dropped in the library is copied to a restricted archive site, timestamped, and the original is marked as archived.

contracts copied
3
contracts copied
SharePoint sites
2
SharePoint sites
from upload to archive
< 1 min
from upload to archive
Archiving flow in the designer
Five steps: trigger, read, copy, timestamp, notification.

The need

Contracts lived in a team library where everyone can edit or delete. One deleted synced folder is enough to lose sensitive documents; a reference copy nobody can touch was needed.

Trigger

A file is created in the Contracts library of the team site.

Connectors

  • SharePoint
  • Office 365 Outlook

What the flow does

  1. 1Reads the content of the new file.
  2. 2Creates the copy in the Records Archive site library, prefixed with today's date (2026-11-15_NDA-Fabrikam.pdf): nothing is ever overwritten.
  3. 3Fills the Archived on column on the original.
  4. 4Notifies the records manager with the path of the copy.

The result

  • The archive site is read-only for teams: the copy survives a deletion or a bad sync.
  • The Archived on column lets you filter what has not been secured yet.

Tenant screenshots

Contracts library with the Archived on column
Source library: each contract shows its archive date.
Records Archive site library
Archive site: timestamped copies, safe from deletions.

Flows built and run on the ShareFlow demo tenant, with fictitious data. Power Automate interface in French, content in English.

Power BI in SharePoint

The related Power BI dashboard

https://shareflow365.sharepoint.com/sites/Demo/SitePages/contracts-dashboard.aspx
SharePoint
⌕  Search this site
VL
DDemo☆ Following    ⤴ Share
HomePurchasingContractsNew startersIT service deskDocuments

Contract register

Contracts archived by the flow, upcoming expiry dates and restricted documents, read from the Records Archive site library.

✎ Edit
Contract register· Refreshed 1 h agoOpen in Power BI ↗
Contract type
All⌄
Expiry
Next 12 months⌄
Counterparty
All⌄
Contracts archived
148
▲100% of uploads since June
Expiring within 90 days
11
●4 of them within 30 days
Restricted access
37
employment contracts, owners only
Upload to archive
48 s
▲median run time
Contracts archived per month by type
SupplierCustomerNDAEmployment
2040Jun · Supplier: 7Jun · Customer: 4Jun · NDA: 3Jun · Employment: 418JunJul · Supplier: 8Jul · Customer: 5Jul · NDA: 4Jul · Employment: 421JulAug · Supplier: 7Aug · Customer: 5Aug · NDA: 3Aug · Employment: 419AugSep · Supplier: 10Sep · Customer: 7Sep · NDA: 5Sep · Employment: 527SepOct · Supplier: 12Oct · Customer: 8Oct · NDA: 5Oct · Employment: 631OctNov · Supplier: 11Nov · Customer: 9Nov · NDA: 6Nov · Employment: 632Nov
Active contracts per counterparty
Contoso HardwareContoso Hardware: 1414AdatumAdatum: 1111FabrikamFabrikam: 99NorthwindNorthwind: 77LitwareLitware: 55
Expiry dates to plan for
ContractTypeCounterpartyArchived onExpires onTime left
2026-11-15_Supplier-Agreement-Contoso-2026.pdfSupplierContoso Hardware15/11/202631/12/2026●46 d
2026-06-03_NDA-Litware.pdfNDALitware03/06/202603/12/2026▼18 d
2026-07-21_Customer-Contract-Northwind.pdfCustomerNorthwind21/07/202621/01/2027●67 d
RegisterExpiry datesCounterparties— ◯ +  100 %  ⛶
Source lists
Contracts Records Archive / Documents Automation Log

Design mockup: Power BI report designed from this flow’s lists and embedded in a SharePoint page with the Power BI web part. Fictitious data; the demo tenant has no Power BI licence.

What I adapt for a client

  • Filing by contract type or year in the archive.
  • Automatic Purview retention label.
  • PDF conversion before archiving for Word files.

A process to automate?

Walk me through the current process (who enters, who approves, where the files are): in 30 minutes we see what Power Automate can take over.

Book a call
Next automationNew employee onboarding