cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Help Needed - Updating a SharePoint list from another when an item is created or modified INCLUDING ATTACHEMENTS

Hi Everyone,

I have two identical SharePoint lists. One is the source list where the user inputs the data and the other is the Final list where the data will be stored. I have made a flow that creates a new item in the final list if it does not already exist and it modifies an item in the final list if it already exists. This flow is working fine but I would like it to include attachments.

 

I have made another flow that take the attachment in the source list and creates a new item in the parent list. This works well but I would also like it to work for existing items. For example if item ID:2 is modified in the source list and an attachment is added I would like the changes and the attachment to flow through to the Final list.

 

I hope you can help.

 

Thanks in advance Ian

3 REPLIES 3
Highlighted
Super User III
Super User III

hi @Ian95k  you can do that by using add attachment action see

 

attach.PNG

 

then when your actachment ocntent you can add attachments to any list item



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted

Hi, 

 

Thanks for getting back so soon. How does that flow know which line item in the list to attach the attachment to ? For example I have given each item in the source list a number. I want the flow to add the attachment to the same number line item in my second list. 

 

Thanks

Ian

Highlighted

@Ian95k  you can try by adding and ID column or if you have it just use that ID. If you don't know the if maeby you can use get items and a condition to get juwt the row and the ID of the row that you want to add the attachment.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

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.

Top Solution Authors
Top Kudoed Authors
Users online (13,007)