Dynamically attach latest report into Email

Hi Team – I am trying to generate customized  reports, and those reports need to be attached to Email that I have configured already. But I can see the configuration is there for static attachments. Is it possible to make attachments dynamically ?
1 answers

Yes, you can add attachments to an email dynamically using the Email with Templates module.  Look at the screenshot below for an example of this.  You will need to create your report document as an EmailTemplate.Attachment object (or a specialization of that entity).  But as long as you do that, you can pass a list of attachments to the SendEmail microflow and they will be attached to the email.