Skip to main content

Validate PDF/A in Power Automate

What this action does

PDF4me Validate PDFA checks whether a PDF meets PDF/A rules (ISO 19005) and returns three decision fields: Conformance, IsConforming, and IsPdfA. Use it as a gate before long-term archive, legal holds, or any policy that requires verifiable, preservation-friendly PDFs—without modifying the file.

Authenticating Your API Request

To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me services.

Important Facts You Should Not Miss

Map real file bytes

File Content must be binary from Get file content (or equivalent). Metadata-only references break validation or return misleading results.

Three outputs, one decision

Conformance names the level (e.g. PDF/A-1b). Use IsPdfA and IsConforming together for routing—do not rely on a single flag.

Validation is read-only

This action does not repair PDFs. If validation fails, route to conversion or remediation, then validate again.

At a Glance: Inputs and Outputs

Input: File Content

Binary PDF from SharePoint, OneDrive, Outlook, or a previous action.

Input: File Name

Original filename with extension, e.g. Test.pdf.

Outputs

Conformance, IsConforming, IsPdfA for conditions and approvals.

PDF Validate PDFA action in Power Automate showing File Content and File Name parameters

Map File Content and File Name from a step that returns full file bytes.

Key Features

  • PDF/A conformance check aligned with preservation-oriented PDF (ISO 19005 family)
  • Structured boolean outputs for Power Automate conditions and approvals
  • Non-destructive: analysis only; source PDF is not rewritten
  • Microsoft 365–friendly: works with SharePoint, OneDrive, and Outlook attachments
  • Pipeline-ready: pair with conversion or ZUGFeRD generation steps in the same flow

Parameters

Required: both File Content and File Name must be set for every run.

ParameterRequiredTypeWhat it doesExample
File ContentYesBinaryPDF bytes from the previous action.Get file content
File NameYesStringFilename with extension for logging and tracing.Test.pdf

Output

The connector returns Conformance, IsConforming, and IsPdfA (see your run history or API response body). Typical successful validation returns HTTP 200 with a JSON body like:

{
"Conformance": "PDF/A-1b",
"IsConforming": true,
"IsPdfA": true
}
FieldTypeMeaning
ConformanceStringDetected or declared PDF/A level (e.g. PDF/A-1b)
IsConformingBooleantrue if the file conforms to that level
IsPdfABooleantrue if the document is PDF/A

Flow decision logic (typical)

  • IsPdfA = true and IsConforming = true → allow archive or downstream publish
  • IsPdfA = true and IsConforming = false → remediation (fonts, transparency, attachments) before archive
  • IsPdfA = false → convert to PDF/A if policy requires, then run this action again
Validate PDFA output in Power Automate showing conformance result with IsConforming and IsPdfA flags

Example response body with Conformance, IsConforming, and IsPdfA.

Quick Setup (Power Automate)

  1. Add PDF – Validate PDFA after Get file content (or equivalent).
  2. Map File Content and File Name from that step.
  3. Add a Condition on IsConforming (and optionally IsPdfA).
  4. Branch to archive, notify compliance, or trigger conversion.
  5. Log outcomes to Dataverse, SharePoint metadata, or a ticketing system if required.

Workflow Examples

Workflow ExamplesOpens by default — four PDF/A patterns in a 2×2 grid. Collapse anytime.
SharePoint archive gate
  1. Trigger when a file lands in an “intake” library.
  2. Get file content for the PDF.
  3. Run Validate PDFA.
  4. If IsConforming, copy to the records library; else notify records.

Impact: Only compliant PDFs reach long-term storage.

Pre-publish QC
  1. Trigger after PDF generation from ERP or template.
  2. Validate PDF/A before customer or regulator-facing publish.
  3. On failure, create a task or return to authoring.
  4. On success, publish and stamp approval metadata.

Impact: Compliance checks become part of release, not an afterthought.

Convert then re-validate
  1. Ingest a “normal” PDF not meant for archive yet.
  2. Run your Create PDF/A (or equivalent) conversion step.
  3. Validate PDF/A on the converted file.
  4. Store only when IsConforming is true.

Impact: Closed loop for governance teams: convert → prove → store.

After ZUGFeRD / hybrid PDF
  1. Generate a hybrid invoice PDF (e.g. Create ZUGFeRD Invoice).
  2. Pass output bytes into Validate PDFA if policy requires PDF/A archival.
  3. Route pass/fail to finance or compliance queues.
  4. Keep audit fields (invoice id, run id) in SharePoint columns.

Impact: End-to-end traceability from generation to verified archive readiness.

Industry Use Cases & Applications

Industry Use Cases & ApplicationsExpand to see legal, finance, healthcare, and public-sector scenarios.
Legal & records
  • Matter files — gate PDFs before legal hold or export
  • eDiscovery — reject non-archival PDFs early
  • Retention policies — align with internal ISO-style documentation rules
Finance & insurance
  • Policy documents — validate before customer-visible publish
  • Claims PDFs — archive-ready submissions
  • Reporting packs — batch-check before board or regulator packages
Healthcare & life sciences
  • Clinical PDFs — verify format before long-term EMR archive
  • Quality docs — automated QC in controlled workflows
  • Audit support — machine-readable pass/fail in the flow run
Public sector & education
  • Permanent records — PDF/A as a preservation-oriented format
  • FOI / disclosure — consistent format for released documents
  • Digital mailrooms — validate inbound PDFs before filing

Troubleshooting

Validation fails unexpectedly

Confirm the mapped field is true binary file content. Re-test with a known valid PDF/A sample.

IsPdfA = true but IsConforming = false

The file may claim PDF/A but fail strict checks. Route to remediation before archiving.

Policy-level decisions

Use IsPdfA and IsConforming together with Conformance for clear branching.

Get Help