Just needing some advice or guidance.
Essentially when a new record is added to a sharepoint list from an app, i want the output to be emailed via pdf to the individual entering the record.
While i can get this working via a simple html to pdf flow, i was wondering if there was a way to suppress/hide fields (and associated headings) that have null values?
For example in simple HTML below if there were no actual comments in fields Comment 1 and 2 below, could these fields and headings be suppressed in the output? (so the output has no gaps, less white space) Are there other options apart from HTML?

thanks