PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Extract Embedded Files

Returns the files attached inside a PDF, such as the XML of an e-invoice.

The Extract Embedded Files action returns the files that are attached inside a PDF. A common case is an electronic invoice (for example ZUGFeRD or Factur-X) that carries its XML data inside the PDF: extract the XML, then read it with the XML actions.

Add the action

In the Process Designer toolbox, open PDF and pick Extract Embedded Files (or type Embedded in the search box).

The Extract Embedded Files action properties: Pdf file and Embedded files

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Pdf fileInputFileYesThe PDF to read.
Embedded filesOutputList of filesYesEvery attached file, under its attachment name.

Example

Pdf fileEmbedded files
with-attachment.pdf, which carries an attachment data.csvone file: data.csv
annex.pdf, with no attachmentempty

Good to know

  • A PDF without attachments does not fail the step; the output is simply empty. Check it before looping over it.
  • Files are named as they were attached. Use For Each to handle each file, or pick one by name.
  • The input must have the .pdf extension, otherwise the step fails with Pdf file extension should be '.pdf', found => โ€ฆ.

On this page