Skip to main content
Participant
October 27, 2022
Question

Merging more than 20 PDFs at a time with Adobe PDF Services API and Power Automate

  • October 27, 2022
  • 1 reply
  • 1985 views

Hello,

 

we are trying to merge several documents in one PDF with Power Automate, however we noticed there is a limit of 20 documents to be merged.

Is there a way to overcome this limit?

The flow collect all files' contents in an array by the Apply to each action and then gives that as input to the Merge PDFs action.

 

Thanks in advance for the support

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
October 27, 2022

That's a hard limit. You'll need to make a call for each set of 20 that you want to combine using the output of one as the first input to the next.

Participant
October 27, 2022

You mean a sort of splitting the group in smaller groups and then merge the output?

 

Thanks

 

Joel Geraci
Community Expert
Community Expert
October 27, 2022

Yes. Let's say you have 45 files. You'd merge them in batches.

Merge files 1-20 then use the output of that call as the input to merge 21-40 (the output file plus 19 more) then use the output of that to merge 40 - 45.

Alternatively, merge 1-20, then 21-40, then 40-45 and then merge the three output files. But then you have 4 transactions instead of just three.

 

But also remember that there are file size limitations on the input that you'll need to be thinking about.