Skip to main content

Add Rows to Excel - Data Inserter for Zapier

PDF4me Add Rows to Excel transforms how you move data into spreadsheets within your Zapier workflows. Whether you're exporting database queries, syncing API responses, logging form submissions, or compiling CRM reports, this action intelligently converts JSON data into properly formatted Excel rows. With support for both table-based insertion (automatically matching headers) and coordinate-based placement (precise positioning), it handles type conversion, date formatting, and internationalization automatically—saving hours of manual data entry while ensuring consistency across your workflows.

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 insertion services.

Add Rows to Excel Zapier

Key Features

  • Dual Insertion Modes: Table-based with header matching or coordinate-based with exact positioning
  • JSON Data Support: Insert single objects or arrays as Excel rows automatically
  • Automatic Type Conversion: Convert JSON strings to Excel numbers and dates intelligently
  • Custom Formatting: Apply date and numeric format patterns to inserted data
  • Culture-Specific Parsing: Parse dates and numbers according to locale codes
  • Null Value Handling: Skip null values or insert as empty cells

Parameters

Complete list of parameters for the Add action. Configure these parameters to control data insertion behavior.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterTypeDescriptionExample
File Name***StringExcel Filename
• Specify filename with .xlsx or .xls extension
• Map from previous step output
• Used for output file identification
• Supports dynamic naming from Zap variables
sales_data.xlsx
Document***FileExcel File Content
• Map Excel file from previous step
• Source from Dropbox, Google Drive, HTTP request
• Binary Excel data to receive new rows
• Contains existing worksheet structure
[File from Dropbox]
Json Input***StringJSON Data to Insert
• JSON array of objects or single object
• Array format: [{"Name":"John","Age":30}] inserts multiple rows
• Single object: Must wrap in array [{"Name":"John"}]
• Property names match column headers or determine order
[{"Product":"Widget","Qty":50}]
Worksheet NameStringTarget Worksheet Name
• Name of worksheet to insert data into
• Default: "Sheet1" if not specified
• Must match worksheet name exactly
• Case-sensitive worksheet matching
Sales
Table NameStringExcel Table Name
• Name of Excel table for table-based insertion
• Empty triggers coordinate-based mode
• Non-empty triggers table-based mode
• Determines insertion behavior
SalesTable
Excel Row NumberIntegerTable Position (Table Mode)
• 1-based position within table for insertion
• 1 = first data row after headers
• Must be ≥ 1 within table bounds
• Ignored in coordinate mode
5
Insert From RowIntegerStart Row (Coordinate Mode)
• 1-based row number for insertion start
• Coordinate mode only - must be ≥ 1
• Error if used with TableName
• First worksheet row = 1
10
Insert From ColumnIntegerStart Column (Coordinate Mode)
• 1-based column number for insertion
• Coordinate mode only - must be ≥ 1
• Error if used with TableName
• Column A = 1, B = 2, etc.
3
Convert Numeric And DateBooleanEnable Type Conversion
• Yes - Convert JSON strings to Excel numbers/dates
• No - Insert all values as-is without conversion
• Applies DateFormat and NumericFormat when enabled
• Default: Yes for intelligent type handling
Yes
Date FormatStringExcel Date Format Pattern
• Excel date format to apply
• Examples: "yyyy-MM-dd", "MM/dd/yyyy", "dd-MMM-yyyy"
• Default: "yyyy-MM-dd"
• Used when Convert Numeric And Date enabled
MM/dd/yyyy
Numeric FormatStringExcel Numeric Format Pattern
• Excel numeric format to apply
• Examples: "N2", "#,##0.00", "0.00%"
• Default: "N2"
• Used when Convert Numeric And Date enabled
#,##0.00
Ignore Null ValuesBooleanNull Value Handling
• Yes - Skip null values (don't insert into cells)
• No - Insert null as empty cells
• Default: No
• Affects JSON null processing
No
Ignore Attribute TitlesBooleanCase-Insensitive Matching
• Yes - Case-insensitive header matching
• No - Case-sensitive matching
• Default: No
• Useful for flexible JSON property naming
Yes
Culture NameStringCulture for Date/Number Parsing
• Culture code for parsing (e.g., "en-US", "de-DE")
• Default: "en-US"
• Affects date and number interpretation
• Important for international data
en-US

Output

The PDF4me Add Rows to Excel action returns comprehensive output data for seamless Zapier workflow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
FileURLDirect URL to access the Excel with inserted data
File NameStringThe filename without extension
Full File NameStringComplete filename with .xlsx extension
File ExtensionStringFile extension (.xlsx)

Scenario Examples

The PDF4me Add Rows to Excel action in Zapier provides comprehensive scenario templates designed for real-world automation needs:

Automated Daily Sales Data Export Scenario

Transform your sales reporting with automated database-to-Excel data insertion:

Complete Scenario Steps:

  1. Trigger: Scheduled trigger runs daily at 11 PM
  2. Query Database: Execute SQL query to fetch today's sales transactions
  3. Format JSON: Convert SQL results to JSON array format
  4. Get Excel Template: Fetch sales report template from Google Drive
  5. Add Rows: Insert JSON data into "DailySales" table
  6. Set Parameters: TableName, ConvertNumericAndDate = Yes
  7. Apply Formats: DateFormat = "MM/dd/yyyy", NumericFormat = "$#,##0.00"
  8. Upload Result: Save to Google Drive daily reports folder
  9. Email Report: Send updated Excel to sales managers via Gmail
  10. Archive Data: Store in monthly reports archive

Business Benefits:

  • Inserts 200+ daily sales records into Excel automatically
  • Eliminates manual data entry saving 2 hours daily
  • Ensures consistent date and currency formatting
  • Maintains Excel table structure and formulas automatically

Industry Use Cases & Applications

  • CRM Pipeline Reports: Insert opportunity data into Excel sales pipelines
  • Lead Tracking Sheets: Add new leads from forms to Excel tracking logs
  • Campaign Analytics: Populate marketing results from analytics APIs
  • Customer Database: Export customer data from databases to Excel lists

Get Help