Update Rows in Excel in Zapier
PDF4me Update Rows in Excel is a Zapier action that modifies existing spreadsheet rows in place from a JSON array, matching property names to your column headers. Use it to sync CRM records, refresh inventory counts, or keep reports aligned with a database, all without breaking your spreadsheet's formulas or layout.
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 update services.

Important Facts You Should Not Miss
[{"Name":"John","Age":31}]. Each object in the array updates one row; property names are matched against your Excel column headers.2 to skip the header). To append rows instead, use Add Rows.Use the + button next to File and File Name to map from earlier Zap steps. Map Json Input from a step that outputs JSON array (e.g., API response, File Text from Parse CSV). The Excel file must provide full content, not "Exists but not shown" references.
How does Update Rows match my JSON data to Excel columns?
Update Rows reads the header row of your worksheet and matches each property name in your Json Input array to a column header with the same name. Set Ignore Attribute Titles to True for case-insensitive matching, useful when your source system's field names don't exactly match Excel's casing (for example, a CRM export using customerName against an Excel header of Customer Name).
What is the difference between Update Rows and Add Rows?
Update Rows overwrites data in rows that already exist, starting at the position set by Insert From Row and Insert From Column. It never creates new rows. If your JSON array has more records than existing rows below the start position, use Add Rows to append instead, or combine both actions in a Zap: Update Rows for existing IDs, Add Rows for new ones.
Key Features
- In-Place Updates: Modify existing cells; Json Input must be a JSON array
- Header Matching: Property names match Excel column headers
- Insert From Row / Insert From Column: 1-based start position (e.g., row 2 to skip headers)
- Convert Numeric And Date: True = convert strings to Excel numbers/dates
- Date Format / Numeric Format: Apply formatting when conversion enabled
- Ignore Null Values: True = skip nulls; False = update to empty
- Ignore Attribute Titles: Case-insensitive header matching when True
Parameters
Complete list of parameters for the Update Rows action. Parameter names match the Zapier configuration UI.
- Map File (Excel) and File Name from previous step
- Map Json Input (JSON array from API, Parse CSV, or another step)
- Set Worksheet Name (default Sheet1)
- Set Insert From Row and Insert From Column (1-based; typically 2, 1 for data rows)
- Configure Convert Numeric And Date, Date Format, Numeric Format, Ignore Null Values
Required: File and Json Input. Json Input must be a JSON array, wrap single objects in [...].
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Required | Excel file content, mapped from a previous step. Must provide full binary content, not a reference labeled Exists but not shown. | 2. File from Step 2 |
| File Name | Conditional | Excel filename with .xlsx or .xls extension. | add_header_sample_file.xlsx |
| Worksheet Name | Conditional | Target worksheet name. Defaults to Sheet1 when left blank. | Sheet1 |
| Json Input | Required | JSON array where each object updates one row. Property names are matched against Excel column headers. | [{"Name":"John","Age":31}] |
| Insert From Row | Conditional | 1-based first row to update. Use 2 to skip the header row. | 2 |
| Insert From Column | Conditional | 1-based column offset used for header matching. | 1 |
| Convert Numeric And Date | Conditional | When True, converts JSON string values into native Excel numbers and dates. | True |
| Date Format | Conditional | Excel date format applied when Convert Numeric And Date is True. | yyyy-MM-dd |
| Numeric Format | Conditional | Excel numeric format applied when Convert Numeric And Date is True. | N2 |
| Ignore Attribute Titles | Conditional | When True, matches JSON property names to column headers case-insensitively. | False |
| Ignore Null Values | Conditional | When True, null values in Json Input are skipped instead of clearing the cell. | True |
| Culture Name | Conditional | Locale used to interpret dates and numbers during conversion. | en-US |
What does the Update Rows action return?
The PDF4me Update Rows in Excel action returns the modified Excel file for use in subsequent Zap steps. The output format is common across all PDF4me Excel file-returning actions in Zapier.
| Field | Type | What it contains |
|---|---|---|
Job Id | String | Unique identifier for the Zapier job execution. |
File Url | URL | API endpoint to download the updated Excel file. Map this to the next step’s file input. |
Alternate File Url | URL | Alternate download URL with the filename embedded in the path. |
File Name | String | Base filename without extension. |
File Extension | String | File extension of the output file. |
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/.../add_header_sample_file.xlsx",
"File Name": "add_header_sample_file",
"Full File Name": "add_header_sample_file.xlsx",
"File Extension": ".xlsx",
"Document Id": "...",
"File Size": 212764
}
Use + to map File Url or Alternate File Url to the next step, Drive, Dropbox, Email, or another PDF4me Excel action.
Typical Setups
Practical Tips
Always set Insert From Row to 2 when your worksheet has a header row in row 1, otherwise the header itself gets overwritten.
Use Ignore Null Values = True when your JSON source only sends changed fields, so unrelated cells aren't wiped to blank.
Test with a small JSON array (1-2 objects) first to confirm header matching before running against a full dataset.
Cheat Sheet
- Existing rows only: use Add Rows to append new ones.
- Json Input is always an array, wrap single objects in
[...]. - Header matching is case-sensitive unless Ignore Attribute Titles is True.
- Set Convert Numeric And Date to True to keep numbers and dates native, not text.
- Map full file content in File, never an "Exists but not shown" reference.
Scenario Examples
The PDF4me Update Rows in Excel action in Zapier provides comprehensive scenario templates designed for real-world data synchronization needs:
- Database Sync
- API Data Refresh
- CRM Data Update
- Inventory Refresh
Automated Database-to-Excel Sync Scenario
Keep your Excel reports in sync with database changes automatically:
Complete Scenario Steps:
- Trigger: Scheduled trigger runs every 4 hours for data refresh
- Query Database: Execute SQL query to fetch updated records since last sync
- Format JSON: Convert SQL results to JSON array format with proper property names
- Get Excel Report: Fetch master report template from Google Drive
- Update Rows: Map File, File Name, Json Input (from step 3); set Worksheet Name, Insert From Row = 2, Convert Numeric And Date = True, Ignore Null Values = True, Date Format = MM/dd/yyyy, Numeric Format = $#,##0.00
- Upload Result: Map File Url from output to Google Drive replacing old version
- Email Team: Send notification of data refresh completion to team
- Log Sync: Record sync timestamp and record count in sync log
What this accomplishes:
- Syncs database records to Excel automatically on a schedule
- Removes manual data entry between the database and the report
- Keeps Excel reports aligned with current database state
- Preserves Excel formulas and formatting while updating data
Automated API-to-Excel Data Refresh Scenario
Keep Excel dashboards current with external API data automatically:
Complete Scenario Steps:
- Trigger: Scheduled hourly data refresh runs every hour
- Call REST API: Execute HTTP GET to external analytics service
- Parse Response: Extract JSON array from API response body
- Transform Data: Apply business logic calculations and transformations
- Get Excel Dashboard: Retrieve live dashboard from Dropbox
- Update Rows: Map File, File Name, Json Input (API data); set Insert From Row = 2, Convert Numeric And Date = True, Culture Name = en-US
- Upload Result: Map File Url from output to Dropbox
What this accomplishes:
- Refreshes the Excel dashboard with API data on a recurring schedule
- Provides near real-time visibility in a familiar Excel format
- Automatically formats numbers and dates from API responses
- Preserves dashboard structure, formulas, and charts while updating data
Automated CRM-to-Excel Update Scenario
Synchronize Excel reports with CRM opportunity updates automatically:
Complete Scenario Steps:
- Trigger: Webhook receives CRM opportunity update event
- Get Opportunity Details: Query CRM for full opportunity record
- Find Excel Row: Search Excel for matching opportunity ID row
- Create JSON Update: Build JSON object with updated fields
- Get Excel Report: Retrieve opportunities tracking Excel from Google Drive
- Update Rows: Map File, File Name, Json Input; set Ignore Attribute Titles = True, Numeric Format = $#,##0.00
- Upload Result: Map File Url from output to Google Drive
- Email Sales Manager: Send notification of opportunity update
What this accomplishes:
- Keeps opportunity records updated in Excel automatically as the CRM changes
- Aligns Excel reports with CRM state without manual copy-paste
- Flexible header matching handles CRM field name variations
- Reduces manual CRM-to-Excel data entry
Automated Inventory Level Update Scenario
Keep Excel inventory sheets synchronized with real-time stock levels:
Complete Scenario Steps:
- Trigger: Inventory update event from warehouse management system
- Get Updated Stock Levels: Query inventory database for current levels
- Format Inventory JSON: Convert to JSON array with SKU and quantity
- Get Inventory Excel: Retrieve master inventory Excel from SharePoint
- Update Rows: Map File, File Name, Json Input; set Insert From Row = 2, Ignore Null Values = True, Numeric Format = 0
- Upload Result: Map File Url from output to SharePoint
- Trigger Alerts: Check for low stock and send alerts if needed
What this accomplishes:
- Updates SKU inventory levels in Excel from the warehouse system
- Provides current inventory visibility in Excel format
- Reduces manual inventory data entry and reconciliation
- Supports proactive stock management with current data
Industry Use Cases & Applications
- Sales & Marketing
- Finance & Accounting
- Human Resources
- Operations & Supply Chain
- CRM Opportunity Updates: Modify opportunity rows in Excel with latest status, amounts, and close dates
- Campaign Performance Refresh: Update campaign metrics rows with current impressions, clicks, conversions
- Lead Score Updates: Refresh lead scoring data in Excel tracking sheets from marketing automation
- Customer Database Sync: Update customer record rows with latest contact info and purchase history
- Sales Forecast Updates: Modify forecast rows with updated pipeline data and win probabilities
- Transaction Updates: Modify transaction rows with corrected amounts, dates, or account codes
- Account Balance Refresh: Update account balance rows with current balances from accounting system
- Budget Tracking Updates: Modify actual spending rows in budget vs. actual templates
- Expense Report Updates: Update expense rows with approval status and reimbursement amounts
- Invoice Status Updates: Refresh invoice rows with payment status and dates from billing system
- Employee Record Updates: Modify employee rows with promotions, salary changes, department transfers
- Attendance Updates: Update attendance rows with corrected clock-in/out times and PTO usage
- Performance Score Updates: Refresh review score rows with updated ratings and goal progress
- Benefits Enrollment Updates: Modify enrollment rows with plan selections and dependent changes
- Training Status Updates: Update training completion rows with dates and certification status
- Inventory Level Updates: Modify stock level rows with real-time quantity updates from warehouse
- Order Status Updates: Refresh order rows with current fulfillment and shipping status
- Production Updates: Update production run rows with actual output, downtime, and quality metrics
- Supplier Updates: Modify supplier rows with updated contact info, lead times, and pricing
- Equipment Status Updates: Refresh equipment rows with maintenance dates and operational status