How to send dynamic attachments in a email using Power Automate
We can send documents get from SharePoint or other sources and send as attachments in email. In my case, I need to get the SharePoint document based on the id and convert to PDF. Once we convert to PDF, need to send the PDF document as attachment in a email.
To get the SharePoint document, I have used Get File Content method to get the file content.
Once we get the content, Using One drive convert method, convert the file to PDF. (before conversion, we need to create same file in One drive using Create File Method).
Once we get the file content, we can send the file as attachment in the attachment section as sown below.
Comments