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
- 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
- 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 Barcode
- Split PDF By Swiss QR
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
This node operation converts Microsoft Visio files into various output formats such as PDF, JPG, PNG, or TIFF. It supports multiple input methods for the Visio file: binary data from a previous node, base64 encoded content, or a URL pointing to the Visio file. The conversion process includes options to specify pages to convert, whether to include hidden pages, and how to handle visual elements like foreground pages and toolbars. This node is useful in workflows where Visio diagrams need to be converted into more widely accessible formats for sharing, archiving, or further processing.
Practical examples:
- Automatically converting uploaded Visio diagrams into PDFs for distribution.
- Converting Visio files hosted on a web server (via URL) into images for embedding in reports.
- Processing base64 encoded Visio content received from an API and converting it to TIFF format for archival.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | How the input Visio file is provided. Options: Binary Data (from previous node), Base64 String (encoded content), URL (link to the Visio file). |
| Binary Property | Name of the binary property containing the Visio file to convert (used when Input Data Type is Binary Data). |
| Input File Name | Name of the input Visio file including extension. If not provided with binary data, filename from binary data will be used. Required for Base64 and URL input types. |
| Base64 Content | Base64 encoded content of the Visio file to convert (required if Input Data Type is Base64 String). |
| File URL | URL of the Visio file to convert (required if Input Data Type is URL). |
| Output File Name | Desired name for the output file after conversion (e.g., "converted_diagram.pdf"). Defaults to "output.pdf". |
| Output Format | Desired output format. Options: PDF, JPG, PNG, TIFF. |
| Is PDF Compliant | Whether to make the output PDF compliant with standards (true/false). Applies only if output format is PDF. |
| Page Index | Zero-based index of the first page to start conversion from. |
| Page Count | Number of pages to convert starting from Page Index. Range: 1 to 100. |
| Include Hidden Pages | Whether to include hidden pages in the conversion (true/false). |
| Save Foreground Page | Whether to save foreground elements during conversion (true/false). |
| Save Tool Bar | Whether to include the toolbar in the output (true/false). |
| Auto Fit | Whether to auto-fit content to the page size (true/false). |
| Async | Enable asynchronous processing (true/false). |
| Advanced Options | Collection of advanced/custom options, e.g., custom JSON profiles to adjust properties for the conversion API. |
| Binary Data Output Name | Custom name for the binary data property in the node's output. Defaults to "data". |
Output
The node outputs the converted file as binary data under the specified binary data output name (default "data"). The binary data contains the converted document/image in the selected output format (PDF, JPG, PNG, or TIFF). The output also includes a JSON object with metadata about the conversion result.
If the output is a PDF, it can optionally be compliant with PDF standards depending on the input parameter.
Dependencies
- Requires access to an external Visio conversion service or API capable of handling Visio file formats and converting them to the desired output formats.
- Requires proper authentication credentials (such as an API key or token) configured in n8n to authorize requests to the conversion service.
- Network access to URLs if using the URL input method.
Troubleshooting
Common issues:
- Providing an incorrect or missing input file name when using base64 or URL input types may cause conversion failures.
- Invalid or inaccessible URLs will result in errors fetching the Visio file.
- Unsupported Visio file versions or corrupted files may cause conversion errors.
- Exceeding page count limits or invalid page indices may cause errors or unexpected results.
- Missing or invalid API credentials will prevent successful conversion.
Error messages and resolutions:
- "Input file name is required" — Ensure the input file name is provided when using base64 or URL input types.
- "Failed to fetch file from URL" — Verify the URL is correct, accessible, and publicly reachable.
- "Conversion failed due to unsupported file format" — Confirm the input file is a valid Visio file (.vsd, .vsdx).
- "Authentication error" — Check that the API key or authentication token is correctly configured in n8n credentials.
- "Page index/count out of range" — Adjust the page index and count parameters within allowed ranges.
Links and References
- PDF4me API Documentation — For details on advanced profiles and API capabilities related to document conversions.
- Microsoft Visio file format overview: https://docs.microsoft.com/en-us/office/client-developer/visio/visio-file-formats