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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter RSS by user-pro...
Power Automate
Unanswered

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

Categories:
I have the same question (0)
  • Verified answer
    ianhilltegna Profile Picture
    37 on at

    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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard