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

Store attachments into a sharepoint

Hello everyone,

 

I'm trying to store attachments that I receive in my email into a sharepoint and after that, make some conditions.

 

Capture.PNG

 

With this apporach I can create the items in the sharepoint, but then can't proceed with other conditions because I don't have the ID to update the sharepoint. 

 

Any ideas?

 

Many thanks,

Diogo Justo

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Store attachments into a sharepoint

@DiogoJusto 

 

Please see the screenshot below:

attacs.PNG

 

Here, I am creating an item when an email arrives. Next, I am getting all the attachments and adding those to the sharepoint item using the add attachments action. 

 

This will create one item when an email arrives and then attach all the attachments to that one item instead of creating new items everytime. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

3 REPLIES 3
Super User
Super User

Re: Store attachments into a sharepoint

Hi @DiogoJusto 

 

When you tap the cursor in the Id of the update item, you should be able to see the ID from the create item in the dynamic selector. 

 

From the flow, I see that you are running an apply to each for the attachments, so bascially if you have more than 1 attachment, those many number of items will be created. 

 

Still, you should be able to see the ID in the dynamic selector. Can you please confirm this? 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

DiogoJusto
Level: Powered On

Re: Store attachments into a sharepoint

Hi @yashag2255 ,

 

No, I'm not able to see the ID of the Create file 2.

 

Although, what I want is just on line with as many attachments as I receive in the email.

 

Do you have any ideas in what should be the approach?

 

Thanks,

Diogo Justo

Super User
Super User

Re: Store attachments into a sharepoint

@DiogoJusto 

 

Please see the screenshot below:

attacs.PNG

 

Here, I am creating an item when an email arrives. Next, I am getting all the attachments and adding those to the sharepoint item using the add attachments action. 

 

This will create one item when an email arrives and then attach all the attachments to that one item instead of creating new items everytime. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

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!

Users Online
Currently online: 267 members 5,243 guests
Please welcome our newest community members: