web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get email - subject line
Power Automate
Unanswered

Get email - subject line

(0) ShareShare
ReportReport
Posted on by 131

Hi, 

@trice602 

 

We discussed about the workflow 2 week ago. I just tested with my coworker today. It seems to have some issue. Can you please help me? 

 

Let me explain to you some background information:

The purpose of workflow is to screen out the inbox or subfolder of inbox emails (with attachments) and subject beginning with "RFP-200-594", then pursue two tasks

  1. save the attachment into a folder
  2. move the email to another folder (different folder than the currently existing folder)

Last time, we worked on it and I have tested it which was working in my computer. It looks like this:

PA.png

Today, when we copied the same flow to my coworker's computer. It was partially working. What I meant is out of 48 email, only 15 emails were executed. 

 

I was wondering if "RFP-200-594" in subject line was right? I checked his email folders, and left-over emails are most recent email and most of them has "RFP-200-594-XXX..." in subject line. Therefore, can you please help me if there is way to insert formula (beginning with "RFP-200-594" or contain text string "RFP-200-594" ) into subject line to capture the rest of email? 

 

Thanks, appreciated. 

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    you could just extract the first 11 characters from the subject using substring function

    SudeepGhatakNZ_0-1693449158311.png

     

  • tana1 Profile Picture
    131 on at

    @SudeepGhatakNZ 

     

    Thanks for your reply. 

     

    Since I am a beginner learning Power Automate, I am wondering "Filter Array" is new action or new step? And in the "Get email (v3)", should I put anything under the field of Subject line? Thanks, 

     

    Below is what I have now

    PA.png

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    If you are only querying a subset of emails (like the unread ones) then a Filter should suffice. You don't need to provide a Search Query

     

  • tana1 Profile Picture
    131 on at

    So I will leave it empty? can you please confirm?

    By the way, I don't know how to get to filter array screen. Tried it but don't know how. Can you teach me? Thanks,

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Filter array is an action just like Get emails if you look for it you'll get it.

    Then just repeat what I have shown above. You will need to use the expression window to add the substring expression. It will be exactly what I have written

     

     

  • tana1 Profile Picture
    131 on at

    Thanks for your help! Appreciated!

     

    This is what I have so far

     

    PA.png

    If possible, can you please advise if that is right? I will test it tomorrow. Thanks, 

     

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Looks good to me. However, why do you have two loops?

     

  • tana1 Profile Picture
    131 on at

    yes, one is to move attachment to a pre-set folder and second one is for moving the original email to another inbox subfolder. Is that alright?

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Looks good, see how you go!

     

  • tana1 Profile Picture
    131 on at

    @SudeepGhatakNZ 

     

    Thanks for your confirmation. Yes, I am just about to let you know the result of flow. We have tested and it seemed like it did not pick up the read email with subject line start with "RFP-200-594". May I know if you have easy fix for it? Thanks apprciated!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard