Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Only extract PDF from first email, not forwards

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have a current flow set up with automate, I receive an email into a select box then AI models runs extract the select data from the PDF and flow onto an excel table. If someone forwards the email into an email group it doubles up on the data in my spread sheet. Is it possible to only extract the data from the first email on in the chain?

  • VictorIvanidze Profile Picture
    12,214 on at
    Re: Only extract PDF from first email, not forwards

    Hi @PQIpavementadvi 

    any comments?

     

  • VictorIvanidze Profile Picture
    12,214 on at
    Re: Only extract PDF from first email, not forwards

    Yes that's possible.

    The fast and dirty way is analyzing the Subject line - if it doesn't start with RE: or FW:  it's the first email.

    The proper way is getting a specific MAPI property of email using a GRAPH request.

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,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow