-
Files supported:
- Images: bmp, cr2, crw, dcm, dicm, dicom, dng, gif, heic, jpeg, jpg, nef, png, raf, raw, svg, tga, tif, tiff, webp
- Design/CAD: ai, dwg, eps, ps, psd, xbd, xdw
- Documents: boxcanvas, boxnote, doc, docx, gdoc, msg, odt, pages, pdf, rtf, webdoc, wpd
- Presentations: gslide, gslides, key, odp, ppt, pptx
- Spreadsheets: csv, gsheet, numbers, ods, tsv, xls, xlsm, xlsx
- Code/text: as, as3, asm, bat, c, cc, cmake, cpp, cs, css, cxx, diff, erb, groovy, h, haml, hh, htm, html, java, js, json, less, log, m, make, md, ml, mm, php, pl, plist, properties, py, rb, rst, sass, scala, scm, script, sh, sml, sql, txt, vi, vim, xhtml, xml, xsd, xsl, yaml
- Enablement: An Enterprise admin must enable Box AI before you can use Box Extract
- Agent types: Standard Extract Agent and Enhanced Extract Agent
-
Sources per agent: Up to 10 folders
- Box Extract currently only supports file extraction at the folder root. Subfolders are not processed.
- Agent limit per user: 100
- You cannot share Custom Extract Agents with other users. Only the user who creates a Custom Extract Agent can access and run it at scale.
Create a Custom Extract Agent
- Navigate to Automate and select the Extract tab.
- Click New+ and select Custom Extract Agent.
- Select up to 10 files to reference and extract data from, using the Custom Extract Agent.

- Generating a new metadata template with Box AI.
- Creating a new metadata template manually.
- Using an existing metadata template.

- Box AI template generation and manual template creation are available for Admins and Co-Admins only.
- Metadata templates are configured by Admins or Co-Admins via the Admin Console. See Customizing Metadata Templates to learn more.
- Managed users can use or replace an existing metadata template, but cannot create, generate, or edit metadata templates. The template … menu is streamlined for managed users to remove those options.
Generate a new metadata template with Box AI

- Generating a new metadata template with Box AI is a paid feature that uses premium models only. See Box AI pricing to learn more.
- Selection of the Box AI Standard or Box AI Enhanced Extract Agent applies only to data extraction processes. It does not apply to AI-generated metadata template creation.
Create a new metadata template manually

- Text
- Number
- Date
- Dropdown
- Taxonomy
Use an existing metadata template
From the configuration page of the Custom Extract Agent, choose a Metadata Template from a list of available templates. This option is available for all users and groups.- By default, all fields are selected. However, you can select or deselect which fields from the selected metadata template you want to extract data to.
- On existing Custom Extract Agents, managed users do not see the Add field and Save template buttons on the side panel.
- After a template is saved, the field name and field type are read-only for managed users. To change field definitions, an Admin or Co-Admin must edit the template in the Admin Console.
Once a metadata template is created and saved, it becomes available across the enterprise for use outside of Extract agents.
Configure the agent
- After you choose a metadata template and fields, rename the Custom Extract Agent by clicking the ellipsis (…) and then selecting Rename. The character limit for the name is 255 characters.
- Select the AI Agent you want to use:
- Box AI Standard Extract Agent: Recommended for high-volume, structured or semi-structured documents with 50 pages or less and fewer than 20 extraction fields.
- Box AI Enhanced Extract Agent: Recommended for complex, large, or unstructured documents with 50 pages or more and more than 20 extraction fields for advanced use cases requiring deep insights and precision.
- Enable the metadata fields you want to extract. At least one field must be enabled to save the Custom Extract Agent. You can also toggle all metadata fields on for extraction. Supported field types include:
- Text
- Number
- Date
- Dropdown
- Taxonomy
- Add AI Instructions (recommended) for more accurate and precise extraction results. Attach short, structured prompts per field including details such as where the field is located, expected format, validation rules, edge cases, and more. The current prompt limit is 5,000 characters.
- Select the extraction policy that determines whether the extraction process preserves existing metadata or overwrites it entirely.
Replacing a metadata template in a Custom Extract Agent restores all existing settings, including AI instructions and prompts.
Activate and attach source folders
- After you save the Custom Extract Agent, you can activate or deactivate it and apply it to up to 10 source folders by clicking the ellipsis (…) and selecting Add Source Folder.
- You can add folders to inactive Custom Extract Agents.
- When the Custom Extract Agent is active and a source folder is attached, Box Extract automatically extracts data from uploaded files and applies that data as metadata.
- Monitor the source folders for newly uploaded files to confirm extraction completes as expected.
- Deactivating the agent stops new extraction processes. Previously extracted data remains as metadata on the associated files.
Test and run extraction
Select Test Extraction on the agent configuration page to test the agent against sample files before activating it. For managed users, the button appears on the side panel, outside the template … menu, so you can add sample files and validate results before running the agent at scale. For admins, the button appears as Run extraction inside the template … menu. Extraction runs only when you select Test Extraction or Run Extraction. Box does not automatically trigger extraction when you:- Upload a file to an agent that already has a template selected.
- Replace a template on an existing agent.
Troubleshooting
- If the template has been deleted or is inaccessible, select another template or contact your administrator for assistance.
- If enabled template fields have been removed, update and save the agent configuration.
- If the source folder or file has been deleted or you lost permission, restore the content or source manually.
- If activation fails due to missing configuration, ensure at least one field is enabled and that the template is valid.
Best practices
- Use consistent, descriptive naming when creating or modifying a Custom Extract Agent name to simplify large-scale management.
- In the AI instructions, be as descriptive with as much detail as possible related to the document being extracted for more accurate and precise results.
- If you are not receiving the extraction results you want, try adjusting the AI instructions or revising your prompts until you achieve desired results.
- Use the Box AI Standard Extract Agent for consistent, high-volume extraction or the Box AI Enhanced Extract Agent for more complex documents requiring higher accuracy.
- Confirm folder permissions and template visibility with Admins or Co-Admins before activating agents.