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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Help Needed to Create an Instant Flow in Power Automate to Merge PDF Files in OneDrive for Business

(1) ShareShare
ReportReport
Posted on by 12

Hello, I’m new to Power Automate and working on a project with the following requirements:

  1. Automated PDF Conversion: When a file is created in our OneDrive for Business in a folder or subfolder, I check if the file is an image. If it is, I convert it into a PDF using the Adobe connector, which works perfectly.

  2. Trouble with Manual Flow: Now, I need help creating an Instant Flow that can be triggered manually from within OneDrive for Business. I don’t want users to navigate through multiple screens.

    Specifically, I want to achieve the following:

    • When a user selects a single file in a OneDrive folder, I need to:
      1. Retrieve the folder path of the selected file.
      2. Get all the PDF file names within the same folder.
      3. Merge these PDFs into a single file using the Adobe connector.

I’m having trouble figuring out how to retrieve the folder path and dynamically get all the PDF files in the selected folder to merge them.

Can someone please help me design this flow or provide some guidance?

Thank you!

I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    14,707 Super User 2025 Season 2 on at
    Help Needed to Create an Instant Flow in Power Automate to Merge PDF Files in OneDrive for Business
    Hi,
     
    I put this together quickly and checked a subfolder.  Here I can find all the PDFs in the folder and add the path to an array variable using append.  From here, you have an array variable that contains all the PDFs you want to work with and can hand them off to Acrobat connector to merge.  Works in testing.
     
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Help Needed to Create an Instant Flow in Power Automate to Merge PDF Files in OneDrive for Business
    Try using the Encodian connector. You get 50 free credits each month when you use Encodian.
     
  • trice602 Profile Picture
    14,707 Super User 2025 Season 2 on at
    Help Needed to Create an Instant Flow in Power Automate to Merge PDF Files in OneDrive for Business
    Hey there!
     
    I am following up on this post help needed to create an instant flow in power automate to merge pdf files in onedrive for business in this category building flows from 12/13/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 2 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    14,707 Super User 2025 Season 2 on at
    Help Needed to Create an Instant Flow in Power Automate to Merge PDF Files in OneDrive for Business
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard