I actually built a tool called FlowPDF - https://www.flowpdf.app/ - specifically to solve this "logic" problem. I found that single-button tools were too limiting for things like "Merge -> Check Size -> Compress".
It uses a node-based graph so you can literally string those steps together (e.g., Merge files -> Split out page 35 -> Compress the rest) and save it as a repeatable workflow.
We don't have permission to read this file. Re-add it and allow access.
DebugFILE_INPUT_FILE_PERMISSION · INPUT_FILE_PERMISSION · size=213517B · SecurityError: Security error when calling GetDirectory
It uses a node-based graph so you can literally string those steps together (e.g., Merge files -> Split out page 35 -> Compress the rest) and save it as a repeatable workflow.