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 / Parameters with Powera...
Power Apps
Answered

Parameters with Powerapps to powerautomate "Click a button in PowerApps to send an email"

(0) ShareShare
ReportReport
Posted on by 504

I want to send a notification to myself whenever the user clicked a button.

I have a fixed Subject and body is dynamic from a selected gallery in powerapps

nagestiada_0-1592890779042.png

It's asking me for 5 parameter but I don't why it came up with 5 while I think it should only be 2 (Body and From)

 

I want my Email body to have static text together with selected labels.

Client Name

Client Number

ClickabuttoninPowerAppstosendanemail.Run("Hi You have a new client",ClientListGallery.Selected.ClientName,ClientListGallery.Selected.Number)

 

something like that. Thank you

 

 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @nagestiada :

    Firstly,the 5 parameter problems you mentioned can usually be solved by recreating a new flow.

    Secondly,If you just want to send e-mail to yourself, you can do it without using flow.I'v made a test for your reference:

    1\Add an office365 Outlook connection

    1.JPG

    2\Add a button and set it's OnSelect to :

     

    Office365Outlook.SendEmailV2("XXX@XXXXXX.com","subject","body")

     

    3.JPG

    I think this link will help you a lot:

    https://docs.microsoft.com/en-us/connectors/office365/

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard