Capabilities

Create a SharePoint document library with AI, voice command demo

How to create a SharePoint document library with custom metadata columns using natural language. Live demo: an Agreements library with date, status, and type columns in under 90 seconds.

Daniel AndersonDaniel Anderson5 min read

A document library with three metadata columns, named correctly, with choice options on two of them, created in under 90 seconds from one voice prompt. The agreements library demo shows the entire flow from empty site to ready-to-upload library.

If your team builds document libraries regularly — for contracts, policies, project deliverables, vendor agreements, marketing assets — this is the fastest path to a properly structured library since SharePoint shipped.

The prompt

The demo uses a single multi-clause voice prompt to create the library and all its metadata columns at once.

"Can you please create a document library called Agreements. Now in this Agreements library we want to have three columns. One for Effective Date — that should be a date column. I want one for the Agreement Status — the status options should be Draft, In Review, and Pending Legal Review. We also want a column called Agreement Type with the options being Customer Agreement, Sales Agreement, and Service Agreement."

What this prompt encodes:

AI in SharePoint parses the prompt, plans the work, checks the site for an existing library with that name first, and then creates the structure.

What AI in SharePoint does behind the scenes

Three things happen in roughly this order.

Duplicate check. The agent searches the site for an existing library called Agreements. If one exists, it surfaces that in chat and asks the user how to proceed. This is a small but important safety net; manual library creation does not check by default and accidentally creating two libraries with the same purpose is a common pattern in legacy sites.

Library creation. The new Agreements library is created with the standard SharePoint library template. Default columns (Name, Modified, Modified By, file size) appear automatically.

Custom column configuration. The three columns described in the prompt are added:

All three columns are added to the default view so users see them immediately when they open the library.

The whole sequence takes around 45 seconds end to end.

Verification

In the video, the user opens the new library after creation to verify the structure. The columns are present and configured correctly:

The user uploads three test documents to the library. The columns are editable in grid view, the choice column dropdowns work as expected, and the date column accepts date values.

No additional configuration is required. The library is ready for the team to use.

Why this matters for document workflows

Three scenarios where this pattern saves the most time.

New team site setup. A team's first set of document libraries used to be a half-day of work: figure out the libraries, define the columns, set the choice options, configure the views. With voice creation, the same setup takes under thirty minutes for most team sites.

Standardised library templates. Teams that need consistent library structures across multiple sites (every project gets a Contracts library, every department gets a Policies library) now have a fast way to replicate the structure verbally rather than copying configurations through PowerShell scripts.

Mid-flight column additions. When a team realises mid-project that they need an extra column on an existing library, the conversational flow handles it. "Add a Review Status choice column to the Agreements library with values Awaiting Review, Reviewed, Returned." No navigation to library settings; the change is made in chat.

When you'd want to be explicit about column types

The inference works for most cases but a few situations benefit from being explicit:

Numbers. "Total contract value" could be a number or text. Saying "as a number column" removes the ambiguity.

Currency. Treat as a number column with the appropriate format applied.

People columns. "Owner" or "Contact" could be text or a Person field. Saying "as a Person column" clarifies.

Multi-line text. Notes, descriptions, comments — by default these get treated as single-line text. Specify "as a multi-line text column" if you want the larger field.

Yes/No. A boolean column needs to be specified explicitly; saying "approved or not" might create a choice column with two options instead.

For routine library structures (file metadata, classification choices, dates, statuses), the inference works without explicit type hints.

Where this fits in the broader pattern

This is part of the What to Produce capability in Copilot in SharePoint. The same voice-driven approach extends to:

The full breakdown of the three Copilot in SharePoint capabilities (What to Know, How to Act, What to Produce) is in the three capabilities article.

What to do this week

If your team builds document libraries more than once a quarter, two actions.

  1. Try this on your next library build. Pick a small library you need anyway. Dictate the structure (library name, columns, choice options) as one prompt. Note where the inference lands correctly and where being explicit would have helped. By the second or third library you build, the prompt pattern becomes muscle memory.

  2. Put a SharePoint.md context file on the site first so the library structures inherit your team's naming conventions, metadata standards, and required fields. The template is the fastest way to get there. With it in place, you can say "create a contracts library following our standards" and the agent applies the right column patterns automatically.

For organisations replatforming several team sites onto Copilot in SharePoint patterns, the Copilot in SharePoint Immersive is a one-day session where we build the libraries, lists, SharePoint.md, and first three Skills for one of your most active sites together.

Get the SharePoint.md template

The site context file pattern. Drops into /Agent Assets/SHAREPOINT.md. Loads automatically into every chat on your site. Free.

Frequently asked questions

The questions readers ask most

How do I create a SharePoint document library using AI?

Open Copilot in SharePoint on a site, describe the document library you need including the name and any metadata columns, and AI in SharePoint creates the library with that structure. The user does not navigate to the New > Document Library UI; the prompt does the whole job.

Can the AI add metadata columns when creating a library?

Yes. Describe the columns you need (name, type, choice options if applicable) as part of the same prompt that creates the library. In the demo, three columns are created with the library: a date column, a choice column with three options for status, and another choice column with three options for agreement type. Inference picks up the column type from the wording.

Does AI in SharePoint check for existing libraries before creating?

Yes. The first thing the agent does is search the site for a library with the same name. If one exists, it tells the user and asks how to proceed. This avoids accidentally creating duplicate libraries when one already exists.

You can but you do not have to. AI in SharePoint infers column types from how you describe them: 'effective date should be a date column' creates a date column, 'status with options for draft, in review, and pending legal review' creates a choice column with those three values. For ambiguous columns, being explicit (text, choice, number, date) helps.

Do the columns appear in the default view?

Yes. New columns are added to the default view automatically. You do not need to manually add them after creation. If you want a different view configuration, you can ask AI in SharePoint to adjust the view in the same chat.

What if I want to upload existing documents into the new library?

Upload them through the SharePoint UI as usual. AI in SharePoint can also help apply metadata to existing documents after upload using the autofill columns feature or through chat ('apply the appropriate status to these documents based on their content'). The library creation does not import documents itself.

Daniel Anderson

Daniel Anderson

Microsoft MVP · 20 years on M365

Independent. Australian-based. 8,000+ newsletter subscribers at danielanderson.io. Building Copilot in SharePoint Skills in client tenants since the Knowledge Agent preview in September 2025.

Connect on LinkedIn →