Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Filter RSS by user-provided value using HTML

(0) ShareShare
ReportReport
Posted on by 37

Hello Power Automate Community! 

 

Headline: my flow is not finding a user-provided URL in the link node of an RSS feed, as it should. How can I fix?

 

I have an RSS feed with many nodes, including //item/description/ and //item/link/.

 

My goal is to have a user provide a URL (via a Virtual Agents bot), then have a Flow search for that URL in the //item/link/ nodes of the RSS feeds. When the Flow finds the //item/link/, it should return the related //item/description/.

 

The List all RSS feed items action is not pulling the link or description nodes, but no sweat — I can pull them using an HTML action.

 

My current flow (screenshots below):

1. Get value 'Story_URL' from Virtual Agents

2. Compose action with the input 

 

createArray (trigger())

 

3. HTTP action to get the RSS feed

4. Compose action with the input

 

createArray(xpath(xml(body('HTTP')), '//item/link/text()|//item/description/text()'))

 

5. Filter Array action: Output of Step 4 contains the Output of Step 2.

6. Compose action for the body of step 5

7. Return the value to Virtual Agents

 

Tests are succeeding — as you can see in the screenshots, I'm able to get the array from step 4 with only the link and description nodes.

 

However,  the Filter Array action isn't finding the Output of Step 2 in the array with the link and description nodes.

 

I tried running the flow without Step 2, and making Step Filter Array action: Output of Step 4 contains Story_URL. No luck. Also tried removing 'text' from the nodes xpath searches for in Step 4, also no luck.

 

Any help would be GREATLY appreciated!

 

TriggerArray.png

FilterArray.png

OutputTriggerArray.png

  • Verified answer
    ianhilltegna Profile Picture
    37 on at
    Re: Filter RSS by user-provided value using HTML

    Resolved! The lesson: always look at your outputs. 

     

    I tested List all RSS feed items again, checked the outputs and found the data I was looking for from the feed, just under variable names that were different from those in the feed itself (the List all RSS feed items action applying default names instead of pulling them from the feed.)

     

    Once I identified the variable name, it was just a matter of comparing it to the variable provided by the user in a Filter Array.

     

    Working Flow below!

     

    Screenshot 2023-03-20 at 5.38.06 PM.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,957 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow