Extract Form Data From PDF using n8n action
PDF4me Extract Form Data From PDF extracts structured data from PDF form fields through n8n automation workflows. Process PDFs via n8n triggers, binary data, base64 strings, or public URLs to automatically capture form submissions including text fields, checkboxes, radio buttons, dropdown menus, and field values with accurate data mapping and structured JSON output. This solution is ideal for form processing, data digitization, survey analysis, application processing, automated data entry, customer registration, and form workflow automation that require reliable form data extraction with seamless integration.
Setup
Add the PDF4me "Extract Form Data From PDF" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.
Prerequisites:
- PDF4me API credentials
- n8n workflow access
Configuration:
- Add PDF4me node to workflow
- Select "Extract Form Data From PDF" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Extract Form Data From PDF action. Configure these parameters to control form data extraction.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Input Data Type*** | String | PDF Input Format Selection • Choose the format of your PDF data input • PDF4me supports multiple input types • Options: Binary Data, Base64 String, or URL | Binary Data |
| Input Binary Field | Binary | Binary PDF File Input (Required if Binary Data) • Reference PDF file from previous n8n node or file upload • PDF4me processes binary PDF files with automatic format detection • Required when Input Data Type is "Binary Data" | {{ $binary.data }} |
| Base64 Document Content | String | Base64 Encoded PDF Input (Required if Base64 String) • Provide PDF data as base64 encoded string • PDF4me automatically decodes and processes the PDF content • Required when Input Data Type is "Base64 String" | UEsDBBQABgAI... |
| File URL | String | Public PDF URL Input (Required if URL) • Provide a public/open permission URL to the PDF file • PDF4me downloads and processes the file from URL • Required when Input Data Type is "URL" | https://abc.com/form.pdf |
| Document Name*** | String | Source PDF Reference • Specify the name of the source PDF file • For reference and tracking purposes in form extraction • Helps with processing tracking | application_form.pdf |
Advanced Options
The following parameters are available in the Advanced Options section and are optional:
| Parameter | Type | Description | Example |
|---|---|---|---|
| Custom Profiles | String | Custom Configuration Profiles • Set additional options using custom profiles • JSON-like format containing predefined parameters • Enables advanced form processing settings • Optional for specialized requirements | { "OutputDataFormat": "json" } |
Output
Output Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| formData | Object | PDF4me extracted form data - Structured object containing all form field values extracted from the PDF document. Each field name maps to its corresponding value as entered in the form | {"name": "PDF4me", "email": "", "country": "USA"} |
Form Data Structure
The formData object contains key-value pairs where each key represents a form field name and each value represents the extracted field value:
| Field | Type | Description | Example |
|---|---|---|---|
| fieldName | String | PDF4me form field identifier - Name or identifier of the form field as defined in the PDF document | name, email, country |
| fieldValue | String/Number/Boolean | PDF4me field value - The actual value entered or selected in the form field. Type varies based on field type (text, number, boolean) | "PDF4me", "", "USA" |
N8N Action Response
The PDF4me Extract Form Data From PDF API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
{
"formData": {
"name": "PDF4me",
"email": "",
"country": "USA"
}
}
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| formData.name | PDF4me |
| formData.email | (empty) |
| formData.country | USA |
Schema View
The data structure and types of the response:
formData: {
name: AB PDF4me
email: AB (empty string)
country: AB USA
}
Type Indicators:
AB= String#= Number☑= Boolean{}= Object[]= Array
Binary Data View
formData
─────────────────────────────
Fields: 3
Name: PDF4me
Email: (empty)
Country: USA
Use Cases
Form Processing and Data Collection
- Automated Data Entry: Use the
formDataobject to automatically populate databases, CRM systems, or business applications with form submission data - Form Field Processing: Process individual form fields and their values to extract meaningful information from PDF forms
- Multi-Format Integration: Process form data from various PDF form types including applications, surveys, invoices, and registration forms
Business Process Automation
- Workflow Triggers: Use extracted form values to trigger specific business processes, notifications, or follow-up actions based on form content
- Conditional Processing: Implement business logic based on form field values, such as routing applications to appropriate departments or processing different workflows
- Data Validation: Validate form data completeness and accuracy before processing form submissions
Data Analysis and Reporting
- Form Analytics: Analyze form completion patterns and field usage by processing extracted form data
- Data Processing: Transform form data into structured formats for analysis and reporting
- Business Intelligence: Use form data to generate insights and reports for business decision-making