cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jesse_wysong
New Member

When a file is created (properties only) vs. When a file is created

Hello,

I have a flow setup to send an email to a shared mailbox when a new file is added to a Sharepoint folder. 

 

If I select when When a file is created (properties only) as a trigger, I have some great dynamic content like the user ID that added the file, and a direct link to the file. However, I DON'T have things like including the file as an attachment [File Content]. 

 

If I choose When a file is created as a trigger I am able to send the file as an attachment but lose the ability to embed user data and the live link to the file. 

 

I would like to understand why I cant access dynamic content from both options; The only two servies are Office 365 emails and Office 365 Sharepoint libraires in both instances. 

 

Thank you!

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi @jesse_wysong,

 

From the doc on connector SharePoint we know the trigger When a file is created (properties only) returns only the properties stored in the library columns. If you want to get file content, you can add a “Get file content” step and use the “File identifier” property returned by this action to get the contents of the file. While trigger When a file is created in a folder won’t return properties of the library columns.

Please check the following URL for more details:

https://docs.microsoft.com/en-us/connectors/sharepointonline/#triggers

If you are using the trigger When a file is created (properties only), to get file content, please add the action Get file content.

If you are using the trigger When a file is created in a folder, to get file properties, please add the action “Get file properties” and use the File identifier property returned by this action.

Hope this could be your reference. Please feel free post back if you need more help.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Khole
Helper I
Helper I

How do i apply a condition on one of the properties?. 

The Flow runs but says that the conditions were not met.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,858)