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 / forward only the first...
Power Automate
Answered

forward only the first email with the same subject

(0) ShareShare
ReportReport
Posted on by 6

Our ERP system automatically sends me updated PO PDF emails whenever there is a change in price, quantity, or cost. However, the subject line of these emails remains the same. Typically, I manually forward only the initial email to the vendors, as many of the subsequent changes are internal and not necessary to send to them again. I am looking to create a flow where Outlook forwards only the first email with the same subject, allowing me to decide whether the subsequent PDFs should be sent. Implementing this flow will significantly reduce the time spent on sending PO PDFs. I am seeking assistance as I am currently stuck in building each steps for this flow. Your help would be greatly appreciated.

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

    Hi @chingwen ,

     

    I suggest you add a number column to the table.

    After creating the column, you can set the trigger condition so that if the number column's value is equal to 1, the flow will not be triggered.

    vxiaochenmsft_1-1685934055018.png

    vxiaochenmsft_2-1685934102412.png

     

    First modify (don't set number value, leave it blank ) - send email

    Second internal modify (set the number column to 1) -will not send email

    ....

     

    Best Regards,

    Wearsky

  • chingwen Profile Picture
    6 on at

    Hi Wearsky,

     

    Thanks for taking the time! Could you help provide more suggestions on how the flow should be set up? 

    Currently I get multiple emails with the same subject and manually forwards the first one out to vendor.

     

    I really appreciate the time as I am new to power platform and am grateful for pointers. 

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @chingwen ,

     

    Could you provide the difference between these emails with the same subject?

     

    Best Regards,

    Wearsky

  • chingwen Profile Picture
    6 on at

    The only difference will be the time received of the email.  

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @chingwen ,

     

    Thanks for the clarification.

    If time is the only difference, then the only way is to create an online table.

    The flow steps are as follows:

    1\ After the email arrives in your mailbox, flow is triggered.

    2\ Check the data in the table.

    (1) If the subject does not exist in the table, create a new record in the table to save the subject and forward this message.

    (2) If the subject exists in the table, do nothing and flow exits.

     

    Hope it makes sense.

     

    Best Regards,

    Wearsky

  • chingwen Profile Picture
    6 on at

    I think it gives me a good starting point. Will try!

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @chingwen ,

     

    Here is a sample. Datasource is sharepoint list.

    vxiaochenmsft_0-1685942969898.png

    vxiaochenmsft_1-1685943093908.png

    Title eq '@{triggerOutputs()?['body/subject']}'

     

    vxiaochenmsft_2-1685943119620.png

     

    Best Regards,

    Wearsky

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
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard