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 / Check if an email subj...
Power Automate
Unanswered

Check if an email subject matches a SharePoint List items

(0) ShareShare
ReportReport
Posted on by 4

Hi everyone,

 

First, I'd like to say I'm not a pro developer, so go easy on me 🙂

 

What I'm trying to do is pretty much just check and archive emails based on their subject line. If it contains a matching case number in my SharePoint list, I save the email to a corresponding folder.

 

What I have tried so far is :

 

  1. start the flow with the "When a new email arrives" trigger.
  2. Get list items from SharePoint
  3. Try to have an Apply to each loop to test if my subject line contains an items in the SharePoint list.

It seems easy enough, but I can't make it work. I'm having trouble with the step 3. I'm sure there is something very easy that I'm not doing properly (maybe finding a way to isolate the item title and comparing it with the email subject line).

 

Anyway, any help would be appreciated !

 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @sragot,

     

    How does the case number in Subject line look like? Could you please share an instance of subject line?

    This is an example to check Email Subject if contains title of an item of SharePoint:

    Screenshot 2020-09-17 150455.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • sragot Profile Picture
    4 on at

    Well, this finally works !

     

    It's the first thing I tried, but somehow I couldn't make it work...

     

    Thank you !

  • sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at

    @sragot how did you fix this?

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