Parse CSV - CSV to JSON for Zapier
PDF4me Parse CSV bridges the gap between traditional data formats and modern JSON-based workflows. Whether you're working with comma-separated, semicolon-delimited European CSVs, tab-separated values, or custom pipe-delimited exports, this action converts raw CSV content into clean JSON arrays automatically. It intelligently detects headers from the first line, or lets you define custom headers when your CSV lacks them. With UTF-8 encoding support and automatic empty-line removal, it handles even messy legacy exports gracefully. Perfect for importing old system data into databases, preparing CSV exports for API consumption, or modernizing your data pipelines.
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 CSV parsing services.

Key Features
- Flexible Delimiters: Support for comma, semicolon, tab, pipe, or custom delimiters
- Custom Headers: Provide your own column header names
- Auto Header Detection: Use first line as headers automatically
- Auto-Generated Headers: Column1, Column2... when no headers provided
- UTF-8 Support: Full Unicode character support
- JSON Array Output: Returns array of objects for easy downstream processing
Parameters
Complete list of parameters for the Parse action. Configure these parameters to control CSV parsing behavior.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Name*** | String | CSV Filename • Filename with .csv or .txt extension • Used for processing identification • Supports dynamic naming from Zap variables | data.csv |
| Document*** | Base64 | CSV File Content (UTF-8) • Map from previous step (Drive/Dropbox/HTTP) • CSV file content as Base64-encoded UTF-8 • Plain text file with delimiter-separated values | [Base64 CSV] |
| Delimiter*** | String | Column Delimiter Character • Character(s) separating columns • Common delimiters: - "," (comma) - Standard CSV - ";" (semicolon) - European CSV - "\t" (tab) - TSV files - " | " (pipe) - Database exports • Can be any string (multi-character supported) |
| Column Headers | String | Custom Header Names • Comma-separated list of column names • Used as JSON property names • If provided, overrides Skip First Line • If empty and Skip First Line = false, auto-generates "Column1", "Column2"... | Name,Age,Email |
| Skip First Line | Boolean | Use First Line as Headers • True - Use first line as headers (only if Column Headers empty) • False - All lines treated as data • Default: true • Ignored if Column Headers provided | true |
Output
The PDF4me Parse CSV action returns comprehensive JSON output data for seamless Zapier workflow integration:
- Table
- JSON
- Zap Integration
Table View
Response data in a structured table format:
| Parameter | Type | Description |
|---|---|---|
| document | Base64 | JSON array as UTF-8 byte array |
| FileName | String | Output filename: "parsed_data.json" |
| Success | Boolean | Operation result |
JSON Response Format
The raw JSON response from the action:
{
"document": "[Base64 JSON Array]",
"FileName": "parsed_data.json",
"Success": true
}
Parsed JSON Structure (decoded from document):
[
{"Name": "John Doe", "Age": "30", "Email": "[email protected]"},
{"Name": "Jane Smith", "Age": "28", "Email": "[email protected]"}
]
Zapier Workflow Usage
Use parsed JSON data in subsequent steps:
- Database Import: Insert parsed records to SQL/NoSQL databases
- API Integration: POST JSON payload to REST APIs
- Excel Population: Add rows to Excel templates from parsed CSV
- Data Validation: Validate parsed data formats and content
Scenario Examples
The PDF4me Parse CSV action in Zapier provides comprehensive scenario templates designed for real-world CSV parsing needs:
- Database Import
- API Integration
- Excel Conversion
Automated CSV-to-Database Import Workflow
Parse CSV files and load to database automatically:
Complete Scenario Steps:
- Trigger: New CSV file uploaded to Google Drive import folder
- Get CSV File: Retrieve uploaded CSV from Google Drive
- Parse CSV: Set Delimiter = ",", Skip First Line = true for headers
- Decode JSON: Parse Base64 document to get array of objects
- Validate Records: Check required fields present in each record
- Transform Data: Apply business logic and data enrichment
- Bulk Insert: Insert parsed records to SQL database table
- Handle Errors: Log any records that fail validation or insert
- Email Confirmation: Send import summary to data team
- Archive Source: Move processed CSV to archive folder
Business Benefits:
- Imports 10,000+ CSV rows to database daily automatically
- First-line header detection eliminates manual column mapping
- Reduces CSV import time from 2 hours to 5 minutes
- Eliminates manual CSV-to-database copy-paste operations
Automated CSV-to-API Data Feed Workflow
Parse European CSV and send to API automatically:
Complete Scenario Steps:
- Trigger: Scheduled hourly CSV export processing
- Get European CSV: Retrieve CSV from Dropbox with semicolon delimiter
- Parse with Semicolon: Set Delimiter = ";", Skip First Line = true
- Decode JSON Array: Parse Base64 document to get records
- Iterate Records: Loop through parsed array
- POST to API: Send each record as JSON to REST API endpoint
- Handle API Response: Check response status and log results
- Retry Failures: Retry failed API calls with exponential backoff
- Email Summary: Send hourly processing report to integration team
- Log Completion: Record sync timestamp and success count
Business Benefits:
- Processes 5000+ European CSV rows to API hourly
- Semicolon delimiter support handles international CSV formats
- Eliminates manual CSV conversion and API uploads
- Provides real-time data integration between systems
Automated CSV-to-Excel Template Population Workflow
Parse CSV and populate Excel template automatically:
Complete Scenario Steps:
- Trigger: Daily CSV export scheduled at 6 AM
- Get System CSV: Retrieve overnight system export from SharePoint
- Parse with Tab Delimiter: Set Delimiter = "\t" for TSV format
- Provide Custom Headers: Set Column Headers = "ID,Name,Amount,Date"
- Decode JSON: Parse Base64 document to get structured data
- Get Excel Template: Retrieve branded report template from storage
- Add Rows to Excel: Insert parsed JSON into Excel using Add Rows module
- Apply Formatting: Excel formulas and formatting preserved
- Upload Branded Report: Save populated Excel to Google Drive
- Email Team: Distribute formatted report to business users
Business Benefits:
- Converts 2000+ CSV rows to Excel daily automatically
- Custom headers enable flexible source system CSV handling
- Branded Excel output more user-friendly than raw CSV
- Reduces manual CSV-to-Excel conversion time by 100%
Industry Use Cases & Applications
- IT & Integration
- Finance & Accounting
- Sales & Marketing
- Operations
- Legacy System Integration: Parse mainframe CSV exports for loading to modern cloud systems
- Data Migration: Convert CSV data files to JSON for system migration projects
- ETL Pipeline: Parse CSV as intermediate step in extract-transform-load workflows
- API Data Feeds: Convert partner CSV feeds to JSON for API integration
- Log File Processing: Parse CSV-formatted application logs for monitoring and analytics
- Bank Statement Import: Parse bank CSV exports for reconciliation and GL posting
- Credit Card Transaction Load: Convert card processor CSV to JSON for expense matching
- Payment File Processing: Parse AP/AR system CSV exports for payment processing
- Trial Balance Import: Convert accounting system CSV trial balance to JSON for consolidation
- Budget Data Integration: Parse departmental budget CSV files for master budget loading
- Lead List Import: Parse marketing CSV lead lists for CRM import via API
- Campaign Data Processing: Convert ad platform CSV exports to JSON for analytics
- Customer Data Integration: Parse e-commerce CSV exports for customer database loading
- Sales Report Processing: Convert sales system CSV exports to JSON for BI tools
- Product Catalog Import: Parse supplier product CSV files for catalog loading
- Inventory File Processing: Parse warehouse CSV exports for inventory management systems
- Shipping Manifest Import: Convert carrier CSV manifests to JSON for TMS integration
- Production Data Integration: Parse MES system CSV exports for ERP loading
- Quality Data Processing: Convert QC system CSV inspection results to JSON for analytics
- Equipment Data Import: Parse CMMS CSV exports for asset management platform loading