---
title: "Power Automate convert CAD/DWG to PDF | Nutrient"
canonical_url: "https://www.nutrient.io/guides/document-converter/power-automate/conversion/cad-to-pdf/"
md_url: "https://www.nutrient.io/guides/document-converter/power-automate/conversion/cad-to-pdf.md"
last_updated: "2026-05-23T00:08:18.019Z"
description: "Nutrient Document Converter version 8.3 and above supports the conversion of CAD files to PDF. The key features of CAD conversion include:."
---

# Convert CAD/DWG to PDF using Power Automate

Nutrient Document Converter version 8.3 and above supports the conversion of CAD files to PDF. The key features of CAD conversion include:

1. Full 2D and 3D support.

2. Highly configurable (output paper size, margins, layouts/views to convert)

3. Automatic and intelligent recoloring of drawings, e.g. switch the background to black, white, or any other color without losing visibility of elements that were already using that color. Full black and white support is available as well.

4. Conversion of individual layouts or all layouts while skipping empty and invalid ones.

5. Automatic detection of paper orientation.

As the converter is part of our highly scalable [Document Converter Server Platform](https://www.nutrient.io/sdk/document-converter-services/), it automatically benefits from all its features, including reliability, scalability, a watermarking engine, cross-platform support, a web services-based API, [PDF security](https://www.nutrient.io/guides/document-converter/sharepoint.md), [SharePoint integration](https://www.nutrient.io/guides/document-converter/sharepoint/conversion/word-to-pdf.md), [Nintex workflow integration](https://www.nutrient.io/guides/document-converter/sharepoint/conversion/nintex-workflow-convert-pdf.md), [Java support](https://www.nutrient.io/blog/convert-office-files-to-pdf-using-java/), [InfoPath attachments](https://www.nutrient.io/blog/how-to-export-infopath-with-attachments-to-pdf/), and [Windows Azure](https://www.nutrient.io/blog/).

Below are three different images of the same drawing after conversion to PDF, but with different recoloring options.![CAD Sample - White Back](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-1.jpg)![CAD Sample - Black Back](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-2.jpg)![CAD Sample - Black and White](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-3.jpg)

You can also use third-party CAD converters in combination with Nutrient Document Converter.

### Using Power Automate to convert CAD files to PDF

This example takes you through converting CAD files to PDF.

Before beginning, make sure the following prerequisites are in place:

- A Power Automate subscription.

- [Gateway](https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-install) for Power Automate (installed and configured).

- A full or free trial subscription to [Nutrient Document Converter for Power Automate](https://www.nutrient.io/low-code/try/converter-power-automate/).

- Appropriate privileges to create Power Automate flows.

- Working knowledge of Power Automate.

### 1: Creating a flow

Create a flow and find the **When a file is created or modified (properties only)** trigger, which will allow you to start the flow when adding or modifying a property of a file into a folder.

In the action, specify the path to the SharePoint Online library to monitor for new items![create a flow](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-5.png)

### 2: Getting the file content

Add the SharePoint **Get file content** action to the Power Automate canvas. In the **Site Address** field, specify the path to the SharePoint Online site collection that holds the file. In the **File Identifier** field, specify **Identifier**, which is the output from the **When a file is created or modified (properties only)** action.![get file content](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-6.png)

### Step 3: Converting a CAD drawing to PDF

Add the Nutrient **Convert CAD drawing to PDF** action to the Power Automate canvas and configure it according to the details below. If your source documents are already in PDF format, this step isn’t necessary.

In the **Source file name** field, add **File name with extension**, which is the output from the **When a file is created or modified (properties only)** action. In the **Source file content** field, add **Get file content**.

Leave the other options as their defaults. However, you may want to change the advanced option to match the details below.![convert cad drawing to pdf](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-7.png)

| Name                      | Key                           | Description                                                                                                  |
| ------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Source file name          | `source_file_name`            | Name of the source file, including extension                                                                 |
| Source file content       | `source_file_content`         | Content of the file to convert                                                                               |
| Paper size                | `paper_size`                  | Paper size for the output                                                                                    |
| Paper size (custom)       | `paper_size_custom`           | Applicable if 'Paper size' is set to 'Custom'                                                                |
| Page margins              | `page_margins`                | E.g. '1.5cm' (for uniform) or '0.5in, 0.25in, 0.5in, 0.25in' (for non-uniform) margins                       |
| Background color          | `background_color`            |.NET color name or hex color (`#aarrggbb` or `#rrggbb`)                                                      |

| Foreground color          | `foreground_color`            | The foreground effect or color                                                                               |
| Foreground color (custom) | `foreground_color_custom`     |.NET color name or hex color (`#aarrggbb` or `#rrggbb`). Applicable if 'Foreground color' is set to 'Custom' |

| Empty layout detection    | `empty_layout_detection_mode` | Select which layouts should be skipped                                                                       |
| Layout sort order         | `layout_sort_order`           | Specify the sort order in which the layouts are converted                                                    |
| Start page                | `start_page`                  | The first page to include                                                                                    |
| End page                  | `end_page`                    | The last page to include                                                                                     |
| Override settings         | `override_settings`           | Optional settings using Nutrient’s XML syntax                                                                |
| Fail on error             | `fail_on_error`               | Fail on error                                                                                                |

### Step 4: Creating a file

Add the **Create file** SharePoint action to store the PDF document in the File Explorer action library.

Note: You’ll need to configure a gateway to write files to your file system, as mentioned in the prerequisites section.

In the **File Name** field, add **Base file name.pdf**, which is the output variable of the **Convert CAD drawing to PDF** action. In the **File Content** field, add **Processed file content**, which is the output variable of the **Convert CAD drawing to PDF** action.![publish workflow](@/assets/guides/muhimbi/pdf-converter/power-automate/cad-to-pdf-8.png)

Now, publish your flow and upload a file (e.g. a CAD drawing) to the folder that’s monitored by the configured SharePoint trigger. After a short wait, you’ll find the PDF document in the destination document library or folder in SharePoint.
---

## Related pages

- [Convert to PDF using Power Automate](/guides/document-converter/power-automate/conversion/convert-to-pdf.md)
- [Power BI automated export to PDF using Power Automate](/guides/document-converter/power-automate/conversion/bi-reports-to-pdf.md)
- [Convert form to email using Power Automate](/guides/document-converter/power-automate/conversion/form-to-email.md)
- [Convert CSV files to Excel with Power Automate](/guides/document-converter/power-automate/conversion/csv-to-excel.md)
- [Convert email to PDF using Power Automate](/guides/document-converter/power-automate/conversion/email-to-pdf.md)
- [Convert email attachments to PDF using Power Automate](/guides/document-converter/power-automate/conversion/email-with-attachments-to-pdf.md)
- [Convert Excel to PDF using Power Automate](/guides/document-converter/power-automate/conversion/excel-to-pdf.md)
- [Convert Excel files to CSV with Power Automate](/guides/document-converter/power-automate/conversion/excel-to-csv.md)
- [Convert images to PDF in Power Automate](/guides/document-converter/power-automate/conversion/image-to-pdf.md)
- [Convert documents using Power Automate](/guides/document-converter/power-automate/conversion.md)
- [Convert HTML to PDF using Power Automate](/guides/document-converter/power-automate/conversion/html-to-pdf.md)
- [Convert InfoPath forms to PDF](/guides/document-converter/power-automate/conversion/infopath-to-pdf.md)
- [Convert InfoPath to Excel](/guides/document-converter/power-automate/conversion/infopath-to-excel.md)
- [Convert InfoPath forms to Word documents](/guides/document-converter/power-automate/conversion/infopath-to-word.md)
- [Convert Microsoft Forms to PDF](/guides/document-converter/power-automate/conversion/ms-form-to-pdf.md)
- [Convert Nintex forms to PDF with Power Automate](/guides/document-converter/power-automate/conversion/nintex-form-to-pdf.md)
- [Transform Microsoft Forms into Word documents](/guides/document-converter/power-automate/conversion/ms-form-to-word.md)
- [Convert SharePoint pages to PDF using Power Automate](/guides/document-converter/power-automate/conversion/sharepoint-page-to-pdf.md)
- [Convert SharePoint lists to PDF Using Power Automate](/guides/document-converter/power-automate/conversion/sharepoint-list-to-pdf.md)
- [Convert PowerPoint to PDF using Power Automate](/guides/document-converter/power-automate/conversion/ppt-to-pdf.md)
- [Convert TXT files to PDF using Power Automate](/guides/document-converter/power-automate/conversion/text-to-pdf.md)
- [Convert Visio to PDF Using Power Automate](/guides/document-converter/power-automate/conversion/visio-to-pdf.md)
- [Convert SharePoint files to PDF using Power Automate](/guides/document-converter/power-automate/conversion/sharepoint-to-pdf.md)
- [Convert SharePoint wiki files to PDF using Power Automate](/guides/document-converter/power-automate/conversion/wiki-to-pdf.md)
- [Convert XLS to XLSX using Power Automate](/guides/document-converter/power-automate/conversion/xls-to-xlsx.md)
- [Convert Word to PDF with Power Automate](/guides/document-converter/power-automate/conversion/word-to-pdf.md)

