Document Compare for Agreements User Guide

Prev Next

Change Summary

Release Date

Release Version

Change Description

Link

September 29th, 2026

2026.2

Email notifications when document comparison starts, completes, and fails.

Document Compare Tab

The Document Comparison wizard now includes the following enhancements:

  • Comments

  • Multiple Changes card

  • Back button for easier navigation

Document Comparison Wizard

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 Salesforce

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

Upload Document

  1. Go to Agreements using App Launcher.31-8.png

  2. Open the Agreement record to which you want to upload the file. To create a new Agreement record, refer to Agreement Management User Guide.

  3. Click Files.31-9.png

  4. Click Add Files.31-10.png

  5. Click Upload Files, select the file that you want to upload, and click Open.

  6. Click Done.31-11.pngThe file is uploaded.

Upload a New Version of the Document

To upload a new version of the document:

  1. Select an existing file.

  2. Click the down arrow and select Upload New Version.
    File management interface showing NDA Agreement with options to download and upload versions.

  3. Select the updated document and click Upload.31-13.pngThe file is uploaded.

View File Details

To view the version details of the document:

  1. Select an existing file.

  2. Click the down arrow and select View File Details.
    File management interface showing a Non-Disclosure Agreement with download options.
    The version details are displayed here.
    Non-Disclosure Agreement document with highlighted sections and version history details.

Edit or Delete a File

To edit the file details:

  1. Select an existing file.

  2. Click the down arrow and select Edit File Details.
    File management interface displaying two document files with options to download and edit.

  3. Update the Title and click Save.
    File management interface displaying two document files with options for editing and downloading.

To delete a file:

  1. Select a file you want to delete.

  2. Click the down arrow and select Delete.
    File management interface displaying two documents with options to download and 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 Mila panel to expand it.
    Overview of an agreement with details like name, type, and status options.

    The Mila panel opens.
    31-17.png

  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 Salesforce are automatically synced to Mila and available in the Chat Context tab.

NOTE

Files uploaded to an Agreement record in Salesforce 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.
Screenshot of agreements section showing file details and options to add files.

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.

31-18.png

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.31-20.png

  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.31-21.png

  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.
    Comparison interface for two versions of NDA agreements side by side.

    NOTE

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

  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 Agreement versions highlighting changes and additions in the document.

    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 Agreement versions highlighting changes and additions in the document.

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.

A Non-Disclosure Agreement outlining terms between parties for proprietary information exchange.

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.2-13.png

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
    Click Complete Review to finalize the comparison, lock the document in read-only mode, and create the final version in Salesforce.
    Buttons for navigation, including 'Complete Review', 'Save', and 'Export' options displayed.
    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 Files section in the Agreement record on Salesforce displays the finalized version created through Document Compare.

      Contracts Suite interface displaying agreements and file details for a non-disclosure agreement.

  • 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.13-1.png

  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.

13-3.png

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