Convert VISIO using n8n action
PDF4me Convert VISIO transforms Microsoft Visio diagrams into high-quality PDF documents through n8n automation workflows. Process Visio files (.vsd, .vsdx) via n8n triggers, binary data, base64 strings, or public URLs to generate PDFs with preserved diagrams, flowcharts, organizational charts, network diagrams, technical drawings, shapes, connectors, multi-page handling, and formatting. This solution is ideal for technical documentation, process documentation, diagram archiving, engineering drawings, workflow visualization, and automated diagram conversion workflows that require accurate Visio rendering with professional PDF output and seamless integration.
Setup
Add the PDF4me "Convert VISIO" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.
Prerequisites:
- PDF4me API credentials
- n8n workflow access
Configuration:
- Add PDF4me node to workflow
- Select "Convert VISIO" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Convert VISIO action. Configure these parameters to control VISIO file conversion.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Input Data Type*** | String | VISIO Input Format Selection • Choose the format of your VISIO data input • PDF4me supports multiple input types • Options: Binary Data, Base64 String, or URL | Binary Data |
| Binary Property | Binary | Binary VISIO File Input (Required if Binary Data) • Reference VISIO file from previous n8n node or file upload • PDF4me processes binary VISIO files with automatic format detection • Required when Input Data Type is "Binary Data" | {{ $binary.data }} |
| Base64 Document Content | String | Base64 Encoded VISIO Input (Required if Base64 String) • Provide VISIO data as base64 encoded string • PDF4me automatically decodes and processes the VISIO content • Required when Input Data Type is "Base64 String" | UEsDBBQABgAI... |
| File URL | String | Public VISIO URL Input (Required if URL) • Provide a public/open permission URL to the VISIO file • PDF4me downloads and processes the file from URL • Required when Input Data Type is "URL" | https://abc.com/sample.vsdx |
| Input File Name*** | String | Source VISIO Filename • Specify the name of the source VISIO file • For reference and tracking purposes • Helps with processing tracking | diagram.vsdx |
| Output File Name*** | String | PDF Output Filename • Specify the name for the generated PDF file • Must include .pdf extension • PDF4me ensures unique naming and format validation | output.pdf |
| Output Format*** | Enum | Output Format Selection • Choose the output format for converted VISIO file • Options: PDF, PNG, JPEG, TIFF • PDF4me supports multiple formats for different use cases | PDF |
| Is PDF Compliant*** | Boolean | PDF Compliance Setting • Control whether generated PDF should be PDF/A compliant • true = PDF/A compliant for long-term archiving • false = standard PDF for immediate use • Essential for archival requirements | true |
| Page Index*** | Number | Starting Page Index • Specify the starting page index (0-based) for conversion • PDF4me begins conversion from this page • Use 0 to start from the first page • Allows selective page range processing | 0 |
| Page Count*** | Number | Page Count Limit • Specify maximum number of pages to convert • PDF4me processes up to this many pages from Page Index • Use -1 to convert all pages from starting index • Controls conversion scope | 5 |
| Include Hidden Pages*** | Boolean | Hidden Page Inclusion • Control whether hidden/background pages should be included • true = processes all pages including hidden • false = skips hidden pages for cleaner output • Affects output completeness | true |
| Save Foreground Page*** | Boolean | Foreground Page Preservation • Control whether only foreground page content should be saved • true = focuses on main diagram content, excludes background • false = includes all page layers • Affects content completeness | true |
| Save Tool Bar*** | Boolean | Toolbar Preservation • Control whether VISIO toolbar elements should be included • true = preserves toolbar elements • false = focuses on diagram content only • Affects output cleanliness | false |
| Auto Fit*** | Boolean | Automatic Fitting • Control whether content should be auto-fitted to output page size • true = automatically scales and adjusts content • false = maintains original sizing and layout • Optimizes page utilization | true |
| Async*** | Boolean | Asynchronous Processing • Control whether conversion is processed asynchronously • true = background processing for better performance • false = synchronous processing for immediate results • Useful for large files | false |
| Binary Data Output Name*** | String | Binary Data Output Mapping • Define the variable name for accessing generated PDF binary data • Used in subsequent workflow actions • Essential for workflow automation | data |
Advanced Options
The following parameters are available in the Advanced Options section and are optional:
| Parameter | Type | Description | Example |
|---|---|---|---|
| Custom Profiles | String | Custom Configuration Profiles • Set additional options using custom profiles • JSON-like format containing predefined parameters • Enables advanced VISIO conversion settings • Optional for specialized requirements | { "outputDataFormat": "base64", "preserveVectorGraphics": true } |
Output
Output Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| fileName | String | PDF4me generated PDF filename - The complete filename of the successfully generated PDF document with proper .pdf extension. PDF4me ensures unique naming and validates file format compliance for seamless integration with downstream processes | output.pdf |
| mimeType | String | PDF4me PDF MIME type - The MIME type of the generated PDF file, indicating the file format for proper handling in web applications and file systems | application/pdf |
| fileSize | Number | PDF4me PDF file size in bytes - The exact size of the generated PDF file in bytes, provided by PDF4me for storage planning, bandwidth optimization, and file transfer monitoring. Essential for enterprise document management and workflow automation | 64725 |
| success | Boolean | PDF4me conversion status indicator - Boolean flag indicating the success or failure of the VISIO-to-PDF conversion process. PDF4me returns true for successful conversions and false for any errors, enabling robust error handling in automated workflows | true |
| inputDataType | String | PDF4me input data format used - Indicates the type of input data that was processed (base64, binary, or URL). Useful for understanding the input method used in the conversion process | base64 |
| sourceFileName | String | PDF4me source VISIO reference - The original VISIO filename that was processed by PDF4me's conversion engine. This reference is maintained for audit trails, debugging purposes, and tracking the source of generated PDF documents in enterprise workflows | sample.vsdx |
| conversionOptions | Object | PDF4me conversion settings applied - Object containing all the conversion parameters that were applied during the VISIO conversion process. Includes output format, page settings, and processing options | { "outputFormat": "PDF", "pageIndex": 0, "pageCount": 5, "includeHiddenPages": true, "saveForegroundPage": true, "isPdfCompliant": true, "saveToolBar": true, "autoFit": true } |
| outputFormat | String | PDF4me output format used - Indicates the output format that was applied during the VISIO conversion process. Shows which format (PDF, PNG, JPEG, TIFF) was used for the conversion | |
| pageIndex | Number | PDF4me starting page index - The starting page index (0-based) that was used for the VISIO conversion | |
| pageCount | Number | PDF4me page count limit - The maximum number of pages that were processed during the conversion | |
| includeHiddenPages | Boolean | PDF4me hidden page inclusion status - Boolean flag indicating whether hidden pages were included in the conversion | |
| saveForegroundPage | Boolean | PDF4me foreground page preservation status - Boolean flag indicating whether only foreground page content was saved | |
| isPdfCompliant | Boolean | PDF4me PDF compliance status - Boolean flag indicating whether the generated PDF is PDF/A compliant | |
| saveToolBar | Boolean | PDF4me toolbar preservation status - Boolean flag indicating whether toolbar elements were included in the conversion | |
| autoFit | Boolean | PDF4me automatic fitting status - Boolean flag indicating whether content was automatically fitted to the output page size |
N8N Action Response
The PDF4me Convert VISIO API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
{
"fileName": "output.pdf",
"mimeType": "application/pdf",
"fileSize": 64725,
"success": true,
"inputDataType": "base64",
"sourceFileName": "sample.vsdx",
"conversionOptions": {
"outputFormat": "PDF",
"pageIndex": 0,
"pageCount": 5,
"includeHiddenPages": true,
"saveForegroundPage": true,
"isPdfCompliant": true,
"saveToolBar": true,
"autoFit": true
}
}
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| fileName | output.pdf |
| mimeType | application/pdf |
| fileSize | 64725 |
| success | true |
| inputDataType | base64 |
| sourceFileName | sample.vsdx |
| conversionOptions | Object containing conversion settings |
| conversionOptions.outputFormat | |
| conversionOptions.pageIndex | 0 |
| conversionOptions.pageCount | 5 |
| conversionOptions.includeHiddenPages | true |
| conversionOptions.saveForegroundPage | true |
| conversionOptions.isPdfCompliant | true |
| conversionOptions.saveToolBar | true |
| conversionOptions.autoFit | true |
Schema View
The data structure and types of the response:
1 item
fileName: AB output.pdf
mimeType: AB application/pdf
fileSize: # 64725
success: ☑ true
inputDataType: AB base64
sourceFileName: AB sample.vsdx
conversionOptions: {}
conversionOptions.outputFormat: AB PDF
conversionOptions.pageIndex: # 0
conversionOptions.pageCount: # 5
conversionOptions.includeHiddenPages: ☑ true
conversionOptions.saveForegroundPage: ☑ true
conversionOptions.isPdfCompliant: ☑ true
conversionOptions.saveToolBar: ☑ true
conversionOptions.autoFit: ☑ true
Type Indicators:
AB= String#= Number☑= Boolean
Binary Data View
The actual PDF file data and metadata:
data
─────────────────────────────
File Name: output.pdf
File Extension: pdf
Mime Type: application/pdf
File Size: 240.0 KB
Binary Data Access:
- n8n Binary Object:
$binary.data.data - Base64 Content: Available for direct use
- File Operations: Ready for download, email, or storage
Use Cases
Technical Documentation and System Architecture
- Convert Visio diagrams, flowcharts, and technical drawings to PDF format for technical documentation, system architecture documentation, and engineering specifications
- Process network diagrams, infrastructure maps, and system designs by converting them to PDF format for project documentation, client presentations, and technical reviews
- Transform process flowcharts, workflow diagrams, and organizational charts to PDF format for business process documentation, training materials, and operational procedures
Project Management and Business Process Documentation
- Convert Visio project plans, Gantt charts, and timeline diagrams to PDF format for project documentation, stakeholder communications, and project management reporting
- Process business process maps, workflow diagrams, and organizational charts by converting them to PDF format for process improvement, training, and compliance documentation
- Transform decision trees, cause-and-effect diagrams, and quality control charts to PDF format for business analysis, problem-solving, and continuous improvement initiatives
Compliance and Regulatory Documentation
- Convert Visio compliance diagrams, regulatory flowcharts, and audit trails to PDF format for regulatory submissions, compliance reporting, and audit documentation
- Process safety diagrams, emergency procedures, and risk assessment charts by converting them to PDF format for safety documentation, training, and regulatory compliance
- Transform quality control diagrams, inspection procedures, and certification flowcharts to PDF format for quality management, certification processes, and regulatory compliance