Newbie to Logic apps.
I created a workflow in Power Automate and this works finem but created the same flow in Logic Apps and when trying to send a PDF file as an email attachment , the attachment seems to be corrupted and is unable to be opened. A copy of the PDF is also sent to a SharePoint doc library and I have no issue opening the file from the library.
Is there an expression that I should be using to correct this? Being new to Logic Apps and Power Automate, I'm only familiar using dynamic content at the present time so any help is greatly appreciated.
Thank in advance
Error I receive when trying to open the attachment and the send an email step in Logic Apps


