Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create an item in a SharePoint List from email with and without an attachment

HI- I am trying to do the following to a SharePoint list using flow. 

  • If an email is sent to a shared email, create a list item.
  • If the email contains an attachment, save the attachment in the list as well.

I have been able to save the attachment using "add attachement".  I can also get an email to save without an attachment.  I have only been able to do this with 2 different flows.  One to handle emaisl with attachments and one to handle emails without attachmetns.  The issue I could use some help with is this:  the flow that does not handle attachments actually creates a list item for all emails reguardless if it contains an attachment or not.  How can I get the flow to only create an item if the email does not have an attachment?



Community Support
Community Support

Re: Create an item in a SharePoint List from email with and without an attachment

Hi @Anonymous,


I have made a test on my side and I afraid that there is no any way to achieve your two requirement that you mentioned in one single flow in microsoft flow currently.


The trigger "When a new email arrives" would only be triggered when you set the arrived email would has attachment or don't has attachment, so the trigger could only achieve one of your requirements in microsoft flow currently.


If you would like this trigger "When a new email arrives" could be triggered no metter whether it has attachment, please submit an idea to Flow Ideas Forum:



Best regards,


Not applicable

Re: Create an item in a SharePoint List from email with and without an attachment

HI  Alice @v-yuazh-msft

One work flow would be ideal but two would work since I have it set that way now.  The issue with how I have it now is the flow that handles emails without an attachment will create a list item regardless if the item has an attachement or not.  So the email is duplicated since the other flow also creates a list item for emails with the attachment.  Is there a way to keep the non-attachment flow from duplicating emails with attachments?  I had thought it would be by setting attachments to "no". 

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,973)