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 | Choose how to provide the PDF file to convert to PDF/A. Options: Base64 String, Binary Data, URL. Default is `Binary Data`. | Binary Data |
| Base64 PDF Content | Conditional | Base64 encoded PDF document content. Shown when Input Data Type is Base64 String. | JVBERi0xLjQK... |
| Input Binary Field | Conditional | Name of the binary property that contains the PDF file (usually "data" for file uploads). Shown when Input Data Type is Binary Data. Default is `data`. | data |
| PDF URL | Conditional | URL to the PDF file to convert to PDF/A. Shown when Input Data Type is URL. | |
| Output File Name | Optional | Name for the output PDF/A file. Default is `converted_pdfa.pdf`. | converted_pdfa.pdf |
| Binary Output Property Name | Optional | Name of the binary property to store the output PDF/A file. Default is `data`. | data |
| Document Name | Optional | Name of the source PDF file for reference. Default is `document.pdf`. | document.pdf |
| PDF/A Compliance | Optional | PDF/A compliance level for long-term archiving. Options: PDF/A-1a (Level A Accessible), PDF/A-1b (Level B Basic), PDF/A-2a (Accessible Compliance), PDF/A-2b (Basic Compliance), PDF/A-2u (Basic with Unicode), PDF/A-3a (Accessible Compliance), PDF/A-3b (Basic Compliance), PDF/A-3u (Basic with Unicode). Default is `PDF/A-1b (Level B Basic)`. | PDF/A-1b (Level B Basic) |
| Advanced Options | Optional | Optional settings, collapsed behind Add Option. | Add Option |
| Allow Downgrade | Optional | Whether to allow downgrading to a lower PDF/A version if needed. Default is `Yes`. | Yes |
| Allow Upgrade | Optional | Whether to allow upgrading to a higher PDF/A version if needed. Default is `Yes`. | Yes |
| Custom Profiles | Optional | Use "JSON" to adjust custom properties. Review Profiles at https://dev.pdf4me.com/apiv2/documentation/ to set extra options for API calls. | {"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 | File name of the resulting file. |
mimeType | String | MIME type of the resulting file, for example `application/pdf`. |
fileSize | Number | Size of the resulting file in bytes. |
success | Boolean | True when the operation succeeded. |
compliance | String | PDF/A compliance level the file was converted to. |
originalFileName | String | Name of the input file. |
message | String | Status message from the node. |
data | Binary | The resulting PDF/A file. |
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