cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PeterSimons
Level: Powered On

Create Sharepoint item from new (only) email, not from reply

Hi all

 

I've not been able to find an answer to my question, so apologies if i thas been addressed in the past and I've missed it.

 

I have successfully created a  Flow which creates a SharePoint list item when an e-mail (any email) arrives into a shared mailbox.

However, it also creates a new item when that e-mail is actually a reply - which I don't want to happen.

 

Is it possible to separate New e-mails from replies? And no... not all reply subjects start with 're' so I can't rely on that as a filter.

 

I appreciate any thoughts you may have. Thanks,

Pete.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SCTdan
Level 8

Re: Create Sharepoint item from new (only) email, not from reply

As far as I can tell, there isn't a way to differentiate based on any message/trigger properties.  You'd have to find something else to filter on, some content in the body or something. 

Or, prior to creating the sharepoint item, check to see if it already exists (assuming everything is unique or you can otherwise properly identify it)

View solution in original post

3 REPLIES 3
SCTdan
Level 8

Re: Create Sharepoint item from new (only) email, not from reply

As far as I can tell, there isn't a way to differentiate based on any message/trigger properties.  You'd have to find something else to filter on, some content in the body or something. 

Or, prior to creating the sharepoint item, check to see if it already exists (assuming everything is unique or you can otherwise properly identify it)

View solution in original post

Community Support Team
Community Support Team

Re: Create Sharepoint item from new (only) email, not from reply

Hi @PeterSimons ,

 

I agree with @SCTdan 's solution.

You need to find something to filter on the body or subject, or check from the list items to see if the item exists now.

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PeterSimons
Level: Powered On

Re: Create Sharepoint item from new (only) email, not from reply

Thanks for the advice. It has encouraged me to approach it slightly differently. Here's what I eventually put in place:

 

I found (through the power of Google) that each email has an 'internet header' and within it is an indicator as whether the email is a reply or not. Unfortunately, Flow doesn't seem able to read that, but Outlook Rules can. So, I'm using the Rules to redirect any new-new emails to a separate folder... Flow runs based on anything arrived in that folder, creates a SharePoint item and moves the email back into the normal inbox.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 87 members 3,590 guests
Please welcome our newest community members: