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 / Flow to send an email ...
Power Apps
Answered

Flow to send an email only when the new item has a certain value within a choice field

(0) ShareShare
ReportReport
Posted on by 75

I need some help on how to make my flow run only when a certain choice field on my power app form is the value "Fabric Flaw".

 

I have a flow that runs when new item is created but don't know where to start wit this one.

 

Any help is appreciated. 

Categories:
  • Geeks_D Profile Picture
    1,169 on at

    Do you want this when the form is submitted ?

  • Rogan Profile Picture
    75 on at

    yes

  • Geeks_D Profile Picture
    1,169 on at

     

    If you only need to send an email you really do not need a flow 

    Add the Office365Outlook connector to your app 

    On the Submit button 

    Add an If Statement as th first code 

    If (Choicefiled.Seleced.Value = "ChoiceValue", Office365Outlook.SendEmailV2("ToEmail","Subject","Body");

    Submit(Form)

  • Ethan_009 Profile Picture
    4,840 Moderator on at

    Hi @Rogan ,

     

    I'll give you 2 solutions based on your question along with Pros and Cons:

    #1: Using Power Automate Flow

    Pros: This will trigger regardless of PowerApps dependency. So If anyone creates record with choice value, the flow will trigger. 

     

    Solution: Insert Trigger condition so only if choice is filled, then this will trigger

    Note: This is only for the Trigger (new item is created) + additional condition. 

    Click on 3 dots on trigger and select settings. At the end, you see:

    Ethan_R_0-1688658813556.png

     

    You need to insert condition accordingly.

     

    #2: PowerApps trigger

    Pros: Direct request send without flow.

    Cons: Since its dependent on the info sent only by PowerApps, if anyone creates record outside then nobody will know outside.

     

    Solution: When you select submit form in PowerApps:

    This should be the logic:

     

    If(
     !IsBlank(DataCardValue.Selected),
     SubmitForm(Form1),
     //Notify not submitted
    )

     

     

    Hope this helps

     

  • Rogan Profile Picture
    75 on at

    Hi @Ethan_R what would the condition be for the trigger?

  • Verified answer
    Ethan_009 Profile Picture
    4,840 Moderator on at

    Hi @Rogan ,

     

    You have to get your column name in flow:

    Simple steps to do that:

    Step 1: Insert a temporary compose below Trigger and add the Choice column in that

    Step 2: Copy the field from compose and paste in notepad

    Step 3: Enter you data in similar format

    @contains(triggerBody()?[‘choiceColumnName’])

     

    Note: You need to remove any {} brackets or @ symbol that comes from your field when you copy.

    There will only be 1 @ symbol at the start of the coondition (refer the syntax above)

     

    Replace your field name in place of this "triggerBody()?[‘choiceColumnName’]"

     

    Step 4: Do the test

     

    Hope this helps

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard