Extension Kit for M-Files | Unitfly
  • Solutions
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Core Expert Tips
      • Extension Kit Academy
      • Newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
  • Solutions
    • DOCUMENT ACTIONS

      • Work with barcodes, watermarks, and images
        Automatically add and read barcodes, or add or remove watermarks and images.
      • Encrypt and decrypt files
        Automatically encrypt and decrypt files in M-Files.
      • Work with electronic and digital signatures
        Automatically add signatures and digital certificates to your documents.
      • Gain more control over your PDF files
        Merge, split, convert, undo conversion, and revert to the original document.
      • Sync data between Excel or Word with M-Files
        Populate Excel and Word files or read data from documents to update/create objects in M-Files.
      • Perform advanced file export/import
        Import files from SFTP or file share and read associated metadata. Export files and metadata. Zip/unzip documents.
      • AI and ML classification and metadata extraction
        Use the power of AI and Machine Learning to automatically classify and extract important documents.

      OBJECT ACTIONS

      • Automate object creation and duplication
        Create and duplicate objects from templates and sync between vaults.
      • Validate objects and metadata
        Control object permissions and validate related objects and metadata.
      • Control object numbering and versioning
        Define any custom object versioning and numbering formats.

      INTEGRATIONS

      • Advanced SQL integration
        Set property values from SQL, call stored procedures, execute SQL functions, and more.
      • HTTP integrations
        Keep systems in synchronization using HTTPS and REST API.
      • Microsoft 365 and Microsoft Azure integration
        Use Azure or Microsoft 365 services to exchange data with M-Files.

      REPORTING AND ANALYTICS

      • Create reports from M-Files data
        Define the dataset and create scheduled or user-triggered reports in multiple formats.
      • Export M-Files data for process analysis
        Export M-Files data in event-based format to analyze processes.

      PROPERTY OPERATIONS

      • Automatically set property values
        Use prebuilt expressions like Math, Date, Regex, and other operations.
      • Copy and set property values
        Set properties on objects or copy from other based on different rules and triggers.
      • Count and math operations on related objects
        Enumerate related objects and apply math operations on properties.

      NOTIFICATIONS

      • Send emails to external parties
        Send branded emails to external parties based on predefined rules.
      • Send emails with attachments
        Define which documents you want to automatically attach to your emails.

      UI

      • Embed web pages in M-Files
        Display external reports and web pages directly in M-Files tabs.
      • No-code app builder
        Create custom business applications without coding
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
    • Auclio ↗
  • Pricing
  • Resellers
  • Resources
    • Learning
      • Insights
      • Expert tips
      • Extension Kit Academy
      • Subscribe to our newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
Get started free
Extension Kit for M-Files | Unitfly
  • Solutions
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
  • Pricing
  • Resources
    • Learning
      • Insights
      • Extension Kit Core Expert Tips
      • Extension Kit Academy
      • Newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
  • Solutions
    • DOCUMENT ACTIONS

      • Work with barcodes, watermarks, and images
        Automatically add and read barcodes, or add or remove watermarks and images.
      • Encrypt and decrypt files
        Automatically encrypt and decrypt files in M-Files.
      • Work with electronic and digital signatures
        Automatically add signatures and digital certificates to your documents.
      • Gain more control over your PDF files
        Merge, split, convert, undo conversion, and revert to the original document.
      • Sync data between Excel or Word with M-Files
        Populate Excel and Word files or read data from documents to update/create objects in M-Files.
      • Perform advanced file export/import
        Import files from SFTP or file share and read associated metadata. Export files and metadata. Zip/unzip documents.
      • AI and ML classification and metadata extraction
        Use the power of AI and Machine Learning to automatically classify and extract important documents.

      OBJECT ACTIONS

      • Automate object creation and duplication
        Create and duplicate objects from templates and sync between vaults.
      • Validate objects and metadata
        Control object permissions and validate related objects and metadata.
      • Control object numbering and versioning
        Define any custom object versioning and numbering formats.

      INTEGRATIONS

      • Advanced SQL integration
        Set property values from SQL, call stored procedures, execute SQL functions, and more.
      • HTTP integrations
        Keep systems in synchronization using HTTPS and REST API.
      • Microsoft 365 and Microsoft Azure integration
        Use Azure or Microsoft 365 services to exchange data with M-Files.

      REPORTING AND ANALYTICS

      • Create reports from M-Files data
        Define the dataset and create scheduled or user-triggered reports in multiple formats.
      • Export M-Files data for process analysis
        Export M-Files data in event-based format to analyze processes.

      PROPERTY OPERATIONS

      • Automatically set property values
        Use prebuilt expressions like Math, Date, Regex, and other operations.
      • Copy and set property values
        Set properties on objects or copy from other based on different rules and triggers.
      • Count and math operations on related objects
        Enumerate related objects and apply math operations on properties.

      NOTIFICATIONS

      • Send emails to external parties
        Send branded emails to external parties based on predefined rules.
      • Send emails with attachments
        Define which documents you want to automatically attach to your emails.

      UI

      • Embed web pages in M-Files
        Display external reports and web pages directly in M-Files tabs.
      • No-code app builder
        Create custom business applications without coding
  • Products
    • Extension Kit Core
    • Extension Kit Document AI
    • Extension Kit Cloud Connector
    • Extension Kit REST Object Type
    • Extension Kit Process Intelligence
    • Auclio ↗
  • Pricing
  • Resellers
  • Resources
    • Learning
      • Insights
      • Expert tips
      • Extension Kit Academy
      • Subscribe to our newsletters
    • Technical
      • Documentation
      • Release notes
      • Download center
      • Community
    • Get started
      • Free trial
      • Demo Vault
    • Get in touch
      • Professional services
      • Become a reseller
      • Request a demo
      • Contact us
Get started free
Microsoft Foundry AI Action
  • Do more with M-Files

Extension Kit for M-Files | Documentation

Getting Started

  • About Extension Kit Core
  • User Interface
  • Installation
  • Groups and Modules

Essentials

  • How to Create Rules
  • Rule Execution
  • Common Features

Configurations

  • Orchestrator
    • About the Module
    • Configuration
    • Use Cases
  • Object Templates
    • About the Module
    • Configuration
    • Use Cases
  • Environments
    • Calendar
    • Mail server
  • Property Calculations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options
      • Calculation options
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Property Operations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Target-related Options
      • Property error handling behaviour and Act as user
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Document Processing
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options and State actions
      • Action: Convert to PDF, Undo PDF conversion or Convert to searchable PDF
      • Action: Add or Remove watermark
      • Action: Add or Remove signature
      • Action: Add digital signature
      • Action: Merge or Undo merge documents
      • Action: Restore original / Sync file names with object title
      • Action: Add or Read barcode
      • Action: Add, Replace or Remove file / Add blank page
      • Action: Split document
      • Action: Encrypt or Decrypt file
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto State Transition
    • About the Module
    • Configuration
    • Use Cases
  • E-mail Notifications
    • Module Introduction
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
    • Simple Rule Configuration
      • Triggering options
      • Mail server and email configuration
      • Delivery notification and Properties
    • Advanced Rule Configuration
      • Advanced rule configuration
  • Extended Assignments
    • About the Module
    • Configuration
    • Use Cases
  • Extended Auto Properties
    • About the Module
    • Configuration
    • Use Cases
  • Extended Permissions
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Permission Options
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Auto Numbering Properties
    • About the Module
    • Configuration
    • Use Cases
  • Object Operations
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Trigger-related Options
      • Action: Create objects
      • Action: Duplicate objects
      • Action: Delete objects
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Property Builder
    • About the Module
    • Configuration
    • Use Cases
  • Validation
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options
      • Property validation rules
    • Advanced Rule Configuration
      • Advanced rule configuration
      • Advanced Property validation rule configuration
  • SQL Integration
    • Module Introduction
    • Use Cases
    • Simple Rule Configuration
      • Triggering options and Execution mode
      • SQL settings: Query and Rollback query
      • Property setting options
      • SQL settings: Value from and Connection string
    • Advanced rule configuration
      • Advanced rule configuration
  • HTTP Integration
    • About the Module
    • Configuration
    • Use Cases
  • Excel Reader
    • About the Module
    • Use Cases
    • Configuration
  • Excel Writer
    • About the Module
    • Configuration
  • Word Reader
    • About the Module
    • Configuration
  • Word Writer
    • About the Module
    • Configuration
  • Extension Methods
    • About the Module
    • Use Cases
    • Configuration
  • Versioning
    • About the Module
    • Configuration
    • Use Cases
  • Reporting
    • About the Module
    • Configuration
    • Use Cases
    • Extension Kit – O365 OAuth Setup Manual
  • Data Transfer
    • Configuration
    • Use Cases
  • Vault to Vault
    • About the Module
    • Configuration
    • Use Cases
  • Archiving
    • Module Introduction
    • Simple Rule Configuration
      • Triggering options
      • Action type: Compress
      • Action type: Decompress
    • Advanced Rule Configuration
      • Advanced Rule Configuration
  • Embedded Dashboards
    • Module Introduction
    • Configuration
  • Document AI
    • Module Introduction
    • Simple rule configuration
      • Triggering options
      • Document AI options
      • Microsoft Foundry AI Action
      • Azure Document Intelligence AI Action
    • Advanced rule configuration
      • Advanced rule configuration
  • Logging
    • Logging
    • Targets
    • Logging: Best practices
    • Sending logs to support

Resources

  • Roadmap
  • Release Notes
  • Extension Kit Academy
  • Community and Support
  • FAQs
  • Expert tips
    • General features
    • Integrations
    • Property operations
    • Object operations
    • Content operations
    • Other modules
View Categories
  • Home
  • Documentation
  • Extension Kit Core
  • Configurations
  • Document AI
  • Simple rule configuration
  • Microsoft Foundry AI Action

Microsoft Foundry AI Action

Microsoft Foundry AI Action is a specific implementation of Document AI that uses Microsoft’s AI models for document processing. This action type provides advanced extraction and classification capabilities through Microsoft’s language models.

Several fields must be specified to configure a Microsoft Foundry AI Action:

  • Action Type
  • Model Selection
  • System Instructions

Additionally, optional fields are:

  • Set Properties
  • Create Object(s)
  • Classify Examples
  • Pages
  • Confidence Threshold

Below are descriptions of all Microsoft Foundry AI Action-related fields and their respective values.

Action Type #

Microsoft Foundry Action Type

Required field

The Action Type determines the operation that will be performed on the document using Microsoft Foundry AI models. Choose from the following options:

  • Extract (default): Choose this option to extract structured data from documents. The Extraction Model, Extraction System Instructions, Set Properties, and Create Object(s) fields become available.
  • Classify: Choose this option to automatically classify documents based on their content. The Classifier Model, Classifier System Instructions, and Classify Examples fields become available.

Model Selection #

The model selection varies based on the Action Type. The system displays only the relevant model field based on your selection.

Extraction Model #

Microsoft Foundry Action Type: Extract > Extraction Model

Displayed only when Action Type is set to Extract.

Specifies the Microsoft Foundry AI model to be used for data extraction operations. Select from the list of available extraction models configured for the Microsoft Foundry service in your environment.

The models are optimized for extracting structured information from various document types including invoices, contracts, forms, and general business documents.

Classifier Model #

Microsoft Foundry Action Type: Classify > Classifier Model

Displayed only when Action Type is set to Classify.

Specifies the Microsoft Foundry AI model to be used for document classification operations. Select from the list of available classifier models configured for the Microsoft Foundry service in your environment.

The classifier models are trained to categorize documents based on content, structure, and context.

System Instructions #

System instructions provide additional context and guidance to the AI model, helping it understand the specific requirements for processing your documents.

Extraction System Instructions #

Microsoft Foundry Action Type: Extract > Extraction System Instructions

Displayed only when Action Type is set to Extract.

Default value:

You are a document analysis assistant that extracts metadata from documents. You must respond ONLY with valid JSON. Do not include any explanatory text before or after the JSON.

Provide custom instructions to guide the extraction model. These instructions should:

  • Define the context and purpose of the extraction
  • Specify any formatting requirements
  • Clarify how the model should handle ambiguous data
  • Set expectations for the response format

Important: The model must return valid JSON output. Ensure your instructions emphasize this requirement if you modify the default text.

Classifier System Instructions #

Microsoft Foundry Action Type: Classify > Classifier System Instructions

Displayed only when Action Type is set to Classify.

Default value:

You are a document classification assistant. Classify documents using ONLY the labels provided in the examples. Do NOT invent, rename or create new labels. Respond ONLY with valid JSON containing the key '__CLASS__' and the selected label value.

Provide custom instructions to guide the classifier model. These instructions should:

  • Define the classification criteria
  • Emphasize the use of predefined labels from examples
  • Specify the expected JSON response format
  • Clarify how to handle edge cases

Important: The classifier must select from the labels provided in the Classify Examples. It should not create new labels or modify existing ones.

Set Properties #

Microsoft Foundry Action Type: Extract > Set Properties

Displayed only when Action Type is set to Extract.

Defines properties that will be populated with data extracted from the document by the LLM (Large Language Model). This configuration maps extracted information to specific M-Files properties.

  1. Expand the Set Properties section.
  2. Click on Add Property Mapping.
  3. Configure each property mapping.

Each property mapping includes:

  • Query Field: The name or identifier of the data field to extract from the document. This acts as an input term that tells the AI what information to look for.
  • Query Field Additional Description: Optional additional context or instructions to help the AI understand what data to extract and how to format it.
  • Target Property: The M-Files property where the extracted value will be stored.
  • Is Input Term: Indicates whether this field should be treated as an input term for the AI model.

Input Terms: Properties marked as input terms are automatically included in the AI processing context, helping the model understand what information needs to be extracted.

Create Object(s) #

Microsoft Foundry Action Type: Extract > Create Object(s)

Displayed only when Action Type is set to Extract.

Defines new M-Files objects that will be created based on data extracted from the document. This allows you to automatically generate related records such as line items, contact information, or subsidiary documents.

  1. Expand the Create Object(s) section.
  2. Click on Add New Object Configuration.
  3. Configure the object creation settings.

Each object configuration includes:

  • Object Type: The type of M-Files object to create
  • Class: The class to assign to the new object
  • Property Mappings: Defines which properties will be populated in the new object from extracted data
  • Input Terms: Specific terms or fields that the AI should extract to populate the new object

Input Terms Cache: The system automatically caches input terms from all configured new objects, ensuring the AI model has the necessary context to extract relevant information for object creation.

Classify Examples #

Microsoft Foundry Action Type: Classify > Classify Examples

Displayed only when Action Type is set to Classify.

Provides example documents or document characteristics to train and guide the Microsoft Foundry classifier. These examples are critical for accurate classification.

WARNING: If no examples are provided, classification will be skipped. The classifier requires examples to understand which labels to use and how to apply them.

  1. Expand the Classify Examples section.
  2. Click on Add Classify Example.
  3. Configure each example.

Each classification example should include:

  • Label: The exact classification label that should be applied (e.g., “Invoice”, “Contract”, “Receipt”)
  • Example Content: Sample text, keywords, or document characteristics that represent this classification
  • Context: Any additional information that helps distinguish this class from others

Best Practices:

  • Provide at least 2-3 examples for each classification label
  • Use consistent label naming across all examples
  • Include diverse examples that cover different variations within each class
  • Ensure labels exactly match the M-Files classes or values you want to assign

Important: The classifier will ONLY use labels provided in these examples. It will not create new labels or modify existing ones.

Pages #

Specifies which pages of the document will be processed by the Microsoft Foundry AI model.

Format: Enter a comma-separated list of page numbers and/or page ranges.

Examples:

  • 1 – Process only the first page
  • 1,3,5 – Process pages 1, 3, and 5
  • 1-5 – Process pages 1 through 5
  • 1,3-5,7 – Process page 1, pages 3 through 5, and page 7

Default behavior: If left empty (""), all pages in the document will be processed.

Updated on January 9, 2026
On This Page
  • Action Type
  • Model Selection
    • Extraction Model
    • Classifier Model
  • System Instructions
    • Extraction System Instructions
    • Classifier System Instructions
  • Set Properties
  • Create Object(s)
  • Classify Examples
  • Pages
Extension Kit for M-Files | Unitfly
Extension Kit for M-Files | Unitfly
  • Solutions

Products

  • Extension Kit Core
  • Extension Kit Document AI
  • Extension Kit REST Object Type
  • Extension Kit Cloud Connector
  • Extension Kit Process Intelligence

Resources

  • Documentation
  • Insights
  • Extension Kit Academy
  • Release notes
  • Join the community
  • Contact support

Get started

  • Pricing
  • Free trial
  • Contact us
  • Download center
Get updates and tips on Unitfly products!
Products Newsletter
Extension Kit Tip of the Week
Auclio Newsletter
  • Privacy & Cookie policy

© 2025 Unitfly

zicer logo negative
hamag bicro logo