Document Compare for Agreements User Guide

Prev Next

The Document Compare feature is an AI-powered tool designed to simplify how you review, compare, and understand documents. It not only highlights what has been edited but also explains how those changes affect terms, risks, and obligations while allowing you to ask questions for deeper insights.

Audience

  • Agreements Users

Manage Documents in Microsoft Dynamics

This section explains how to upload and manage document versions in Microsoft Dynamics Agreements.

Upload Document

  1. Go to Agreements and open the Agreement record to which you want to upload the file. To create a new Agreement record, refer to Agreement Management User Guide.
    Dynamics 365 interface showing active agreements with highlighted agreement name section.

  2. Click Agreement Team and scroll down to Documents.
    The Agreement Team section displays document management options and navigation tabs.

  3. Click Upload and select the file that you want to upload.
    Upload document interface showing file selection and maximum size limit for uploads.

  4. Click OK.
    Document list showing NDA Agreement V1.docx with details of modification and user.
    The file is uploaded.

Edit Document

To edit an existing document:

  1. Select an existing document and click Edit.
    Document list showing NDA Agreement with options to edit, delete, and check out.

  2. The document opens in edit view, make the required changes to the document.
    A Non-Disclosure Agreement document outlining terms and conditions for confidentiality.

    The document is auto-saved, and the version field is updated.
    Document list showing NDA Agreement with version 2.0 and modification details.

Edit Document Properties

To edit the document’s properties:

  1. Select an existing document and click Edit Properties.
    Document properties editing options for NDA Agreement file in SharePoint interface.

  2. Update the Name field and click Save.
    Editing document properties for NDA Agreement V2 with creation and modification details.

    The document Name is updated.
    Document list showing NDA Agreement V2.docx with details like modified date and path.

Delete a File

To delete a file:

  1. Select a file you want to delete.

  2. Click Delete.
    Document list showing NDA Agreement with options to edit or delete.

Compare and Analyze Documents in Mila

This section explains how to compare and analyze document versions in Mila.

NOTE

The Agreement record must contain at least two different versions of a document or two different documents to use Mila's document compare feature.

Accessing Mila from an Agreement Record

To access Mila from an Agreement record:

  1. Navigate to an Agreement record.

    NOTE

    Ensure that the Agreement record contains uploaded files. Mila requires documents to function. If no files are available, a message indicating that no documents were found is displayed.

  2. Click the AI Summary panel to expand it.
    Overview of agreement stages with options for team and follow-up history.

    The Mila panel opens.
    Mila AI interface displaying a welcome message and user interaction prompt.

  3. Enter your question related to the Agreement in the input field.

  4. Click the Go icon (go icon.png) to receive a response.

  5. Optionally, click the Thumbs Up or Thumbs Down icon to indicate whether the response was helpful.

  6. If needed, click the Refresh icon (refresh icon.png) to generate a new response to the same question.

Chat Context Tab

The files uploaded to the Agreement record in Microsoft Dynamics are automatically synced to Mila and available in the Chat Context tab.

IMPORTANT

Files uploaded to an Agreement record in Microsoft Dynamics are automatically synced to Mila and become available in the Chat Context tab. The sync process may take a few minutes. After uploading the file, wait a couple of minutes and then click Refresh to view the synced Agreement file in Mila.
The interface shows agreement stages with a highlighted refresh button for updates.

The Chat Context tab allows you to control which document(s) Mila can access while generating responses. This ensures that all summaries, insights, and answers are based only on the selected document scope.

Settings menu for configuring AI access to document information and agreements.

The Scope section displays all documents available for the selected Agreement. When you select Current Agreement (All Documents), Mila considers all the listed documents for its responses.

To analyze a specific document:

  1. Select the required document.
    NDA Agreement V1.docx is selected in the document management interface.

  2. Click the Chat icon.
    The document name is displayed in the welcome message. This confirms the source document that Mila references to generate answers to your questions.
    Chat interface displaying a welcome message and a document reference for NDA Agreement.

  3. Type your question related to the document in the input field and click the Go icon (go icon.png) to receive a response.

Document Compare Tab

The Document Compare tab allows you to select and compare two versions of a document or two different documents side by side to identify changes and analyze their impact.
2-4.png

Select and Compare Documents

To select and compare different versions of a document:

  1. Under Older Version, select the Document and the Version.

  2. Under Newer Version, select the Document and the Version.

    NOTE

    You cannot compare the same version. Ensure two different versions are selected.

    Comparison interface for two versions of NDA agreements side by side.

  3. Click Compare Documents.
    The document comparison process begins, and you will receive an email notification.
    Email notification about document comparison extraction and processing status from Technomile.

  4. Click Review in the email, or navigate to the Document Compare tab in Mila to view the comparison status.

    NOTE

    The Document Compare status table refreshes automatically while it is open. If you navigate away from the page and return later, the latest comparison status may not appear immediately. Wait a few seconds for the page to retrieve the latest information and update the status automatically.

    Document comparison in progress for NDA Agreement versions 1.0 and 2.0.
    The table displays the following details:

    • File Names: Names of the documents that are being compared.

    • Status: Processing stage (For example, Queued, In Progress, Completed, Failed, Under Review, Review Completed).

    • Submitted: Time of submission

    • Elapsed Time: Elapsed time depends on the document status. For completed documents, it indicates the total time taken to process the file. For in-progress documents, it indicates the time elapsed since the file was submitted.

  5. Once the comparison is complete, the status changes to Completed. You will also receive an email notification when the comparison is ready for review.
    Comparison of NDA Agreement versions 1.0 and 2.0 with completion status displayed.

    Email notification for document comparison results ready for review and acceptance.

  6. Click Review in the email, or navigate to the Document Compare tab in Mila and click the completed row.
    The Document Comparison wizard appears.
    Comparison of NDA documents highlighting changes and differences between versions.

    NOTE:

    If the document comparison process fails, the document status in the Document Compare tab is updated to Failed, and an email notification is sent.

    There are two types of failure email notifications:

    • When the document comparison could not be completed due to an internal system issue. The email contains a generic error message indicating that the comparison was unsuccessful. You can try running the comparison again later.

    • The comparison failed because of an issue with the uploaded documents. The email includes the reason for the failure and, where applicable, guidance on how to resolve the issue.

Document Comparison Wizard

The document comparison wizard is where you review, analyze, and finalize differences between two documents. It provides a side-by-side experience with AI-powered insights to help you make informed decisions.

Comparison of NDA documents highlighting changes and differences between versions.

Document Editor (Left Panel)

Displays the latest working version of the document in an editable format, with changes highlighted directly in the content for easy review. The document editor allows you to format the document, add comments, reply to comments, and edit or delete comments.

Non-Disclosure Agreement document outlining parties and proprietary information exchange terms.

Differences and AI Insights Panel (Right panel)

This section displays a detailed breakdown of all differences identified between the two document versions, along with AI-generated insights to help you evaluate their impact. In addition, Mila retrieves any pre-existing comments from the compared documents and displays them as Comments for review and action.
Comparison of NDA Agreement versions highlighting added and deleted sections for review.

The AI Insights panel displays the following details:

  • Total Differences Found
    Displays the total number of differences identified between the compared documents. It also shows the number of differences that have been reviewed and those that are pending review, along with an impact breakdown categorized as High, Medium, and Low.
    Summary of differences found with review status and priority levels displayed clearly.

  • Comments
    Any pre-existing comments from the compared documents are displayed here. Click Go to comment in document to review, reply, edit, or delete comments directly within the document editor.
    Comments section showing two feedback notes regarding document updates and reviews.

  • Individual Change Cards
    Each detected change is displayed as a separate card that includes the document version, impact level (High, Medium, or Low), and change type (Added, Deleted, or Modified). If multiple changes are detected within the same paragraph, they are grouped into a single card and displayed as Multiple Changes.
    Mila also provides a concise summary of what has changed, along with an assessment of its business or legal impact to help you make informed decisions. You can click Show changes in the document to navigate to the exact location in the editor on the left panel. For each change, select Accept (✔) to apply the update or Reject (✖) to retain the original content.
    Document changes showing added and deleted sections with summary of modifications.

  • Mila Chat Assistant
    You can interact with Mila for additional insights on the compared documents.
    Overview of modified clauses in NDA agreement with highlighted changes between versions.

Save, Finalize and Share

You can save your progress and exit the comparison at any time to continue later. Once you've completed the review, finalize your changes and complete the document comparison workflow by exporting or emailing the results.

NOTE

Changes made in the Document Comparison wizard screen are automatically saved when you navigate to another tab or page within Mila. However, changes are not saved if you refresh the browser page, close the browser window, or close the browser tab. To ensure your changes are saved, use the navigation tabs at the top of the page to move to another area within Mila.

Toolbar displaying various icons for messaging, document, settings, user, and email options.

  • Back
    Navigation buttons including 'Back', 'Complete Review', 'Save', and 'Export' options displayed.

Click Back to save your changes and return to the Document Compare tab in Mila.
The document status is updated to Under Review. To continue reviewing the document, click the Under Review row to reopen the comparison wizard.
Document comparison interface showing NDA Agreement status as 'Under Review'.

  • Save
    Buttons for navigation, including 'Back', 'Complete Review', and 'Save' options displayed.

Click Save to save all accepted and rejected changes. This allows you to email or export the saved changes.

  • Complete Review
    Buttons for navigation, including 'Complete Review', 'Save', and 'Export' options displayed.

Click Complete Review to finalize the comparison, lock the document in read-only mode, and create the final version in Microsoft Dynamics.

On clicking the Complete Review button:

  • The document status in the Mila panel is updated to Review Completed.
    Document comparison status showing 'Review Completed' for NDA Agreement version 1.0 vs 2.0.

  • The Recent Chat Sessions tab displays the compared documents with a Document Compare tag.
    Document comparison interface showing NDA Agreement versions and message count.
    Click the recent chat session entry to view the historical comparison details.
    Comparison of NDA Agreement versions highlighting differences and changes in the document.

  • The Documents section in the Agreement record on Microsoft Dynamics displays the finalized version created through Document Compare.
    Document list showing NDA Agreement V2.docx with modification details and version number.

  • Export

To export the comparison results:

  1. Click Export.
    Buttons for navigation, review completion, saving, and exporting options are displayed.

  2. Select the content you want to export:

    • Document: The finalized document

    • Chat: The differences and the chat conversation on the right panel.

    • Both: Both the document and chat as two different files.

  3. Choose the format (.pdf or .docx).1-14.png

  4. Click Export.
    The selected file(s) are downloaded to your system.

  • Email

To email the document comparison results:

  1. Click the Email icon.
    Interface showing differences found with options to save or export results.

  2. In the Email Document window, enter all the required details.
    Email document interface showing fields for recipient, subject, and attached documents.

  3. Under Documents to Include, select the files you want to send:

    • New updated version of the document

    • Document comparison (includes differences and chat)

  4. Click Send.
    An email is sent to the specified recipients with the selected documents attached.13-2.png

Recent Chat Sessions Tab

The Recent Chat Sessions tab displays your complete chat history, including agreement-related conversations from the Chat tab in the Mila panel and document comparison conversations from the Document Comparison wizard. Click on any entry to view the complete chat.
Recent chat sessions display document comparisons and messages for user interaction.

Email Tab

The Email tab allows you to send chat sessions available in the Recent Chat Sessions tab directly via email.

To email the chat sessions:

  1. Click the Email tab.

  2. In the Email Document window, enter all the required details.

  3. Under Select Chat Sessions, select the chat files you want to send.
    Email interface showing fields for To, Cc, Subject, and Message with chat sessions.

  4. Click Send.
    An email is sent to the specified recipients with the selected documents attached.13-5.png