Copy the Create Note function of Generate Letter to Convert in PDF

Hi, is it possible to replicate the Generate Letter functionality of
"creating a Notes record with the PDF file generated as Attachment "

for the “Convert PDF” function?