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.
Hi @chingwen ,
Here is a sample. Datasource is sharepoint list.
Title eq '@{triggerOutputs()?['body/subject']}'
Best Regards,
Wearsky
I think it gives me a good starting point. Will try!
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
The only difference will be the time received of the email.
Hi @chingwen ,
Could you provide the difference between these emails with the same subject?
Best Regards,
Wearsky
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.
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.
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