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 / Creating a power autom...
Power Apps
Unanswered

Creating a power automate with powerapp

(0) ShareShare
ReportReport
Posted on by 51

Hi Everyone,

 

Creating a power automate where the trigger is Pressing a button in PowerApps. I'm using SharePoint as my database.

 

Upon clicking on one of the requests on my power app (distinct ID), i want to press a button to automatically send an email.

 

Tried using it but office 365 won't allow me to connect but Send an Email notification (V3) works so that's what I'm using right now. It seems that "Get Items" literally getting all the items on my SharePoint, any advice what should i use instead of "Get Items" to filter this particular ID only sending the email not everything.

 

Hope this make sense, Thank you!

 

 

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @SecretAdmirer09 ,

    Assuming you do not want to send the mail directly from Power Apps using the Office365Outlook.SendEmailV2 function, you can use  "Get item" in Power Automate and send the ID of the target record.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • SecretAdmirer09 Profile Picture
    51 on at

    Hi, 

     

    Let me try explaining it more clearly.

     

    Per se i have 30 Request (with different IDs)

     

    Upon clicking to one of the request, (For example ID 12345), there is a "Send an Email" button. Upon clicking it, it would automatically send the drafted email to the specific requester (For example: Person 1) of ID 12345 by using power automate. So if i would to click another request (e.g. 12343), if i click the button, it would send the drafted email to it's specific requester (Person 2)

     

    Now my power automation, the trigger should be (upon clicking a button in PowerApps- which i can't figure out how), then to filter my database which is SharePoint, I'm trying to use "Get Items" but as per trying, it's checking and trying to send every single request I have on my database and not the specific request I selected on my PowerApps (Tried using "Get Item" but since I have no technical background and just learning to use this, don't know what ID should be).

     

    Hope this makes more sense, Sir Warren. 

     

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @SecretAdmirer09 ,

    I am a little unsure how to explain this better, but you know the ID (you have posted some examples) and your flow would look something like this (disregard the To - I have used Created by as an example)

    WarrenBelz_0-1706004765826.png

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • SecretAdmirer09 Profile Picture
    51 on at

    Tried using the sendemail code, here's what i got.

     

    SecretAdmirer09_0-1706014896280.png

     

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @SecretAdmirer09 ,

    This is nothing to do with Power Apps - it usually indicates that the mailbox you are trying to send the email with is located on an on-premise Exchange server. You need to talk to your network Admin.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard