I've created a flow that will send an email to my group whenever there's a new request from our SharePoint site.
I would like to add/attach an attachment in sending the email from sharepoint list.
I've used HTTP request to Sharepoint. Using this:
Site Address: \sharepoint_site\
Method: POST
Uri: _api/SP.Utilities.Utility.SendEmail
Headers: accept = application/json;odata=nometadata
content-type = application/json;odata=nometadata
Body: {
'properties':{
'To':['[email protected]']
'Body': 'Hello world!'
'Subject': 'Request #1'
}
}
I don't how to add the attached file from the list. My goal is on every request we will received an email with attachments and the attached file will be automatically delete when the flow is successful.
Any idea on how it will work?.
thanks in advance.
[email protected]
email inFrom
section?