1. PDF Tools
  2. Convert PDF to a Word Document

PDF Tools

Convert PDF to a Word Document

Converts PDFs into Word documents. Useful for editable document workflows, review, and content reuse.

Uses

Use this task for converting a PDF file into a Word Document for editing.

Basic Usage

loading...

Parameters Explained

files
required
array

An array of PDF file objects to be converted to Word Documents.

output_format
required
string

The output format of the Word Document. Available options are: doc, docx, odt

function
required
string

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

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_word_document": {
    "success": true,
    "payload": {
      "files": [
        {
          "fileuuid": "8142ce6c-f3cd-526c-a5d3-747799ed2b01",
          "filename": "report.docx",
          "originalname": "report.docx",
          "contentType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
          "visibility": "private"
        }
      ],
      "attachments": [...]
    }
  }
}