web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger condition for ...
Power Automate
Unanswered

Trigger condition for a flow connected to an RSS feed

(0) ShareShare
ReportReport
Posted on by 86

I have a flow that uses 'When a feed item is published' and connected to an RSS feed that has three different outputs. It currently sends me an email every time that RSS feed is updated, however I want to create a trigger condition so that it only sends an email when one of the outputs contains a particular word.

 

For instance, in another flow that's connected to a Sharepoint list, I have this trigger condition: @contains(triggerOutputs()?['body/Status/Value'], 'Active')

 

With this RSS feed however, the property I want to use has this expression: TriggerBody()?['categories']

 

How can I create a similar trigger condition for my RSS feed?

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,175 Most Valuable Professional on at
    Re: Trigger condition for a flow connected to an RSS feed

    Hi @user180618,

     

    You could try something like:

    @contains(triggerOutputs()?['body/categories'], 'English Premier League')
  • user180618 Profile Picture
    86 on at
    Re: Trigger condition for a flow connected to an RSS feed

    Thanks @Expiscornovus, that worked. What if I wanted to have an expression that contains an OR condition? So either 'English Premier League' or 'La Liga' (but not Bundesliga and so on)?

     

    Currently when you add additional trigger conditions it treats it like an AND condition ("Specify one or more expressions which must be true for the trigger to fire").

  • Verified answer
    Expiscornovus Profile Picture
    33,175 Most Valuable Professional on at
    Re: Trigger condition for a flow connected to an RSS feed

    Hi @user180618,

     

    In that case try:

    @or(contains(triggerOutputs()?['body/categories'], 'English Premier League'), contains(triggerOutputs()?['body/categories'], 'La Liga'))

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard