web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Edit/Update Existing P...
Power Automate
Answered

Edit/Update Existing PDF File

(3) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
Can I use a combination of Power Automate and Power Apps to edit the data in an existing PDF file,
writing those changes back to that same file, appearing in the same place the original data was located, 
allowing the user to edit the original PDF file content and re-save the PDF file, with the same name, and
email that file directly from Power Apps or Power Automate?
Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
     
    Anything is possible. There are no... specific tools OOB of Power Apps for editing a PDF or any document really for that matter.
     
    As it's not a document editor, and you need to get the data out of the file, then in-memory load that into something you could modify the data in it (images, text etc), then save it back.
     
    Getting the data and saving it back per se aren't the issue, its the lack of editing tools. I don't even think a RichTextEditor would work... but I guess that is possible.
     
    Since I do not know the complexity of which you want to change it, without a PCF control I do not see it happening unless your expectation is very low.
     
    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.
    Thank you!
    Sincerely, Michael Gernaey
  • Verified answer
    Riyaz_riz11 Profile Picture
    3,893 Super User 2025 Season 2 on at
    HI,
     

    Solution 1: PDF Form-Based Approach (Recommended)

    If your PDF contains fillable forms:

    Power Apps Component: 


    1. Extract PDF form data using Power Automate

    2. Display data in Power Apps form interface

    3. Allow users to edit the extracted data

    4. Submit changes back to Power Automate

    5.  

    Power Automate Flow:


    1. Use "Extract text from PDF" action to get form data

    2. Use third-party connectors like:

      • Encodian (PDF Manager)

      • Muhimbi (PDF Converter)

      • Adobe PDF Services API
    Trigger: Power Apps
    ↓
    Extract PDF form data
    ↓
    Return data to Power Apps
    ↓
    (User edits in Power Apps)
    ↓
    Receive updated data from Power Apps
    ↓
    Generate new PDF with updated data
    ↓
    Save/Email the updated PDF
     

    Solution 2: Using Adobe PDF Services API

    Most comprehensive solution:

    Power Automate Implementation:


    1. HTTP Request to Adobe PDF Services API

    2. Extract form data from PDF

    3. Send to Power Apps for editing

    4. Receive updated data

    5. Fill PDF form with new data

    6. Save and email the updated PDF

    7.  

    Sample HTTP Request

    json
    {
      "method": "POST",
      "uri": "https://pdf-services.adobe.io/operation/extractpdf",
      "headers": {
        "Authorization": "Bearer @{variables('AdobeToken')}",
        "Content-Type": "application/json"
      },
      "body": {
        "input": {
          "location": "@{variables('PDFLocation')}"
        },
        "output": {
          "location": "@{variables('OutputLocation')}"
        }
      }
    }

    Solution 3: Template-Based PDF Generation

    Convert PDF to template approach:

    Process:


    1. Extract data from original PDF

    2. Create PDF template with placeholders

    3. Power Apps edits the data

    4. Power Automate generates new PDF using template

    5. Replace original file with updated version

    6.  

    Power Automate Actions:

      
    Extract text from PDF
    ↓
    Parse extracted data
    ↓
    Send to Power Apps
    ↓
    Receive updated data
    ↓
    Create PDF from Word template
    ↓
    Save with original filename
    ↓
    Email PDF
     

    Solution 4: Using Encodian (Third-Party Connector)

      Premium but powerful solution:
     

    Encodian Actions Available: 


    • Extract PDF Form Data

    • Populate PDF Form

    • Convert PDF to Word (edit) → Convert back to PDF

    • Merge PDF data

    •  

    Implementation: 


    1. Extract form data using Encodian

    2. Edit in Power Apps

    3. Populate PDF form with new data

    4. Email updated PDF

    5.  

    Solution 5: OCR + Template Approach

    For non-form PDFs:

    Process:


    1. Use AI Builder OCR to extract text

    2. Parse and structure the data

    3. Edit in Power Apps

    4. Generate new PDF from Word template

    5. Format to match original layout

    6.  

    Power Automate Flow:

    AI Builder - Extract text from PDF
    ↓
    Parse text into structured data
    ↓
    Power Apps - Edit interface
    ↓
    Generate PDF from template
    ↓
    Email updated PDF
     

    Solution 6: Hybrid Approach with SharePoint

    Using SharePoint as intermediate storage: 

    Setup:


    1. Upload PDF to SharePoint

    2. Extract data to SharePoint list

    3. Power Apps edits SharePoint data

    4. Power Automate generates updated PDF

    5. Replace original in SharePoint

    6. Email the file

    7.  
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard