Secure Document - Protection for Zapier
PDF4me Secure Document is a Zapier action that adds password protection and editing restrictions to Word files. Use it to require a password to open a document, or to restrict editing to read-only, comments-only, form fields, or tracked revisions. Returns a secured Word file for the next Zap step.
What this action does
Takes a Word document from a previous Zap step and applies one or both of two independent protections: an open password (Secure On Open) that must be entered before the file can be viewed at all, and an editing restriction (Protection Type) that limits what a user can do once the file is open, such as read-only, comments-only, form-field-only, or tracked-revisions-only editing. Each protection uses its own separate password. Ideal for confidential distribution, read-only reports, or review workflows where only comments are allowed.
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 Word document security services.
What Counts as "Secure" for This Action?
This action does not sign, watermark, or redact a document. It applies two Microsoft Word-native protections: an encryption password required to open the file at all (Secure On Open), and a document-protection password that restricts what can be edited once the file is open (Protection Type). Both are standard Word protection features, applied programmatically instead of through the Word desktop UI.
Important Facts You Should Not Miss
Use the + button next to File and File Name to map from earlier Zap steps (e.g., Google Drive, Dropbox, or a trigger). The Word file must provide full content, not "Exists but not shown" references.
If you see "File: (Exists but not shown)" in the File field and get errors, select the option that provides the full file content instead. See Zapier & Power Automate Tips for details.

What Are the Key Features of Secure Document?
- Password Protection: Add password requirements to open documents
- Document Protection: Restrict editing capabilities with various protection types
- Read-Only Security: Make documents read-only to prevent unauthorized editing
- Comment-Only Access: Allow only comments to be added or modified
- Form Field Editing: Restrict editing to form fields only
- Revision Tracking: Allow only tracked changes and revisions
- Combined Security: Apply both password protection and editing restrictions
- Flexible Access Control: Different security levels for different use cases
Parameters
Complete list of parameters for the Secure Document action. Parameter names match the Zapier configuration UI shown in the screenshot above.
- Map File and File Name from previous step
- Set Secure On Open = Yes and Secure On Open Password for encryption
- Set Protection Type (ReadOnly, Allow Comments, etc.) and Document Protection Password if not "No Protection"
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Required | Word document to secure. Map from a previous step (Drive, Dropbox, trigger). Must provide full file content. | [2. File from Step 2] |
| File Name | Conditional | Word filename with .docx or .doc extension for the output file. | abc.docx |
| Secure On Open | Conditional | Enable password to open. Yes requires a password before the file can be opened at all. | Yes |
| Secure On Open Password | Conditional | Password to open the document. Required when Secure On Open is Yes. | 12345 |
| Protection Type | Conditional | Editing restriction applied once the file is open. ReadOnly, Allow Comments, Allow Form Fields, Allow Revisions, or No Protection. | ReadOnly |
| Document Protection Password | Conditional | Password to remove the editing restriction inside Word. Required when Protection Type is not No Protection. | 1234 |
Important: Parameters marked Required must always be set. Parameters marked Conditional are required only when their corresponding security option is enabled (Secure On Open Password when Secure On Open = Yes; Document Protection Password when Protection Type is not No Protection).
What Does Secure Document Return?
The PDF4me Secure Document action returns the secured Word file 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)
API endpoint to download the secured Word file. Map this to the next step's file input.
api.pdf4me.com/Zapier/GetDocument?d=...Alternative download URL with filename in path.
api.pdf4me.com/Zapier/GetAltDocument/.../document.docx| Field | Type | What it contains |
|---|---|---|
Job Id | String | Unique identifier for the Zapier job execution. |
File Url | URL | API endpoint to download the secured Word file. |
Alternate File Url | URL | Alternate download URL with the filename in the path. |
File Name | String | Base filename without extension. |
Full File Name | String | Complete filename with extension. |
File Extension | String | File extension of the returned file, .docx. |
- JSON
- Zap Integration
Example JSON output (URLs show format only, not working links):
{
"Job Id": "...",
"File Url": "api.pdf4me.com/Zapier/GetDocument?d=...",
"Alternate File Url": "api.pdf4me.com/Zapier/GetAltDocument/.../document.docx",
"File Name": "document",
"Full File Name": "document.docx",
"File Extension": ".docx"
}
Use + to map File Url or Alternate File Url to the next step, Drive, Dropbox, Email, or another PDF4me Word action.
Typical Setups
Workflow ExamplesCommon Zapier workflow patterns using Secure Document.
- A trigger fires when a document is marked finalized in a shared Drive folder.
- PDF4me Secure Document runs with Secure On Open = Yes and a Secure On Open Password, plus Protection Type = ReadOnly with a separate Document Protection Password.
- A Gmail step emails the secured file, with the open password sent through a separate channel such as Slack.
- A scheduled Zap retrieves the latest generated report from a Dropbox folder.
- PDF4me Secure Document runs with Secure On Open = No and Protection Type = ReadOnly with a Document Protection Password, so anyone can open the file but not edit it.
- The secured file uploads to a shared team folder for wide distribution.
- A draft document lands in a review folder, triggering the Zap.
- PDF4me Secure Document sets Protection Type = Allow Comments with a Document Protection Password so reviewers can add comments but not change the underlying text.
- An email step sends the review copy to stakeholders, with the protection password shared separately with the document owner.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Secure Document |
| File | [Mapped from previous step] |
| File Name | abc.docx |
| Secure On Open | Yes |
| Secure On Open Password | 12345 |
| Protection Type | ReadOnly |
| Document Protection Password | 1234 |
| Connection | PDF4me API key |
Common Questions
Related Actions
Same Task on Other Platforms
Industry Use Cases & Applications
- Finance & Accounting
- Legal & Professional
- Human Resources
- Corporate
- Financial Report Encryption: Encrypt quarterly financial statements before board distribution
- Salary File Protection: Password-protect compensation analysis documents
- Audit Working Paper Security: Encrypt audit files with firm-specific passwords
- Budget Template Protection: Apply read-only to budget templates preserving formulas
- Board Package Encryption: Secure board materials with encryption and read-only protection
- Client Matter Encryption: Password-protect client confidential matter documents
- Privileged Document Security: Encrypt attorney-client privileged communications
- Contract Read-Only Protection: Apply read-only to executed contracts preventing alterations
- Discovery Document Security: Encrypt confidential discovery productions
- Work Product Protection: Secure attorney work product with password encryption
- Personnel File Encryption: Secure employee records with password protection
- Performance Review Security: Encrypt performance review documents
- Compensation Analysis Protection: Password-protect salary and benefits analysis
- Policy Template Read-Only: Apply read-only to policy templates for consistency
- Confidential Memo Encryption: Encrypt sensitive HR communications
- Strategic Plan Encryption: Password-protect strategic planning documents
- M&A Document Security: Secure merger/acquisition materials with dual passwords
- Confidential Proposal Protection: Encrypt sensitive business proposals
- Executive Report Security: Protect C-suite reports with password and read-only
- Product Launch Protection: Secure pre-launch documents preventing unauthorized edits