Sending PDF in Base64 string, using json object. Converted Stream to Base64 before passing. Using Http trigger post for calling logic app
Email are generated with pdf from logic app but PDF is not opening. Is Base64 content corrupted?
In Logic app, updated attachment content by ContentBytes => triggerBody()['attachments']?['ContentBytes'] and ContentBytes => base64(triggerBody()['attachments']?['ContentBytes'])
After some testing, you should use the
base64ToBinary
expression: