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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power work flow is not...
Power Apps
Unanswered

Power work flow is not sending email

(0) ShareShare
ReportReport
Posted on by 240

Hi Team

I set up a work flow to receive an email when a user submit a form, i am using power apps, below this my work flow process on power automate.

 

// power apps function call onSelect(Advance mode)

gcizman2024_0-1711537686818.png

Then power automate this is my work flow

gcizman2024_1-1711537741290.png

 

Categories:
I have the same question (0)
  • Verified answer
    cdwhite Profile Picture
    1,067 Most Valuable Professional on at

    Hi @gcizman2024 ,

    Have you tested the flow to see if it works and if not, what are the error(s) you're receiving?

    An alternative method is to create the record directly in the Power App using the Patch function. You can also send emails directly from Power Apps too, using the Office 365 Outlook connector.

  • Loconam Profile Picture
    42 on at

    It is easier to use the outlook connector instead of Flow.

    Button - Onselect :

    Office365Outlook.SendEmailV2( Emailaddress, Subject, Body)

  • gcizman2024 Profile Picture
    240 on at

    @Loconam , the parameters for using outlook connector, will these be sent to a receipt directly from the form, showing details? e.g who created the form etc

  • cdwhite Profile Picture
    1,067 Most Valuable Professional on at

    Hi @gcizman2024 

    You can customise the body part of the email action in Power Apps to include any information from the app that you want.
    ------------------------------------------------------------------------------------------------------------------------------
    If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.

    If my response was a good one, please give it a Thumbs Up!

    Visit my blog: https://platformsofpower.net

  • Loconam Profile Picture
    42 on at

    How about use variable and html text.

     

    Set(_name,Office365Users.MyProfile().DisplayName)

    Set(_mail,Office365Users.MyProfile().Mail)

    Set(_created,Today())

    ...

     

    And make a body using html text.

     

  • gcizman2024 Profile Picture
    240 on at

    @Loconam , can you perhaps send me a screen shot of this so can see, does this mean if i am having power flow function, onSelect this function has to use these fields? I am using power flow function needs to trigger my power app so the work flow sends an email with form fields and store data be on sharepoint, hope make sense.

  • Loconam Profile Picture
    42 on at

    1. Connect Connectors(SharePoint, Outlook, 365User)

    Loconam_0-1711633105152.png

    2. Use variable

    Set(_name, Office365User.MyProfile().DisplayName);
    Set(_mail, Office365User.MyProfile().Mail);
    Set(_created, Now());

     

    3. Make a html text for Email body

    "Name : "&_name&"<br>Email : "&_mail&"<br>Created :"&_created&"<br>"&DataCardValue1.Text
    //DataCardValue1.Text  is your sharepoint textinput

    Loconam_2-1711633708607.png

    4. Sendmail And Submitform On Button

    Office365Outlook.SendEmail("your mailaddress","subject",HtmlText1.HtmlText,{IsHtml:true});
    //HtmlText1.HtmlText is your Email body contain sharepoint data
    SubmitForm(Form1);
     
  • gcizman2024 Profile Picture
    240 on at

    @Loconam  which one is on advance mode? the button and set variable is where when i click the whole form to find these properties? Please let me know so can apply these and test again

  • Verified answer
    Loconam Profile Picture
    42 on at

    Use variable and code on the 

     

    OnStart(App) properties : 

     

    Set(_name, Office365User.MyProfile().DisplayName); 
    Set(_mail, Office365User.MyProfile().Mail); 

     

     

    OnSelect properties(Button) : 

     

    Set(_created, Now());
    
    Office365Outlook.SendEmail("your mailaddress","subject",HtmlText1.HtmlText,{IsHtml:true});
    //HtmlText1.HtmlText is your Email body contain sharepoint data
    SubmitForm(Form1);

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard