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 / Power Platform Request...
Power Automate
Suggested Answer

Power Platform Request Limits ; simplifying my code

(1) ShareShare
ReportReport
Posted on by 46
Hello,
 
My flow is working correctly but I have the impression I could be simplified a lot as I'm getting a report saying I reach the 1000 request limits in 24h ? As I'm a newbie, I appreciate some help or thoughts.
The purpose of my flow is : 
When adding a event in an outlook calendar it has to check for specific words. If found it should assign a specific category to that event. 
Underneath a screenshot of my flow. I think I can be simplified, because as it is now, every word to be searched for imbricced into the previous one.
In essence look for "FU" -> apply category x, look for "IMP" -> apply category Y. 
Now it's written like look for "FU", if not found, look for "IMP", and so on.  
 
What are your suggestions ?  
Thank in advance
Categories:
I have the same question (0)
  • Suggested answer
    Chriddle Profile Picture
    8,640 Super User 2026 Season 1 on at
    Yes, that can be simplyfied ;)
     
    For simplicity, I use a Compose for the text to be searched, not the Event trigger.
    In a Select, check for each search term, if it appears in the text and, if so, write the according category to the output array (empty string, if not).
    Then filter for items that are not empty.
     
    The result is an array, that you can put into the Update event (V4)'s "Categories" property (switch to array input)
     
     
    Compose:
    A test FU text
     
     
    Select:
    From:
    [
    {"Search": "FU", "Category": "x"},
    {"Search": "IMP", "Category": "y"}
    ]
    Map:
    if(
    	contains(
    		outputs('Compose'),
    		item()['Search']
    	),
    	item()['Category'],
    	''
    )
     
    Filter array:
    From:
    body('Select')
    Filter:
    item() is not equal to string(null)
     
     
    The result is
     
    and can be used as Categories in Update Event (V4)
     
     
     
  • Chriddle Profile Picture
    8,640 Super User 2026 Season 1 on at
    If you switch the order of the actions, the expressions are even simpler :)
     
    Filter array:
    From:
    [
    {"Search": "FU", "Category": "x"},
    {"Search": "IMP", "Category": "y"}
    ]
    Filter:
    outputs('Compose') contains item()['Search']
     
    Select:
    From:
    body('Filter_array')
    Map:
    item()['Category']
     
  • Chapeau_Melon Profile Picture
    46 on at
    Thanks a lot Chriddle for taking the time to look into this ! 
    I added my original flow : WeTransfer
     
    As I'm not really into this, would it be possible that make a flow based on mine and share it with me?
    This way I can analyse it and try to learn what you're trying to explain to me.
    I hope you can as it would help me tremendously. 
    You don't have to code all possibilities, maybe 3 of them and I continue trying to understand what I do.
     
    Kr, 
     
    Tom
  • Chriddle Profile Picture
    8,640 Super User 2026 Season 1 on at
    I doubt that I will find a flow in your link (WeTransfer) ;)
  • Chapeau_Melon Profile Picture
    46 on at
    Hi Chriddle, 
    Yes there is : apparently you can export a flow in zip. I just removed the "connexion" in the flow.
    I understand the hesitation, but no, there's no virus or other malicious stuff inside. 
    I hope you'll try, if not, I understand too. 
    Thanks for your replies!
    Kr
     

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
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard