Hi, I created a service desk based on Sharepoint Online and Azure Logic Apps. The only feature i can’t implement is attaching files to outgoing email messages. There is an action in Office365Connector that allows to send emails and it has Attachments property, but i don’t understand how to form correct input for that property.
Any ideas how to use this O365Connector feature? or may be another solution?
I’ve succeded attach a file using hardcoded object assigned to Attachments property:
[ { "Content": { "ContentData": "dGVzdCBzdHJpbmc7INGC0LXRgdGC0L7QstCw0Y8g0YHRgtGA0L7QutCw", "ContentTransferEncoding": "Base64" }, "Name": "test.txt" } ]
I can try assign values to child properties (like “ContentData” or “Name”), but what if there is no attachment for particular message? How can i assign empty array to Attachment properties, based on empty output of another action?