Edit

Share via


Use the contract processing prebuilt model in Power Apps (preview)

[This topic is prerelease documentation and is subject to change.]

AI Builder contract processing model combined with Power Fx lets you extract key details from a contract document like title, contract ID, list of legal parties, list of jurisdictions, execution date, effective date, expiration date, contract duration, and renewal date, quickly and accurately.

This low-code app simplifies contract document handling.

Important

  • This is a preview feature.
  • Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.

Supported document types: Contract

Requirements

Learn more about requirements in the Supported language, format, and file size section in Contract processing prebuilt model.

Available fields

Available fields Type
ContractDuration Text
ContractId Text
EffectiveDate Text
ExecutionDate Text
ExpirationDate Text
RenewalDate Text
Title Text

Available table items

Available fields Type
Jurisdictions Text
Parties Text

Build your canvas app

  1. Sign in to Power Apps.

  2. On the navigation pane to the left, select +Create.

  3. Select the Start with a blank canvas tile.

  4. Select the size you would like to use for your canvas app—either Responsive, Tablet size, or Phone size.

  5. In the app editor, from the left navigation pane, select Data > Add data, and then search Contract model.

  6. Select +Insert > Add picture.

  7. Select +Insert > Text label.

  8. Select Label1 and enter a formula like the following example, where UploadedImage1 is the image container:

    'Contract Model'.Predict(UploadedImage1.Image).Fields.Title.Value.Text
    

    You can select your desired field from the available field.

    Screenshot of all available text fields for a contract document.

  9. Select Save, and then select the Play button.

    Screenshot of a title text field for a contract document.

You can also use this formula to retrieve the first item from the result and extract the description of that item as a text string.

First('Contract Model'.Predict(UploadedImage1.Image).Tables.Parties.Rows).Clause.Value.Text

Screenshot of a first clause field for a contract document.

This expression concatenates the text values from the Clause field of each row in the prediction results of an image related to a contract document, and separates each value with a comma and a space.

Concat('Contract Model'.Predict(UploadedImage1.Image).Tables.Parties.Rows,Clause.Value.Text, Char(10))

Screenshot of a first clause field with concatenated text values for a contract document.