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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Adding Lists Attachment (image) to Word Template

(0) ShareShare
ReportReport
Posted on by 4

We have a report list which has one photo attachment per record.
We would like to populate a Word Template with this image (without saving it first to Sharepoint).

 

 Is het possible to directly add the attachment image in to the Word Template?

I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
    Re: Adding Lists Attachment (image) to Word Template

    Hi @SilverBullet 

     

    This works for me.  Note that I get into an apply to each because get attachments will return an array, so you could use first() or call the file ID using integer indexes [0].  This will work though and create one word doc if you only have one file attached to the List Item.

     

    DamoBird365_0-1644960229001.png

    DamoBird365_1-1644960284767.png

     

    Please consider accepting my answer as a solution if it helps to solve your problem.

    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks

  • IndigoLemur Profile Picture
    2 on at
    Re: Adding Lists Attachment (image) to Word Template

    Hi @DamoBird365 .

    How does it work with multiple attachments?

    Could you explain the 'use first() or call ID please'

    I am trying to populate a template from a list item that has 2 attachments, a photo jpg and a pen input jpg. I want to put each attachment in the correct location of the form.

     

    Thanks

  • hatface Profile Picture
    2 on at
    Re: Adding Lists Attachment (image) to Word Template

    What control did you use in the word template file to accept the image from sharepoint?  Trying to accomplish this, and your images pointed me in the right direction I think on the PA side, but need a little assistance on what will accept the incoming image as simple text controls do not and neither does the picture control.

     

    Thanks!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard