Automatic replies in flow

%3CLINGO-SUB%20id%3D%22lingo-sub-2593163%22%20slang%3D%22en-US%22%3EAutomatic%20replies%20in%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2593163%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20created%20a%20flow%20to%20approve%20activities%20from%20a%20form%20in%20a%20SharePoint%20list%2C%20at%20the%20end%20I%20setup%20the%20automatic%20replies%20to%20be%20enabled%20if%20some%20conditions%20were%20met.%3C%2FP%3E%3CP%3EThis%20activities%20approval%20are%20available%20for%20everybody%2C%20but%20the%20auto%20replies%20connector%20is%20enabling%20the%20OOO%20message%20just%20for%20the%20flow%20creator.%3C%2FP%3E%3CP%3EHow%20can%20I%20enable%20this%20connector%20for%20the%20requestor%20of%20he%20form%20instead%20of%20the%20creator%20of%20the%20flow%20%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EJerome%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2593163%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2593695%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20replies%20in%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2593695%22%20slang%3D%22en-US%22%3EYou%20want%20to%20update%20email%20from%20should%20be%20the%20user%20who%20approved%20item%20instead%20of%20connector%20connection%20id%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2593987%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20replies%20in%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2593987%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20would%20like%20to%20update%20the%20%22from%22%20of%20the%20%22automatic%20replies%20V2%22%20connector%2C%20but%20this%20option%20is%20not%20available%20in%20it.%20Do%20you%20know%20how%20to%20do%20that%20%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1113445%22%20target%3D%22_blank%22%3E%40akashsonare0203%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2594032%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20replies%20in%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594032%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1114046%22%20target%3D%22_blank%22%3E%40jdefranclieu%3C%2FA%3E%26nbsp%3Bit%20will%20always%20use%20the%20connector%20of%20the%20flow%20owner%2C%20so%20sending%20the%20email%20from%20the%20approver%20is%20not%20possible%20as%20you%20will%20never%20have%20send%20on%20behalf%20of%20privileges.%20But%20if%20you%20build%20a%20full%20flow%20and%20use%20the%20%3CSTRONG%3ESend%20an%20email%20from%20a%20shared%20mailbox%3C%2FSTRONG%3E%20action%2C%20if%20you%20have%20a%20shared%20mailbox%20called%20approvals%20or%20something%20like%20that%20then%20it's%20clear%20where%20the%20email%20has%20come%20from.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23006400%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2595060%22%20slang%3D%22en-US%22%3ERe%3A%20Automatic%20replies%20in%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2595060%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1114046%22%20target%3D%22_blank%22%3E%40jdefranclieu%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETwo%20options%20are%20available%20to%20change%20email%20from.%3CBR%20%2F%3E1)%20Use%20action%20%3A%20Send%20an%20email%20from%20a%20shared%20mailbox%20%3A%20In%20this%20action%20you%20can%20update%20email%20from%20to%20shared%20mail%20box%20id.%3C%2FP%3E%3CP%3E2)%20Use%20action%20%3A%20Send%20an%20HTTP%20request%20to%20SharePoint%20%3A%20In%20this%20action%20you%20need%20to%20specify%20following%20properties%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3ESite%20Address%3A%3C%2FSTRONG%3E%20Use%20SharePoint%20Site%20URL%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMethod%3A%3C%2FSTRONG%3E%20POST%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EUri%3A%26nbsp%3B%3C%2FSTRONG%3E_api%2FSP.Utilities.Utility.SendEmail%3C%2FLI%3E%3CLI%3ESpecify%20following%20%3CSTRONG%3Eheaders%3C%2FSTRONG%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EContent-Type%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eapplication%2Fjson%3Bodata%3Dnometadata%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EAccept%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eapplication%2Fjson%3Bodata%3Dnometadata%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3ESpecify%20following%20JSON%20in%20%3CSTRONG%3EBody%3C%2FSTRONG%3E%3CDIV%3E%7B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%E2%80%98properties%E2%80%99%3A%26nbsp%3B%7B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%E2%80%98From%E2%80%99%3A%26nbsp%3B%E2%80%98%40%7Bbody(%E2%80%98Get_item%E2%80%99)%3F%5B%E2%80%98From%E2%80%99%5D%3F%5B%E2%80%98Email%E2%80%99%5D%7D%E2%80%99%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%E2%80%98To%E2%80%99%3A%5B%E2%80%98%40%7BtriggerBody()%3F%5B%E2%80%98To%E2%80%99%5D%3F%5B%E2%80%98Email%E2%80%99%5D%7D%E2%80%99%5D%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%E2%80%98Body%E2%80%99%3A%26nbsp%3B%E2%80%98%40%7Bvariables(%E2%80%98EmailBody%E2%80%99)%7D%E2%80%99%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%E2%80%98Subject%E2%80%99%3A%26nbsp%3B%E2%80%98%40%7Bvariables(%E2%80%98EmailSubject%E2%80%99)%7D%E2%80%99%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FDIV%3E%3CDIV%3E%7D%3C%2FDIV%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EIn%20%3CSTRONG%3EFrom%3C%2FSTRONG%3E%20property%20you%20can%20specify%20User%20ID%3C%2FP%3E%3CP%3EBy%20this%20way%20you%20can%20update%20Email%20From.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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
You want to update email from should be the user who approved item instead of connector connection id?

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

@akashsonare0203 

@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

@jdefranclieu 

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.