Actions80
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Image Watermark To Image
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- Add Text Watermark To Image
- AI-Invoice Parser
- AI-Process Contract
- AI-Process HealthCard
- Classify Document
- Compress Image
- Compress PDF
- Convert HTML To PDF
- Convert Image Format
- Convert JSON To Excel
- Convert Markdown To PDF
- Convert PDF To Editable PDF Using OCR
- Convert PDF To Excel
- Convert PDF To PowerPoint
- Convert PDF To Word
- Convert To PDF
- Convert URL to PDF
- Convert VISIO
- Convert Word to PDF Form
- Create Images From PDF
- Create PDF/A
- Create Swiss QR Bill
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Split PDF By Barcode
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Extract Attachment From PDF
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Resources
- Extract Table From PDF
- Extract Text By Expression
- Extract Text From Word
- Fill PDF Form
- Find And Replace Text
- Flip Image
- Flatten PDF
- Generate Barcode
- Generate Document Single
- Generate Documents Multiple
- Get Document From Pdf4me
- Get Image Metadata
- Get PDF Metadata
- Split PDF By Swiss QR
- Get Tracking Changes In Word
- Image Extract Text
- Linearize PDF
- Merge Multiple PDFs
- Overlay PDFs
- Parse Document
- Protect PDF
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Remove EXIF Tags From Image
- Repair PDF Document
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Document
- Rotate Image
- Rotate Image By EXIF Data
- Rotate PDF Page
- Sign PDF
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
This node operation converts PDF documents into PowerPoint presentations (PPTX format). It supports multiple input methods for the source PDF, including binary data from a previous node, base64-encoded content, or a URL pointing to the PDF file. The conversion process can be customized with quality settings and OCR language options to improve text recognition in scanned or image-based PDFs.
Typical use cases include:
- Automating the transformation of reports, brochures, or manuals originally in PDF format into editable PowerPoint slides.
- Extracting presentation-ready content from scanned documents using OCR.
- Integrating PDF-to-PowerPoint conversion into larger workflows for document processing or content repurposing.
For example, a user might upload a PDF report as binary data, select "Quality" mode for better layout fidelity, specify English OCR for scanned pages, and receive a PowerPoint file ready for editing and presentation.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | Method to provide the PDF file: • Binary Data — Use PDF file from previous node • Base64 String — Provide PDF content as base64 encoded string • URL — Provide URL to PDF file |
| Input Binary Field | Name of the binary property containing the PDF file (used when Input Data Type is Binary Data). Usually "data". |
| Base64 PDF Content | Base64 encoded string of the PDF document content (used when Input Data Type is Base64 String). |
| PDF URL | URL pointing to the PDF file to convert (used when Input Data Type is URL). |
| Output File Name | Desired filename for the output PowerPoint document (e.g., "my-presentation.pptx"). Defaults to "converted_document.pptx". |
| Document Name | Reference name for the source PDF file (e.g., "original-file.pdf"). |
| Quality Type | Conversion quality setting: • Draft — Faster conversion, suitable for simple PDFs with clear text. • Quality — Slower but more accurate, better for complex layouts. |
| OCR Language | Language used for OCR text recognition in images or scanned PDFs. Options include Arabic, Chinese (Simplified/Traditional), Danish, Dutch, English, Finnish, French, German, Italian, Japanese, Korean, Norwegian, Portuguese, Russian, Spanish, Swedish. |
| Advanced Options | Collection of optional advanced settings: • Custom Profiles — JSON string to adjust custom API properties. • Max Retries — Maximum polling attempts for async processing. • Merge All Sheets — Combine multiple pages into one flow. • Preserve Output Format — Whether to keep original formatting. • Retry Delay (Seconds) — Base delay between polling attempts, increases exponentially. |
| Binary Data Output Name | Custom name for the binary data field in the node's output. Defaults to "data". |
Output
The node outputs a single item per input with the following structure:
json: Contains metadata about the conversion result (not detailed in the provided code).binary: Contains the converted PowerPoint file data under the specified binary data output name (default "data"). This binary data represents the PPTX file generated from the PDF.
Thus, downstream nodes can access the PowerPoint file either by referencing the binary property or saving it to disk.
Dependencies
- Requires an external PDF processing service accessible via API to perform the actual PDF to PowerPoint conversion.
- Needs appropriate API credentials configured in n8n to authenticate requests to this service.
- Network access to URLs if the PDF input is provided as a URL.
- No other explicit dependencies are indicated in the provided code snippet.
Troubleshooting
Common Issues:
- Providing an invalid or inaccessible PDF URL will cause failures in fetching the source file.
- Incorrect base64 encoding or corrupted binary data may lead to conversion errors.
- Selecting "Quality" mode on very large or complex PDFs may increase processing time significantly.
- OCR language mismatch can reduce text recognition accuracy on scanned documents.
Error Messages:
- Errors related to file retrieval (e.g., network errors) suggest checking URL validity and connectivity.
- Conversion failures may indicate unsupported PDF features or corrupted input files.
- Authentication errors imply missing or incorrect API credentials configuration.
Resolutions:
- Verify input data correctness and accessibility.
- Adjust quality and retry settings in advanced options for complex documents.
- Ensure proper API key setup in n8n credentials.
- Use supported OCR languages matching the document's language.
Links and References
- PDF4me API Documentation — For details on custom profiles and advanced API options.
- General information on PDF to PowerPoint conversion tools and OCR technologies can help optimize usage scenarios.