cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

@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
Highlighted
Dual Super User III
Dual Super User III

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!

Highlighted

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

Highlighted

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

Users online (10,682)