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 / Move email (V2) Messag...
Power Automate
Suggested Answer

Move email (V2) Message ID

(1) ShareShare
ReportReport
Posted on by 43
I am making a flow to move messages based on the text "Performance" within an email subject line. How do I define a Message Id: within the flow? It keeps throwing errors on the Message Id. 
Categories:
I have the same question (0)
  • Suggested answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
    You want the id of the first matching email, correct?
     
    If that is the case you need to retrieve the id field within value property. And you can use an index [0] for the first item.
     
    Try the below:
    %GetEmailsV3Response['value'][0]['id']%
    Btw, if you want to move all matching items I would suggest to use a For each loop 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard