Create PDF/A in n8n
Create PDF/A is an n8n module by PDF4me that converts a standard PDF into an ISO-compliant PDF/A archival file. Send a PDF as binary data, Base64, or a URL, pick a compliance level from PDF/A-1b through PDF/A-3a, and receive a validated archival PDF ready for long-term storage.
What this node does
PDF4me: Create PDF/A takes a standard PDF and converts it into a PDF/A archival document in one n8n step. Choose from eight compliance levels covering basic conformance (PDF/A-1b, 2b, 3b), accessibility-tagged conformance (PDF/A-1a, 2a, 3a), and Unicode-mapped conformance (PDF/A-2u, 3u). Returns a validated PDF/A file with embedded fonts and preserved metadata, ideal for legal archives, government submissions, healthcare records, and financial retention workflows that require ISO 19005 compliance.
Authenticating Your API Request
Every PDF4me node in n8n requires a valid Credential to connect with. Create or select one that holds your PDF4me API key so the workflow can authenticate PDF/A conversion requests securely.
Important Facts You Should Not Miss

Full node panel: source PDF via Binary Data, PDF/A-1b compliance level selected
Parameters
Required in the n8n UI: Input Data Type, Document Name, and PDF/A Compliance. Output File Name (default converted_pdfa.pdf) and Binary Output Property Name (default data) are optional convenience fields, not sent to the PDF4me REST API directly. Allow Upgrade, Allow Downgrade, and Custom Profiles live under the optional Advanced Options panel. Conditional template fields (Input Binary Field, Base64 Document Content, File URL) appear only when their matching Input Data Type is chosen.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Input Data Type | Required | How the source PDF enters the node. Binary Data reads from a previous node (default, most common). Base64 String accepts an encoded PDF. URL downloads the PDF from a public link. | Binary Data |
| Input Binary Field | Conditional | Name of the binary property on the incoming n8n item that holds the PDF. Required when Input Data Type is Binary Data. Defaults to data. | data |
| Base64 Document Content | Conditional | Base64-encoded PDF content. Required when Input Data Type is Base64 String. | JVBERi0xLjQK... |
| File URL | Conditional | Publicly reachable URL to the PDF file. Required when Input Data Type is URL. | https://abc.com/sample.pdf |
| Output File Name | Optional | Filename of the converted PDF/A file returned by the node. Default is converted_pdfa.pdf. Not sent to the underlying REST API, applied by the n8n node. | converted_pdfa.pdf |
| Binary Output Property Name | Optional | Name of the binary property the output item exposes. Default is data. Use a different name when a downstream node expects it. | data |
| Document Name | Required | Name of the source PDF, used for reference and tracking. Maps to the REST API's required File Name field. | document.pdf |
| PDF/A Compliance | Required | The target archival compliance level. Options: PDF/A-1b, PDF/A-1a, PDF/A-2b, PDF/A-2u, PDF/A-2a, PDF/A-3b, PDF/A-3u, PDF/A-3a. | PDF/A-1b (Level B Basic) |
| Allow Upgrade | Optional | Advanced Option. When true, PDF4me may apply a higher compliance level than requested if the source PDF already qualifies. | true |
| Allow Downgrade | Optional | Advanced Option. When true, PDF4me falls back to a compatible lower compliance level instead of failing if the exact level cannot be met. | false |
| Custom Profiles | Optional | Advanced Option. JSON-like string for additional conversion settings, for specialized requirements only. | {"outputDataFormat":"base64","preserveMetadata":true} |
PDF/A Compliance Levels
The eight compliance options group into three families depending on how strict the archival requirement is.
PDF/A-1b, PDF/A-2b, PDF/A-3bBasic conformancePDF/A-1a, PDF/A-2a, PDF/A-3aAccessible conformancePDF/A-2u, PDF/A-3uUnicode-mapped conformanceWhat Fields Does the Output Include?
| Field | Type | What it contains |
|---|---|---|
fileName | String | Filename of the generated PDF/A file, set from Output File Name (default converted_pdfa.pdf). |
mimeType | String | MIME type of the generated file, application/pdf. |
fileSize | Number | Size of the generated PDF/A file in bytes. |
success | Boolean | True when the conversion completed successfully. Use to route error-handling branches. |
inputDataType | String | Which input mode was used: binary, base64, or url. |
sourceFileName | String | The original Document Name that was processed, kept for audit trails. |
pdfaCompliance | String | The compliance level that was applied during conversion. |
isPdfaCompliant | Boolean | Whether the generated PDF meets the requested PDF/A compliance standard. |
complianceLevel | String | Detail on the specific compliance level achieved. |
Binary (data) | Binary | The generated PDF/A file under Binary Output Property Name (default data). Pass into Write Binary File, Email, or any storage upload. |
How Do I Set Up Create PDF/A in n8n?
- Add PDF4me to your n8n workflow and set Action to Create PDF/A.
- In Credential to connect with, select your PDF4me credential or click Create New Credential and paste your API key.
- Set Input Data Type to Binary Data (default), Base64 String, or URL and fill the matching field.
- Set Document Name to the source PDF's name for reference.
- Optionally change Output File Name from the default
converted_pdfa.pdfand Binary Output Property Name from the defaultdata. - Choose a PDF/A Compliance level based on whether you need basic, accessible, or Unicode-mapped conformance.
- Optionally click Add Option under Advanced Options to set Allow Upgrade, Allow Downgrade, or Custom Profiles.
- Execute the node and route the archival PDF into Write Binary File, Email, or cloud storage.
Typical Setups
Workflow ExamplesCommon n8n workflow patterns using Create PDF/A.
- A Google Drive Download node pulls a signed contract PDF (Binary Data, property
data). - PDF4me Create PDF/A runs with Input Data Type Binary Data and PDF/A Compliance set to PDF/A-2b.
- A Write Binary File node saves the archival PDF to a compliance-archive folder using
$json.fileName.
- A webhook receives a completed regulatory form as a base64-encoded PDF.
- PDF4me Create PDF/A is configured with Input Data Type Base64 String and PDF/A Compliance set to PDF/A-1a for screen-reader accessibility.
- The archival PDF is uploaded to a SharePoint document library for submission.
- An HTTP Request node downloads a generated invoice PDF from a public URL.
- PDF4me Create PDF/A runs with Input Data Type URL and PDF/A Compliance set to PDF/A-3b, which allows embedding a CSV audit trail alongside the PDF.
- The result is stored to a long-term financial-records archive.
- PDF4me Generate Document (Single) produces a patient discharge summary PDF from a template.
- The output is chained directly into PDF4me Create PDF/A with PDF/A Compliance set to PDF/A-2a for HIPAA-aligned long-term preservation.
- An email node sends the archival PDF to the records department.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Create PDF/A |
| Input Data Type | Binary Data |
| Input Binary Field | data |
| Document Name | document.pdf |
| Output File Name | converted_pdfa.pdf |
| Binary Output Property Name | data |
| PDF/A Compliance | PDF/A-1b (Level B Basic) |
| Allow Upgrade | true |
| Allow Downgrade | false |
| Credentials | PDF4me API credential |
Frequently Asked Questions
Related Actions
Same Task on Other Platforms
POST /api/v2/PdfA endpoint, for custom backend code or Postman testing.Use Cases
Government and Regulatory Compliance
- Convert documents to PDF/A format for government submissions, regulatory filings, and official documentation that requires long-term archival compliance and legal validity
- Process legal documents, contracts, and official records by converting them to PDF/A format for court submissions, legal proceedings, and regulatory compliance
- Transform historical documents, archives, and official records to PDF/A format for long-term preservation, digital archiving, and compliance with archival standards
Financial and Banking Documentation
- Convert financial statements, audit reports, and banking documents to PDF/A format for regulatory compliance, financial reporting, and long-term record keeping
- Process tax documents, compliance reports, and financial records by converting them to PDF/A format for regulatory submissions, audit trails, and financial compliance
- Transform insurance documents, claims records, and financial contracts to PDF/A format for long-term storage, regulatory compliance, and legal documentation
Healthcare and Medical Records
- Convert medical records, patient files, and healthcare documentation to PDF/A format for HIPAA compliance, medical record keeping, and long-term patient data preservation
- Process clinical reports, laboratory results, and medical imaging documents by converting them to PDF/A format for medical record management, compliance, and archival
- Transform pharmaceutical documentation, clinical trial records, and medical research data to PDF/A format for regulatory compliance, research documentation, and long-term preservation