Extract Worksheets from Excel using Zapier
PDF4me Extract Worksheets from Excel is a Zapier action that copies one or more worksheets out of an Excel workbook into a new Excel file. Select worksheets by name, by index, or leave both empty to extract every sheet. Returns a download link to the extracted workbook, ready for the next Zap step.
What this action does
Takes an Excel workbook from a previous Zap step, reads the worksheets you specify (or all of them), and converts each one to JSON using the first row as headers. The result is a single dictionary keyed by worksheet name, so a workbook with a Summary and a Sales sheet returns one JSON object with both keys. Useful for feeding multi-sheet reports into APIs, databases, or downstream automation steps that expect structured data instead of a spreadsheet file.
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 worksheet extraction services.
Important Facts You Should Not Miss
Use the + button next to File and File Name to map from earlier Zap steps, e.g., Full File Name from a previous PDF4me Excel action. The Excel 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 "File is Empty" errors, select the option that provides the full file content instead. See Zapier & Power Automate Tips for details.

What Are the Key Features of Extract Worksheets?
- Complete Worksheet Extraction to JSON with automatic header detection
- Flexible Selection: extract by Worksheet Names, Worksheet Indexes, or both (union)
- Multi-Sheet Support extracts multiple worksheets in one operation
- Dictionary Output keyed by worksheet name for easy access
- 1-Based Indexing for Worksheet Indexes
Parameters
Complete list of parameters for the Extract Worksheets action. Parameter names match the Zapier configuration UI shown in the screenshot above.
- Map File (Excel) from your trigger or a previous step
- Optionally map File Name (e.g., Full File Name from previous step)
- Enter Worksheet Names and/or Worksheet Indexes, or leave both empty to extract every sheet
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Required | Excel file to extract worksheets from. Map from a previous step. Must provide full file content. | [2. File from Step 2] |
| File Name | Optional | Excel filename, used for output file identification. | add_header_sample_file.xlsx |
| Worksheet Names | Optional | Comma-separated worksheet names to extract. Combines (union) with Worksheet Indexes if both are set. Empty with Indexes = all worksheets. | Sheet1, Sheet2 |
| Worksheet Indexes | Optional | Comma-separated 1-based worksheet positions to extract. 1 = first worksheet. Combines with Worksheet Names. | 1,3 |
| File URL (Either provide a File or File URL) | Optional | The Excel workbook to extract the worksheets from. Map a file from a previous step. Provide either File or File URL. Note: Zapier labels this field File URL, the same as the next field. | |
Extract every worksheet in the workbook
Leave both Worksheet Names and Worksheet Indexes empty to extract all worksheets in the workbook into the output dictionary.
Important: Only File is required. Use the + button next to each field to map data from previous steps. Worksheet indexes are 1-based (1 = first worksheet).
What Does Extract Worksheets Return?
The PDF4me Extract Worksheets from Excel action returns a new Excel file holding only the worksheets you selected, as a download link plus the file and job metadata below.
| Field | Type | What it contains |
|---|---|---|
jobId | Text | ID of the PDF4me job that processed the request. |
traceId | Text | Trace ID of the request, when PDF4me returns one. Give it to PDF4me support when reporting a problem. |
documentId | Text | ID PDF4me gives the resulting document. |
File Name | Text | Name of the resulting file, without extension. |
File Extension | Text | Extension of the resulting file, for example `.pdf`. |
Full File Name | Text | Name of the resulting file, with extension. |
File Url | Text | Download link of the resulting file. Map it into any later step that needs the file, for example an upload to Google Drive, Dropbox or OneDrive. |
Alternate File Url | Text | Alternative download link of the resulting file, with the file name at the end of the URL. |
File Size | Number | Size of the resulting file, as reported by PDF4me. |
- JSON
- Zap Integration
Example JSON response:
{
"jobId": "9f1c2e7a-4b7d-4f2a-8c31-0d5b6e9a1f44",
"traceId": "4b7d2e18-9c3a-4f55-b0e2-7a1d8c6f3b02",
"documentId": "07386627-184a-44b2-a040-5ea2712a4bc5",
"File Name": "quarterly_report_sheets",
"File Extension": ".xlsx",
"Full File Name": "quarterly_report_sheets.xlsx",
"File Url": "https://api.pdf4me.com/Zapier/GetDocument/...",
"Alternate File Url": "https://api.pdf4me.com/Zapier/GetAltDocument/.../quarterly_report_sheets.xlsx",
"File Size": 18432
}
The file at File Url is an Excel workbook holding only the worksheets you selected, with their headers, styles and formulas preserved.
Use + to map File Url or Alternate File Url into the next step: an upload to Google Drive, Dropbox or OneDrive, an email attachment, or another PDF4me Excel action.
Typical Setups
Workflow ExamplesCommon Zapier workflow patterns using Extract Worksheets.
- A trigger fires when a consolidated report workbook lands in a Google Drive folder.
- PDF4me Extract Worksheets maps File and File Name, leaving Worksheet Names and Worksheet Indexes empty to extract every sheet as one JSON dictionary.
- Separate steps map File Url to download the extracted workbook and route it to each destination API.
- A form-submission trigger captures which worksheets a client wants from a shared master workbook.
- PDF4me Extract Worksheets sets Worksheet Names to the requested sheet list (e.g., "Q1, Q2") so only those sheets are pulled.
- The decoded JSON is sanitized and delivered to the client portal or emailed as an attachment.
- A scheduled trigger runs on the last day of each month.
- PDF4me Extract Worksheets sets Worksheet Indexes to the known positions of the summary tabs (e.g., "1,2"), skipping detail sheets.
- The extracted JSON is written to a database or blob storage step for long-term retention.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Extract Worksheets |
| File | [Mapped from previous step] |
| File Name | add_header_sample_file.xlsx |
| Worksheet Names | Sheet1, Sheet2 (optional) |
| Worksheet Indexes | 1,3 (optional, 1-based) |
| Output format | Excel file, returned as a download link |
Common Questions
Related Actions
Same Task on Other Platforms
Industry Use Cases & Applications
- IT & Integration
- Finance & Accounting
- Operations
- Education
- Multi-API Feeds: extract different worksheets to different system APIs automatically
- Data Warehouse Loading: load multi-sheet financial workbooks to data warehouse tables
- System Migration: extract complete Excel workbooks to JSON for migration to cloud systems
- Data Backup: archive multi-sheet operational workbooks as JSON for disaster recovery
- ETL Pipeline: extract worksheets as intermediate format in multi-step transformation pipelines
- Period Close: extract monthly P&L, balance sheet, and cash flow worksheets to financial systems
- Consolidation Export: extract entity-level worksheets from consolidation workbooks for GL posting
- Budget Distribution: extract department budget worksheets and distribute to respective systems
- Audit File Archival: extract complete audit workbooks to JSON for retention compliance
- Management Reporting: extract executive summary and detail worksheets for different stakeholder systems
- Multi-Site Data: extract site-specific worksheets from consolidated operational workbooks
- Dashboard Feeds: extract KPI worksheets from operational Excel to BI dashboard APIs
- Inventory Sync: extract warehouse inventory worksheets to WMS systems
- Production Reporting: extract shift worksheets from production workbooks to MES systems
- Quality Data: extract inspection worksheets by product line to QMS platforms
- Course Data Export: extract course enrollment worksheets from registrar workbooks to SIS
- Grade Distribution: extract grade worksheets by semester to learning management systems
- Student Records: extract student data worksheets for reporting to state education systems
- Financial Aid: extract aid worksheets from master workbooks to financial aid platforms
- Assessment Data: extract test score worksheets by subject for analytics platforms