Skip to main content

Extract Rows from Excel - JSON Export for Zapier

PDF4me Extract Rows from Excel bridges the gap between spreadsheets and modern applications. Export Excel data as clean JSON that any API, database, or web service can consume—whether you need the entire dataset or just a specific range. Smart filtering options let you skip hidden rows and empty cells automatically, while flexible type handling preserves numbers, dates, and booleans as native JSON types or exports everything as text for maximum compatibility. Perfect for building Excel-to-database pipelines, feeding analytics platforms, or integrating spreadsheet data into your existing tech stack.

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 Excel data extraction services.

PDF4me Excel Extract Rows Zapier configuration - File, File Name, Worksheet Name, range, Has Header Row
Configure the Excel Extract Rows action—File input, worksheet, range, and extraction options.
PDF4me Excel Extract Rows - Export As Object, Exclude Hidden Rows, Exclude Hidden Columns, Culture
Additional options—Export As Object, hidden rows/columns, culture.

Configuration at a Glance

Example configuration from the Zapier interface

The screenshots above show a typical setup: extracting rows 1–7, columns 1–4 from Sheet1, with File and File Name mapped from a previous step.

File

add_header_sample_file.xlsx

Worksheet

Sheet1

First/Last Row

1–7

First/Last Column

1–4

Export As Object

True / False

Map File and File Name from previous steps

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.

File: (Exists but not shown)

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.

Key Features

  • JSON Output: Extract Excel data as structured JSON (RowData array)
  • Flexible Range: Specify First/Last Row and First/Last Column
  • Header Row Support: Has Header Row—use first row as column names
  • Filtering: Exclude hidden rows, hidden columns, empty rows
  • Data Type Control: Export Values As Text for all-text output
  • Export As Object: Structure output as JSON object/array

Parameters

Complete list of parameters for the Extract Rows action. Parameter names match the Zapier configuration UI.

Quick setup checklist
  1. Map File (Excel) from your trigger or a previous step
  2. Map File Name (e.g., Full File Name from previous step)
  3. Enter Worksheet Name (e.g., Sheet1)
  4. Set First Row, Last Row, First Column, Last Column (0-based; -1 = to end)
  5. Set Has Header Row, Export As Object, and other options as needed

Important: Parameters marked with an asterisk (***) are required. Use the + button next to each field to map data. All row/column indexes use 0-based numbering (Row 0 = first row, Column 0 = column A).

ParameterTypeDescriptionExample
File***FileExcel File Content—map from previous step. Shows "File: (Exists but not shown)" when mapped[2. File from Step 2]
File Name***StringExcel Filename—map from previous step (e.g., Full File Name)add_header_sample_file.xlsx
Worksheet NameStringTarget worksheet—name to extract from. Empty = first worksheetSheet1
Has Header RowBooleanFirst row as headers—True = use row 0 as column namesTrue
First RowIntegerStarting row (0-based). Row 0 = Excel row 10
Last RowIntegerEnding row (0-based). -1 = to last row with data-1
First ColumnIntegerStarting column (0-based). 0 = column A0
Last ColumnIntegerEnding column (0-based). -1 = to last column-1
Exclude Empty RowsBooleanSkip empty rowsFalse
Export Values As TextBooleanAll values as text—True = strings; False = preserve typesFalse
Hyperlink FormatStringHow to represent hyperlinks in output
Export As ObjectBooleanOutput as JSON object/arrayTrue
Exclude Hidden RowsBooleanSkip hidden rowsFalse
Exclude Hidden ColumnsBooleanSkip hidden columns (Zapier may show "Exclud Hidden Columns")False
CultureStringLocale for date/number formattingen-US

Output

The PDF4me Extract Rows from Excel action returns comprehensive JSON output data for seamless Zapier workflow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
documentBase64JSON data as byte array (serialized)
RowDataArrayExtracted rows as array of objects with column name keys
SuccessBooleanOperation result

Scenario Examples

The PDF4me Extract Rows from Excel action in Zapier provides comprehensive scenario templates designed for real-world data integration needs:

Automated Excel-to-API Data Feed Workflow

Transform your data integration with automated Excel-to-API feeding:

Complete Scenario Steps:

  1. Trigger: Scheduled hourly data sync runs every hour
  2. Get Excel Report: Retrieve data export Excel from Google Drive
  3. Extract Rows: Map File, File Name; set First Row = 0, Last Row = -1, Has Header Row = True
  4. Preserve Types: Set Export Values As Text = False for native types
  5. Iterate Rows: Loop through RowData array from response
  6. POST to API: Send each row object as JSON to REST API endpoint
  7. Handle Response: Check API response and log success/failures
  8. Email Summary: Send hourly sync summary to integration team
  9. Log Completion: Record sync timestamp and row count in log

Business Benefits:

  • Syncs 1000+ Excel rows to external API hourly
  • Preserves data types (numbers, dates) for accurate API processing
  • Eliminates manual CSV exports and API uploads
  • Provides real-time data integration between systems

Industry Use Cases & Applications

  • API Data Feeds: Extract Excel rows as JSON and POST to REST APIs hourly for system integration
  • ETL Pipelines: Load Excel data to data warehouses with preserved data types and transformations
  • System Migration: Extract legacy Excel data to JSON for migration to modern cloud systems
  • Data Synchronization: Extract and sync Excel master data to multiple downstream systems
  • Log Analysis: Extract operational logs from Excel to analytics platforms for monitoring

Get Help