Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Moving emails with specific subject keywords

(0) ShareShare
ReportReport
Posted on by 3

Hello community, 

 

I am trying to figure out how to move emails arrived in shared mailbox with different subject words to the same subfolder.

I have tried with trigger conditions directly into settings (e.g. "@contains(triggerBody()?['Subject'],'XXX'"), but once saved, in the main trigger box I get the following notification:

"Unsupported split on expression '@triggerBody()?['body/value']'."(image below).
Basically the thing is that there are multiple senders whose email addresses I have indicated in "From" box. Many of these communications sent by them have to be moved from the main shared inbox to a subfolder according to the subject lines.  "Apply to each" step is automatically added when I select "Move" action.
Can I get some tips please?
Thank you a lot!
 

Web capture_8-1-2021_111159_emea.flow.microsoft.com.jpeg

 
 
 
  • VictorIvanidze Profile Picture
    12,212 on at
    Re: Moving emails with specific subject keywords

    Hi @AppsforACI2,

    what's "not very helpful"? Can you suggest an alternative way? 

  • AppsforACI2 Profile Picture
    13 on at
    Re: Moving emails with specific subject keywords

    This isn't very helpful, and seems to be a legitimate issue with triggers. 

  • VictorIvanidze Profile Picture
    12,212 on at
    Re: Moving emails with specific subject keywords

    Sorry no time to be "more specific". My point is: do not filter messages in the trigger, do it later.

  • N3cola88 Profile Picture
    3 on at
    Re: Moving emails with specific subject keywords

    Thank you for the prompt reply. Could you please be more specific? 

  • VictorIvanidze Profile Picture
    12,212 on at
    Re: Moving emails with specific subject keywords

    Just do not use a  trigger condition. Use a comparison instead.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow