web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add attachment into sh...
Power Automate
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

 

Categories:
  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    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.

  • Sebey Profile Picture
    127 on at

    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,187 Most Valuable Professional on at

    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.

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard