Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Add attachment into sharepoint list using power automate

(0) ShareShare
ReportReport
Posted on by 127

I have two SharePoint list.

parent SharePoint list:Company with columns ID, email, location and other columns.

IDemailLocationAddress
101sebey@tigray.comTigrayMekelle
102info@website.comAxumMaichew

child SharePoint:  AssetvoucherUsers:   ID, requestvid,vouchertype .. and other columns.

requestvid is a lookup column refer to Company list

IDrequestvidvouchertypeAmountAttachmentfile
99101Issue2000 
100102Voucher3000 
101103Issue4000 

I have generated PDF file  using both SharePoint lists successfully.

now I want to  to insert the pdf file automatically to the attachement of  sharepoint list"AssetVoucherUsers"

for example: When i generate a pdf file using the ID of  101 in Company list, I want to insert that pdf file into "AssetVoucherUsers" attachemnt the ID Requestvid  with value101.

but my current problem is it  inserts into the ID =101 of AssetVoucherUsers

get-file3.png

 

  • tom_riha Profile Picture
    10,127 Most Valuable Professional on at
    Re: Add attachment into sharepoint list using power automate

    Hello @Sebey ,

    now you have to check whether the item exists and if it does use the ID output to update it as explained here.

    Also, to make the Filter Query work you must add single quotes around the ID dynamic content.

     

     

  • Sebey Profile Picture
    127 on at
    Re: Add attachment into sharepoint list using power automate

    I add this above the above images,

    Sebey_0-1682514941345.png

    but i am stuck what do next.  help me please

  • tom_riha Profile Picture
    10,127 Most Valuable Professional on at
    Re: Add attachment into sharepoint list using power automate

    Hello @Sebey ,

    since the related items don't have the same ID, you'll have to do a lookup using the 'Get items' action to the AssetvoucherUsers lists where you search for the item whose requestvid is equal to the ID of the item in the Company list. The 'Get items' will return the corresponding item and you can use its ID to add the attachment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1