How to "Auto Genearte PDF" and "Attach it in Email"?

How to "Auto Genearte PDF" and "Attach it in Email"?

Hi,

I have a question, how to :

1. Auto generate a PDF based on a form record? (e.g. a PDF of student profile based on a record in student form)

2. Then attach this PDF as a email attachment and sent it out? (e.g. send the generated PDF by email to this student)


Thanks for help!

Best,
Yiheng