---
title: "Compress PDF with Power Automate: Reduce up to 80 percent | Nutrient"
canonical_url: "https://www.nutrient.io/guides/document-converter/power-automate/compress-pdf/"
md_url: "https://www.nutrient.io/guides/document-converter/power-automate/compress-pdf.md"
last_updated: "2026-05-23T00:08:18.019Z"
description: "Nutrient Document Converter for Power Automate recently added a new action — Compress PDF — which effectively reduces the size of PDF documents."
---

# Compress PDFs Using Power Automate

Nutrient’s [Document Converter for Power Automate](https://www.nutrient.io/low-code/integrations/power-automate) recently added a new action — Compress PDF — which effectively reduces the size of PDF documents. By applying advanced compression techniques, this action optimizes PDF files while preserving their quality.

Follow this guide to learn how to achieve the optimal compression for your PDFs. With customizable options, you can have complete control over which configurations are applied to your files. Experience the convenience of sharing, storing, and transmitting PDFs effortlessly with the streamlined and efficient Compress PDF action.

From a high level, your flow will look like what’s shown below.![compress pdf using power automate](@/assets/guides/muhimbi/pdf-converter/power-automate/compress-pdf-using-power-automate.png)

## Step 1: Creating a flow in Power Automate

Create a flow and find the **When a file is created or modified (properties only)** trigger. Using this trigger will allow you to start the flow when adding or modifying a property of a file in a folder.![Create a flow in Power Automate](@/assets/guides/muhimbi/pdf-converter/power-automate/compress-pdf-using-power-automate-1.png)

In the action, specify the path to the SharePoint Online library to monitor for new items.

## Step 2: Getting the file content

Add the SharePoint **Get file properties** 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 **ID** field, include the output of the **When a file is created or modified (properties only)** action.![Get the file content](@/assets/guides/muhimbi/pdf-converter/power-automate/compress-pdf-using-power-automate-4.png)

## Step 3: Compressing the PDF

Add the Nutrient **Compress PDF** action to Power Automate and configure it with reference to the details below.![compress PDF](@/assets/guides/muhimbi/pdf-converter/power-automate/compress-pdf-using-power-automate-3.png)

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

Leave the other options as their default settings, though you may want to change the advanced options, as shown in the image above.

## Step 4: Creating a file

Add the **Create file** SharePoint action to store the PDF document in the library.![Create a file](@/assets/guides/muhimbi/pdf-converter/power-automate/compress-pdf-using-power-automate-2.png)

For the file name, enter **Base file name.pdf**, which is the output variable of the Compress PDF action. For the file content, enter **Processed file content**, which is the output variable of the Compress PDF action.

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

## Related pages

- [Create a Table of Contents in PDF Using Power Automate](/guides/document-converter/power-automate/create-table-of-contents.md)
- [Export Power BI reports to PDF](/guides/document-converter/power-automate/export-to-pdf.md)
- [Edit PDFs in Power Automate](/guides/document-converter/power-automate/edit-pdf.md)
- [Generate PDF Files Using Power Automate](/guides/document-converter/power-automate/generate-pdf.md)
- [Document Converter for Power Automate](/guides/document-converter/power-automate.md)
- [Print to PDF using Power Automate](/guides/document-converter/power-automate/print-to-pdf.md)
- [Split PDFs with Power Automate](/guides/document-converter/power-automate/split-pdf.md)

