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

Notifications

Announcements

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:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 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,185 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard