You can construct a bot to send an email with a PDF attachment. To do so, you use a template that includes variables that are replaced by the actual values in an updated data row.
Occasionally, the PDF produced is not identical in formatting to the original document. Problems include changes in the margins, changes in page break positions, and other such formatting issues.
To better understand the causes for the formatting issues and how to correct them, see Why is the email attachment formatted incorrectly?