Unrelated, out of curiosity. In a 300 page mortgage document, there’s probably >90% of boilerplate with a few pages of custom content. Hypothetically, you could generate those <10% and then stitch it together with the rest onsite.
Street smart! But yes, programmatic merging does get complex, especially with large document sizes. It's a balancing act between functionality and handling those technical challenges!