1. PDF Tools
  2. Convert PDF to XML File

PDF Tools

Convert PDF to XML File

Converts PDFs into XML files. Useful for structured extraction, integrations, and document-processing pipelines.

Uses

Use this task for converting a PDF file into an XML File.

Basic Usage

loading...

Parameters Explained

files
required
array

An array of PDF file objects to be converted to XML Files.

function
required
string

The pdf_tools function to call, in this case it would be pdf_to_xml

Result

The newly created files are returned in files. The same files are returned in attachments, which adds them to the stub's attachments.

editor
        {
  "convert_pdf_to_xml": {
    "success": true,
    "payload": {
      "files": [
        {
          "fileuuid": "8142ce6c-f3cd-526c-a5d3-747799ed2b01",
          "filename": "report.xml",
          "originalname": "report.xml",
          "contentType": "application/xml",
          "visibility": "private"
        }
      ],
      "attachments": [...]
    }
  }
}