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 Automate / If statement to determ...
Power Automate
Answered

If statement to determine email address

(0) ShareShare
ReportReport
Posted on by 55

I am creating a flow and the results are based on currency amounts. So if the amount needed is more than £3000 it needs to go to a particular person if its more than £8000 it needs to go to a different email address. I work out the difference on the request using the compose. I was wondering if I could put in the flow if current limit > 3000 email@email.com or if current limit > 8000 email@email and then use the compose function to store this so I can do my approval based on this. Is this possible? TIA

number1.pngnumberflow.png

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @PennyP 

     

    Use 'condition' action Where you can compare current limit with specified number either greater than or less than whatever you want.

     

    Thanks

    Hardesh

  • PennyP Profile Picture
    55 on at

    Thank you for your response Hardesh. I have used 'condition' before but was hoping not to have a yes or no scenario as apart from the email based on the figure the results would be exactly the same sending an approval email. So didn't want to do 2 separate responses for what is the same and wanted to try and do it on compose. I guess I will have to build the 2 approvals if that's the best way to work. 

     

    Kind Regards

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @PennyP 

    Why you are not using condition action? Any reason?

    What is your exact requirement.?

    Thanks

    Hardesh

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @PennyP ,

     

    You could take a try with expression below:

    if(greater(outputs('Compose'),int(8000)),'gt8000@xxx.com',if(greater(outputs('Compose'),int(3000)),'gt3000@xxx.com','lt3000@xxx.com'))

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard