Hello,
I am hitting a wall in making following flow to work so hope some guru here will help me out.
I have a SharePoint list with two columns. Column "A" contains the keywords (unique) and column "B" has list of persons.
Aside of that i have a channel where messages are sent from various sources (emails, other flows, people, etc).
Trigger of my flow is when new message is sent to that channel - This works
Then I am checking if a specific keyword is present in the message - This works as well
What i want to do next is to search in the same message if it contains any of the keywords from List column "A" - This i think I have as well, but not sure.
Now IF any keyword is found i want to pick the name/content from the same row but from column "B" from the list. <- This is what i am struggling with
Last step is to send a reply to the message with info what keyword was found and highlight the responsible person (so they can take it from there). - This i know how to do.
More practical example ... List looks like this
apple, Thomas
orange, John
citron, Anne
Message: There is a problem with server orange
First scan looks for "problem", if found then
Second scan search in Column "A" and finds "orange"
Send reply to the message with text "Orange server is broken @ John please check this"
What i have so far:
- Check the msg for the first keyword:

- Get items from sharepoint list + apply for each for the first column (hope this is correct)

Now how the hell i get the content of second column for each match?
Thanks a ton in advance for any suggestion!
Regards,
Alex