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!

Report
All responses (
Answers (