SharedSamples.org
SharePoint Skill

File Classifier

Classifies files in a SharePoint document library by reading their content and matching them to known content types (Contracts, Invoices, Purchase Orders). Creates metadata columns and extracts values automatically.

File Classifier

About this sample

Classifies files in a SharePoint document library by reading their content and matching them to known content types: Contracts, Invoices, and Purchase Orders. Classify by document purpose and structure — not keywords alone.

Creates the appropriate metadata columns for each content type (identifier, key party, critical date, financial amount, status), extracts values from each file, and saves them automatically. Also creates a File classification Choice column with a metadata extraction prompt for future autofill.

Products & metadata

SharePointMicrosoft 365 CopilotSharePoint-AI-SkillDocument Management