Skip to main content

Compare Documents - Version Control for Zapier

PDF4me Compare Documents compares two Word files and produces a single document with tracked changes—like Word's Compare feature, but automated. Map the original and revised docs, optionally ignore formatting, case, comments, tables, or headers. Perfect for contract redlining, version control, and collaborative review.

Authenticating Your API Request

To access the PDF4me Web API through Zapier, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Zapier workflows and PDF4me's powerful Word document comparison services.

PDF4me Compare Documents Word Zapier - First Document, Second Document, Ignore options
Configure the Compare action—map File and File Name (first document), Second Document and Second File Name (revised); set Ignore Formatting, Ignore Case Changes, Ignore Comments.
Compare Documents Word Zapier - Author, additional options
Optional—Author name for tracked changes attribution.

Configuration at a Glance

Example configuration from the Zapier interface

File and File Name (first/original) and Second Document and Second File Name (second/revised) mapped from previous steps. Example: File = 4. File, File Name = abc.docx; Second Document = 2. File, Second File Name = abcd.docx. Ignore Formatting = True, Ignore Case Changes = True, Ignore Comments = True.

File

Original (abc.docx)

File Name

abc.docx

Second Document

Revised (abcd.docx)

Second File Name

abcd.docx

Ignore Formatting

No

Author

Comparison

Map File and Second Document from previous steps

Use the + button to map File, File Name, Second Document, and Second File Name from earlier Zap steps. Both files must provide full content, not "Exists but not shown".

File: (Exists but not shown)

If you see "File: (Exists but not shown)" and get errors, select the option that provides the full file content. See Zapier & Power Automate Tips for details.

Key Features

  • Document Comparison: Compare two Word documents and identify all differences
  • Track Changes: Generate documents with tracked changes showing modifications
  • Customizable Options: Control what types of changes to track or ignore
  • Revision Management: Clean up existing revisions before comparison
  • Author Attribution: Assign changes to specific authors for accountability
  • Professional Output: Generate clean comparison documents with revision tracking
  • Multiple Format Support: Compare .docx and .doc files
  • Advanced Filtering: Ignore formatting, case changes, comments, tables, and more

Parameters

Complete list of parameters for the Compare Documents action. Parameter names match the Zapier configuration UI.

Quick setup checklist
  1. Map File and File Name (original document) from previous step
  2. Map Second Document and Second File Name (revised document) from previous step
  3. Set Ignore Formatting, Ignore Case Changes, Ignore Comments (True = ignore those changes)
  4. Set Author for tracked-change attribution (optional)

Important: Parameters marked with an asterisk (***) are required.

ParameterTypeDescriptionExample
File***FileFirst (original) document—map from previous step. Serves as baseline for comparison[4. File from Step 4]
File NameStringFirst document filename—with .docx or .doc extensionabc.docx
Second Document***FileSecond (revised) document—map from previous step. Changes from this doc are marked in output[2. File from Step 2]
Second File NameStringSecond document filenameabcd.docx
Ignore FormattingBooleanIgnore Formatting Changes
• Yes - Ignore formatting (bold, italic, font, color)
• No - Track formatting changes (default)
• Useful when only content changes matter
No
Ignore Case ChangesBooleanIgnore Case Changes
• Yes - Ignore case ("Hello" vs "HELLO")
• No - Track case changes (default)
• Treats "Hello" and "hello" as identical when Yes
No
Ignore CommentsBooleanIgnore Comments
• Yes - Ignore comment changes and additions
• No - Track comment changes (default)
• Focuses comparison on document content only
No
Ignore TablesBooleanIgnore Table Changes
• Yes - Ignore table structure and content changes
• No - Track table changes (default)
• Focuses on text content only when Yes
No
Ignore FieldsBooleanIgnore Field Changes
• Yes - Ignore field updates (dates, formulas)
• No - Track field changes (default)
• Prevents false positives from auto-updating fields
No
Ignore FootnotesBooleanIgnore Footnote Changes
• Yes - Ignore footnote content changes
• No - Track footnote changes (default)
• Focuses on main document content when Yes
No
Ignore TextboxesBooleanIgnore Textbox Changes
• Yes - Ignore textbox content and positioning
• No - Track textbox changes (default)
• Focuses on main document flow when Yes
No
Ignore Headers And FootersBooleanIgnore Header/Footer Changes
• Yes - Ignore header and footer content
• No - Track header/footer changes (default)
• Focuses on document body when Yes
No
AuthorStringComparison Author Name
• Author name for tracked changes
• Default: "Comparison"
• Attributes changes in result document
• Can be dynamic from Zap variables
John Doe

Output

The PDF4me Compare Documents action returns the comparison document (with tracked changes) for use in subsequent Zap steps. The output format is common across all PDF4me Word file-returning actions in Zapier.

Key output fields (map these to your next step)

File Url

API endpoint to download the comparison document with tracked changes. Map this to the next step's file input.

api.pdf4me.com/Zapier/GetDocument?d=...
Alternate File Url

Alternative download URL with filename in path.

api.pdf4me.com/Zapier/GetAltDocument/.../comparison.docx
ParameterTypeDescription
Job IdStringUnique identifier for the Zapier job execution
File UrlURLAPI endpoint to download the comparison document
Alternate File UrlURLAlternate download URL with filename in path
File NameStringBase filename without extension
Full File NameStringComplete filename with extension
File ExtensionStringFile extension (.docx)

Scenario Examples

The PDF4me Compare Documents action in Zapier provides comprehensive scenario templates designed for real-world comparison needs:

Automated Contract Version Comparison Workflow

Compare contract versions and generate redline automatically:

Complete Scenario Steps:

  1. Trigger: New contract version uploaded to Google Drive contracts folder
  2. Get Original Contract: Retrieve baseline contract version from archive
  3. Get Revised Contract: Retrieve new version from contracts folder
  4. Compare Documents: Map File (original), Second Document (revised); set Ignore options
  5. Track Content Only: Set Ignore Formatting = Yes to focus on content changes
  6. Set Author: Author = "Legal Review" for tracking attribution
  7. Ignore Fields: Set Ignore Fields = Yes (dates auto-update)
  8. Generate Redline: Receive comparison document with tracked changes
  9. Email Legal Team: Send redline to attorneys for review
  10. Archive Comparison: Store redline in contract review archive

Business Benefits:

  • Compares 50+ contract versions monthly automatically
  • Tracked changes clearly show all modifications
  • Ignore formatting focuses review on substantive changes
  • Reduces manual comparison time from 30 minutes to 1 minute per contract

Industry Use Cases & Applications

  • Contract Redlining: Compare contract drafts showing all negotiation changes with tracked revisions
  • Legal Brief Versions: Compare brief drafts tracking argument and citation modifications
  • Settlement Agreement Review: Compare settlement versions identifying all negotiated changes
  • Court Filing Comparison: Compare filed vs draft documents ensuring accuracy before filing
  • Client Document Review: Compare client-submitted vs firm-revised documents showing recommendations

Get Help