Forum Discussion
Automatic replies in flow
- jdefranclieuJul 28, 2021Copper Contributor
Hi,
I would like to update the "from" of the "automatic replies V2" connector, but this option is not available in it. Do you know how to do that ?
Thanks
- akashsonare0203Jul 29, 2021Copper Contributor
Two options are available to change email from.
1) Use action : Send an email from a shared mailbox : In this action you can update email from to shared mail box id.2) Use action : Send an HTTP request to SharePoint : In this action you need to specify following properties
- Site Address: Use SharePoint Site URL
- Method: POST
- Uri: _api/SP.Utilities.Utility.SendEmail
- Specify following headers
- Content-Type: application/json;odata=nometadata
- Accept: application/json;odata=nometadata
- Specify following JSON in Body{‘properties’: {‘From’: ‘@{body(‘Get_item’)?[‘From’]?[‘Email’]}’,‘To’:[‘@{triggerBody()?[‘To’]?[‘Email’]}’],‘Body’: ‘@{variables(‘EmailBody’)}’,‘Subject’: ‘@{variables(‘EmailSubject’)}’}}
In From property you can specify User ID
By this way you can update Email From.
- RobElliottJul 28, 2021Silver Contributor
jdefranclieu it will always use the connector of the flow owner, so sending the email from the approver is not possible as you will never have send on behalf of privileges. But if you build a full flow and use the Send an email from a shared mailbox action, if you have a shared mailbox called approvals or something like that then it's clear where the email has come from.
Rob
Los Gallardos
Microsoft Power Automate Community Super User