Merging multiple PDF Files using merge function using document services via Power Automate
We have been recently trying to achieve creating an OCR enabled document from a pdf file and with the help of Adobe’s PDF services connectors we were able to do it up to certain extent however we faced the real challenge when the file were as huge as about 350-400 pages. Adobe’s OCR action has a limitation of 50 pages at a time. Luckily, we found a solution to this and thought of splitting the file and then merging it so get the expected outcome and we figured out a way also to do that but we are still seeing some problems while merging the file.
The approach:
Using the split pdf action to split file into 49 pages each -> using OCR action to file instance (apply to each) -> creating and storing the files in a temp folder after OCRed -> getting the temp files’ content and appending them to a temp array variable
The problem:
We realized that there are size limitation to array variable in power automate.
Are there any ideeas / solution on how to merge multiple files using the "merge" function via PDF that can be used to merge multiple documents without hitting the variable limitations?
Thank You!
PS: And just in case tehre is a possibility to open an service ticket for a paid API subscription... i would love to find it!
