Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Array of keywords that have matching data from SharePoint and combine them

(0) ShareShare
ReportReport
Posted on by 34

The scenario:
I have a set of SharePoint pages that we use as wiki pages for our department. These are regular SharePoint pages, not to be confused with SharePoint's wiki pages. Our Page library in SharePoint has a single "line of text" column for keywords to tag to the wiki page. It's just texts separated by a comma and space. 

The goal:
When someone in my department uses trigger words in a group message in Microsoft Teams, it will start the flow. These trigger words imply a question was asked, like "who," "what," "when," and "where." The flow will then scan their message for keywords used in our wiki library. If one or more are found, it will send an adaptive card back to them in Teams with suggested wiki articles based on the keywords found. Thankfully, I've been able to create a flow that does all of these things. I just have one issue.

Problem:
When someone uses more than one keyword that belongs to the same wiki article, the adaptive card suggests the same wiki more than once. I want to figure out how to consolidate them. I have no idea how to piece that together.

I assume I would need to use the array of keywords that were found in the Teams message and somehow compare them against the Get List Items data, then explain that two of the words belong to the same title and link.

I've provided some screenshots to better understand. I hope this helps, and thank you to anyone who can help with this

 

NewName896452_0-1708714874550.png

 

NewName896452_1-1708714910805.png

 

 

  • tkaphingst Profile Picture
    2 on at
    Re: Array of keywords that have matching data from SharePoint and combine them

    Has there been any follow up on this?  I see this as a recurring issue so it would be nice to get some thoughts on it.

     

    Regards,Tom

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1