cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DiogoJusto
Frequent Visitor

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

@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!

 

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

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!

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

@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!

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,207)