Connect to Power Automate - Integration Guide
Microsoft Power Automate, formerly known as Microsoft Flow, is a platform provided by Microsoft to connect a wide range of applications and create workflows for complex document tasks. For instance, using the PDF4me connector in Microsoft Power Automate helps you access a document from mail or storage like Outlook or OneDrive, process it using PDF4me, and store it back to a storage or email it again. And yes! All of these can be automated in a simple manner.
PDF4me has 2 connectors supporting the same features based on which they are authenticated:
- PDF4me Connect - Requires the PDF4me API Key for authentication
- PDF4me - Direct authentication using your PDF4me account credentials (OAuth)
Authorizing PDF4me Connect with API Key
The PDF4me Connect connector uses API Key authentication for secure connection to PDF4me services.
Prerequisites
We assume you already have an account with us and a PDF4me API Key. If you don't have one, create an account with us for getting an API Key. You can refer to the documentation on getting started with PDF4me for help with the process.
Step 1: Access Connections
Once you have your API Key ready, log in to your Power Automate Account. Go to the Data menu and under the Connections.

Step 2: Add New Connection
Select the + New Connection link. Search for 'PDF4me' and select the PDF4me Connect connector.

Step 3: Enter API Key
In the pop-up window that follows, enter the PDF4me API key to authenticate the connector.

Your API Key can be found in the PDF4me Dashboard under the API Keys section. Make sure to copy the complete key without extra spaces.
Authorizing PDF4me with OAuth Credentials
The PDF4me connector uses OAuth authentication for direct login with your PDF4me account credentials.
Step 1: Select PDF4me Connector
From the New Connection page, select the PDF4me connector.

Step 2: Create Connection
From the pop-up, select the Create Button.

Step 3: Log In
Another pop-up for logging in will appear. Enter your credentials used for creating the PDF4me account.

Available PDF4me Actions in Power Automate
PDF4me provides comprehensive document processing capabilities in Power Automate flows:
- Document Conversion
- Barcode Operations
- PDF Editing
- Data Extraction
- Document Generation
- PDF Organization
- Security & Optimization
- Image Processing
- Excel Operations
- Word Operations
- PDF Utilities
Convert files between various formats with professional-grade quality and formatting preservation:
- Convert to PDF - Transform various file formats to PDF/A compliant documents
- Convert HTML to PDF - Convert HTML pages and web content to professional PDF documents
- Convert URL to PDF - Transform web pages to PDF documents with customizable layouts
- Convert Markdown to PDF - Convert Markdown files to formatted PDF documents
- Convert PDF to Word - Convert PDF documents to editable Word format
- Convert PDF to Excel - Transform PDF files into Excel spreadsheets
- Convert PDF to PowerPoint - Convert PDF documents to PowerPoint presentations
- Convert JSON to Excel - Transform JSON data into structured Excel workbooks
- Convert Word to PDF Form - Create interactive PDF forms from Word documents
- Convert Visio - Convert Microsoft Visio diagrams to PDF and other formats
Generate and read barcodes with support for multiple barcode types:
- Create Barcode - Generate QR codes, Code128, DataMatrix, Aztec, PDF417, and other barcode formats
- Add Barcode to PDF - Embed barcodes directly into PDF documents
- Read Barcode from PDF - Extract barcode data from PDF documents
- Create SwissQR Bill - Generate compliant SwissQR Bill documents for Swiss banking
- Read SwissQR Code - Extract payment information from Swiss QR-bill documents
Add professional elements to enhance your PDF documents:
- Add Page Number to PDF - Insert page numbering with flexible formatting
- Add Margin to PDF - Adjust document margins for professional formatting
- Add HTML Header Footer to PDF - Add custom HTML headers and footers
- Add Text Stamp to PDF - Add text watermarks and stamps
- Add Image Stamp to PDF - Add logo watermarks and image stamps
- Add Form Field to PDF - Create interactive form fields
- Add Attachment to PDF - Embed files into PDF documents
- Sign PDF - Add digital signatures to documents
- Digital Sign - Apply cryptographic digital signatures
- Flatten PDF - Convert fillable forms to read-only documents
Extract valuable information from PDF documents:
- Extract Text by Expression - Extract text using regular expression pattern matching
- Extract Text and Images - Retrieve text content and images from PDFs
- Extract Text from Word - Extract text content from Word documents
- Extract Table from PDF - Retrieve table data with structure preservation
- Extract Form Data from PDF - Extract form field values and properties
- Extract Pages - Select and extract specific pages from PDF documents
- Classify Document - Classify and categorize PDF documents using pattern matching
Create documents from templates with data integration:
- Generate Document Single - Create personalized documents from templates with JSON/XML data
- Generate Documents Multiple - Batch generate multiple documents from single template
- Generate Document from HTML - Create documents from HTML templates
- Generate Document from Word - Generate documents using Word templates
Manage and organize PDF documents efficiently:
- Merge Multiple PDFs - Combine multiple PDF documents into single file
- Merge PDF Overlay - Merge PDFs with overlay positioning
- Split PDF - Divide PDFs by page ranges and criteria
- Split PDF by Barcode - Split PDF documents by barcode recognition
- Split PDF by Text - Divide PDFs based on text patterns
- Split PDF by Swiss QR - Split PDFs by SwissQR code recognition
- Rotate Document - Rotate all pages in PDF documents
- Rotate Page - Rotate specific pages in PDF documents
- Delete Blank Pages - Remove blank pages from PDFs
- Delete Unwanted Pages - Remove specific pages from PDF documents
Protect and optimize your PDF documents:
- Protect Document - Add password protection and encryption to PDFs
- Unlock PDF - Remove password protection from PDFs
- Compress PDF - Reduce file size while maintaining quality
- Compress Image - Optimize image file sizes
Process and manipulate images in your workflows:
- Convert Image Format - Transform images between various formats
- Create Image from PDF - Convert PDF pages to images
- Crop Image - Crop images to specific dimensions
- Resize Image - Adjust image dimensions and resolution
- Flip Image - Flip images horizontally or vertically
- Replace Text with Image - Replace text placeholders with images
- Remove EXIF Tags - Remove metadata from images
Process and manipulate Excel spreadsheets:
- Add Rows - Add rows to Excel spreadsheets
- Update Rows - Update existing rows in Excel files
- Delete Rows - Remove rows from Excel spreadsheets
- Merge Files - Combine multiple Excel files
- Extract Worksheets - Extract specific worksheets from Excel files
- Secure Excel - Add password protection to Excel files
- Unlock Excel - Remove password protection from Excel files
Process and manage Word documents:
- Enable Track Changes - Turn on track changes mode in Word documents
- Disable Track Changes - Turn off track changes mode
- Get Tracking Changes - Retrieve track changes data from Word documents
Additional PDF processing capabilities:
- Create PDF/A - Create PDF/A compliant documents for archiving
- Repair PDF - Fix corrupted PDF documents
- Linearize PDF - Optimize PDFs for web viewing
- Get PDF Metadata - Extract PDF document metadata
- Get PDF Information - Retrieve PDF document information
- Fill a PDF Form - Populate PDF form fields with data
- Parse Document - Parse PDF documents using custom templates
- OCR PDF - Convert scanned PDFs to searchable documents
Which Connector Should You Use?
- PDF4me Connect (API Key)
- PDF4me (OAuth)
Best for:
- Enterprise integrations requiring API key management
- Service-to-service authentication scenarios
- Automated workflows without user interaction
- Development and testing environments
Advantages:
- Simple API key authentication
- Easy to rotate and manage API keys
- Suitable for backend automation
- No user login required
Authentication Method: API Key
Best for:
- Individual user workflows
- User-specific document processing
- Personal productivity automation
- Quick setup without API key management
Advantages:
- Direct login with PDF4me credentials
- No API key management required
- User-friendly authentication
- Suitable for personal workflows
Authentication Method: OAuth 2.0
Example Power Automate Flow
Here's a simple example flow to get you started:
Trigger: When a new file is added to OneDrive folder
Action 1: PDF4me - Convert to PDF
Action 2: OneDrive - Save converted PDF to designated folder
Action 3: Outlook - Send email notification with converted PDF
This basic flow automatically converts any file uploaded to OneDrive to PDF format, saves it, and emails it to you, demonstrating PDF4me's seamless integration with Microsoft 365 ecosystem.
Troubleshooting
Connection Failed
- Verify your API key is correct and active
- Check that your PDF4me account has sufficient API calls
- For OAuth: Ensure your account credentials are correct
Flow Errors
- Test each step individually to isolate the issue
- Verify that file formats are supported
- Check that input data is properly mapped
- Review error messages in flow run history
- For file-related errors (e.g. "File is Empty", "File could not be opened"), see Troubleshooting and Zapier & Power Automate Tips
API Call Limits
- Monitor usage in your Dashboard
- Upgrade your plan or purchase prepaid calls if needed
Next Steps
Ready to explore more integrations and capabilities?
Other Platform Integrations
- Connect to Zapier - Set up PDF4me in Zapier workflows
- Connect to Make - Configure PDF4me with Make (formerly Integromat)
- Connect to n8n - Connect PDF4me with n8n automation platform
Power Automate Documentation & Resources
- Power Automate Integration Introduction - Complete overview of PDF4me Power Automate integration
- Authorization Guide - Detailed authentication and authorization documentation
- Browse all Power Automate Actions by category
API Resources
- REST API Documentation - Complete API reference for advanced integration
- API Introduction - Overview of PDF4me API capabilities
- Code Samples - Sample code in C#, Java, Python, JavaScript, and more
Need Help?
Our team is here to assist you with your Power Automate integration.
If you encounter any issues connecting PDF4me to Power Automate or have questions about specific flows, our support team is ready to help. You can also explore our comprehensive documentation and Power Automate integration guide for more guidance.