Unlock Excel in Zapier
PDF4me Unlock Excel is a Zapier action that removes password protection from Excel files across all three protection layers, file encryption, workbook structure locks, and worksheet content locks, in a single step. Use it to edit protected templates, unlock archived files for reuse, or clear passwords before merging spreadsheet data. It returns the unlocked file for the next Zap step.
What this action does
Takes a protected Excel workbook from a previous Zap step and removes each protection layer you supply a password for: Secure On Open Password (file encryption), Workbook Protection Password (sheet structure), and Worksheet Protection Password (cell content). If more than one password is provided, the action tries them in logical order for each layer rather than requiring an exact match for a specific field. Target specific sheets with Worksheets-By Name or Worksheets-By Index, or leave both empty to unlock the whole workbook.
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 Excel unlocking services.
Important Facts You Should Not Miss
Use the + button next to File and File Name to map from earlier Zap steps. You can use File Url and Full File Name from a previous PDF4me Excel action, such as Secure Excel.
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 Unlock Excel?
- Three-Layer Unlocking: Secure On Open Password, Workbook Protection Password, Worksheet Protection Password
- Intelligent Password Fallback: tries supplied passwords in logical order for each layer
- Worksheet Targeting: Worksheets-By Name or Worksheets-By Index, leave empty for all
- Culture Support: Culture Name for region-specific processing
Parameters
Complete list of parameters for the Unlock Excel action. Parameter names match the Zapier configuration UI shown in the screenshot above.
- Map File (Excel) and File Name from a previous step
- Set Secure On Open Password if the file is encrypted to prevent opening
- Set Workbook Protection Password and Worksheet Protection Password if those layers are applied
- Optionally set Worksheets-By Name or Worksheets-By Index; leave empty for all sheets
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Required | Protected Excel file to unlock. Map from a previous step. Must provide full file content. | [19. File Url] |
| File Name | Conditional | Excel filename, used for output file identification. | merged_rows.xlsx |
| Secure On Open Password | Conditional | Password to open the encrypted file. Removes file-open encryption. | 1234 |
| Workbook Protection Password | Conditional | Password for the workbook structure lock. Removes the sheet add/delete/rename restriction. | 12345 |
| Worksheet Protection Password | Conditional | Password for the worksheet content lock. Removes the cell-editing restriction. | 123456 |
| Worksheets-By Name | Conditional | Comma-separated worksheet names to target. Empty targets all worksheets. | Sheet1, Summary |
| Worksheets-By Index | Conditional | Comma-separated 0-based worksheet positions to target. Empty targets all worksheets. | 0, 1, 2 |
| Culture Name | Conditional | Locale used when processing region-specific number and date formats. | en-US |
Provide only the passwords the file actually has
Leave a password field empty if that protection layer was never applied. Supplying an incorrect password for a layer that does not exist has no effect; the action only removes protection that is present and matched.
Important: Only File is required. Provide a password for each protection layer the file actually has, the action tries them in logical order if more than one candidate password is supplied.
What Does Unlock Excel Return?
The PDF4me Unlock Excel action returns the unlocked Excel file for use in subsequent Zap steps. The output format is common across all PDF4me Excel actions in Zapier.
API endpoint to download the unlocked Excel file. Map this to the next step's file input.
api.pdf4me.com/Zapier/GetDocument?d=...Alternative download URL with the filename in the path.
api.pdf4me.com/Zapier/GetAltDocument/.../merged_rows.xlsx| Field | Type | What it contains |
|---|---|---|
Job Id | String | Unique identifier for the Zapier job execution. |
File Url | URL | API endpoint to download the unlocked Excel file. |
Alternate File Url | URL | Alternate download URL with the filename in the path. |
File Name | String | Base filename without extension. |
File Extension | String | File extension of the returned file, e.g. .xlsx. |
Full File Name | String | Complete filename with extension. |
Document Id | String | Unique identifier for the processed document. |
File Size | Number | Size of the output file in bytes. |
- JSON
- Zap Integration
Example JSON output (URLs show format only, not working links):
{
"Job Id": "969f2da3-f10a-49bf-b084-6fc4759991ec",
"File Url": "api.pdf4me.com/Zapier/GetDocument?d=...",
"Alternate File Url": "api.pdf4me.com/Zapier/GetAltDocument/.../merged_rows.xlsx",
"File Name": "merged_rows",
"Full File Name": "merged_rows.xlsx",
"File Extension": ".xlsx",
"Document Id": "07386627-184a-44b2-a040-5ea2712a4bc5",
"File Size": 212764
}
Use + to map File Url or Alternate File Url to the next step, Drive, Dropbox, Email, or another PDF4me Excel action (e.g., Update Rows, Secure Excel).
This output structure is shared across Unlock Excel, Secure Excel, Update Rows, and other PDF4me Excel actions in Zapier. The URLs are temporary, use them in the next step before they expire.
Typical Setups
Workflow ExamplesCommon Zapier workflow patterns using Unlock Excel.
- A scheduled trigger fires when a recurring template refresh is due.
- PDF4me Unlock Excel maps File and File Name from the stored template and supplies the known Secure On Open and Workbook Protection passwords, leaving Worksheets-By Name and Worksheets-By Index empty to unlock every sheet.
- Update Rows inserts the current period's data into the now-editable template.
- PDF4me Secure Excel re-applies protection with a new password before the file is saved back to the library.
- A scheduled trigger runs a nightly data sync.
- PDF4me Unlock Excel maps the protected master data workbook from SharePoint, supplies its Secure On Open Password from a secure vault, and sets Worksheets-By Name to the specific sheets that need updating.
- Update Rows writes fresh records queried from the production database into the now-unlocked sheets.
- PDF4me Secure Excel re-applies the original protection before the file is uploaded back to SharePoint.
- A trigger fires when a file moves into a long-term archive folder.
- PDF4me Unlock Excel maps the protected file and supplies whichever of the three passwords the file actually carries, leaving worksheet targeting empty to unlock the full workbook.
- The unlocked file is uploaded to cold storage, where archived files are kept accessible without password management overhead.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Unlock Excel |
| File | [Mapped from previous step] |
| Secure On Open Password | 1234 |
| Workbook Protection Password | 12345 |
| Worksheet Protection Password | 123456 |
| Worksheets-By Name | (empty for all) |
| Culture Name | en-US |
Common Questions
Related Actions
Same Task on Other Platforms
Industry Use Cases & Applications
- Finance & Accounting
- Legal & Professional
- Human Resources
- Operations
- Budget Template Updates: unlock protected budget templates for annual refresh and data updates
- Financial Model Edits: remove protection from financial models for assumption updates
- Archive Preparation: unlock quarterly financial files before long-term archive storage
- Consolidation Updates: unlock entity templates for monthly consolidation data refresh
- Audit File Access: unlock archived audit files for subsequent year reference
- Template Modifications: unlock legal document templates for clause updates and revisions
- Case File Editing: remove protection from case files for additional analysis entry
- Matter Close Archival: unlock matter files before archival without password burden
- Document Assembly: unlock protected precedent files for document assembly integration
- Client File Updates: unlock client deliverables for post-delivery corrections
- Annual Template Updates: unlock HR templates for annual compensation and benefits updates
- Employee Record Edits: remove protection from personnel files for authorized data corrections
- Benefits Template Refresh: unlock benefits enrollment templates for new plan year setup
- Archive Preparation: unlock separated employee files before HR archive storage
- Policy Template Updates: unlock employee handbook templates for policy revisions
- Production Schedule Updates: unlock protected production schedules for planning changes
- Inventory Template Edits: remove protection from inventory templates for formula updates
- Quality Dashboard Modifications: unlock QC dashboards for metric definition changes
- Master Data Updates: unlock protected master data files for nightly database sync
- Capacity Model Edits: unlock capacity planning models for assumption and constraint updates