Paul Richardson
Paul Richardson

Reputation: 205

Retrieve Mail-Attachments in LogicApp for Azure Function call

I have a use case in which I have a Logic App which triggers as soon a Mail is sent to a particular email address.

This email contains multiple attachments. The Logic App then needs to call an Azure Function and pass the Body of the mail and the attachements to the Azure Function.

Actually I am struggling with getting the email attachements in a way (Array?) which allows me to pass them to the Azure Function for further processing.

Does anybody have some advice for me? I'm not very familiar with Logic Apps, so any help is highly appreciated.

Upvotes: 0

Views: 1647

Answers (1)

Frank Borzage
Frank Borzage

Reputation: 6796

You can directly use HTTP requests to send attachment, The metadata used in the example can be obtained directly in Add dynamic content.

enter image description here

enter image description here

You can refer to Post Multipart/Form-data using Azure Logic Apps.

==================update===========================

enter image description here

enter image description here

Upvotes: 2

Related Questions