Forum Discussion
Automatic replies in flow
Hi,
I created a flow to approve activities from a form in a SharePoint list, at the end I setup the automatic replies to be enabled if some conditions were met.
This activities approval are available for everybody, but the auto replies connector is enabling the OOO message just for the flow creator.
How can I enable this connector for the requestor of he form instead of the creator of the flow ?
Thanks
Jerome
4 Replies
- akashsonare0203Copper ContributorYou want to update email from should be the user who approved item instead of connector connection id?
- jdefranclieuCopper 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
- akashsonare0203Copper 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.