web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApp email flow se...
Power Apps
Answered

PowerApp email flow sending as original flow creator rather than flow user

(0) ShareShare
ReportReport
Posted on by 26

Hi

 

I have created a PowerApp that has a button that triggers a flow to send an email with some information from a form. It all works fine but the problem is i created the flow in Power Automate so regardless of who submits the form the email always shows as its come from me?

 

I know their is a 'Send As' option in the V2 email but that requires access to the mailbox specified.

 

I assumed that whoever submitted the form Power Automate would know to send the email from that user?

 

Am i better off creating a shared mailbox say called powerautomate@ourdomain.com and give everyone full access to send as and use that for all Power Automate flow emails (id rather not)

 

Just wondered if i have missed something here?

 

Thanks

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    How are you triggering the flow? Is it triggered directly from the App or does your button write to a record which then triggers the flow?

  • iamrufus Profile Picture
    26 on at

    Hi,

    I am just submitting a PowerApps form that then creates a new SharePoint list record

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Right, so then your trigger for the flow is 'when an item is created', which will not be running under the user context 🙂

     

    In that case, you can create a shared mailbox that only your account has access to, and then use your account to send on behalf of it - I don't think in this particular case you will need to give everyone else access, they will instead receive the email from the shared mailbox sent by you on behalf of that shared mailbox.

  • iamrufus Profile Picture
    26 on at

    That makes sense, thanks for clarifying that.

     

    Is their a better option so that the user that submits the form is the one that created the item so it runs in their user context as such or is this not possible?

     

    Thanks again

  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Yes, there is another option - you basically create the flow from within Power Apps - this then becomes a power-apps-triggered flow, which will run in and use the context of the user account for all actions

     

    In your case, If I were to set this up I would create the flow within Power Apps, having it do the same actions that your current flow does (ensuring to delete or turn off your existing flow so that changes and emails are not done twice ), then have it use the ID field from your Form,

    So the action to run the flow would happen on a Form's OnSuccess, with it being something like:

     

    FlowName.run(FormName.LastSubmit.ID)

     

    Then in your flow you can reference the item by using the 'ask in Power Apps' action

     

    If you are unfamiliar with this I would suggest playing around a bit with it first, as for example it will name that input based on the name of the Power Automate action that you are calling it from, so make sure to rename your Power Automate actions to something useful!

     

    More info can be found here:

    Link

  • iamrufus Profile Picture
    26 on at

    This is great, thanks so much or your help. Will have a play around with what you have mentioned

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard