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

Adding image to MS Word with Power Automate

After viewing Shane Youngs video on adding image to OneDrive, I wanted to add this image to MS word with Flow, yet I keep on getting Invalid Template error.

 

I create file in OneDrive taking into account baseto64Binary expression and JSON coding within the app.

 

File gets created successfully on OneDrive but selecting this file to import into word as an image does not work...

4 REPLIES 4
v-siky-msft
Community Support
Community Support

@Andries1 

Please try the following steps.

1. Add Image control to template

Snipaste_2020-01-23_14-15-01.png

2. Save the image to SharePoint (you have done)

3. Use 'Get file content' action in flow to get the Image encoded bit stream.

4. Add the output of the 'Get File Content' into the Word Template action in flow

5. this should work, below is screenshot of my template action in flowSnipaste_2020-01-23_14-16-37.pngSnipaste_2020-01-23_14-17-03.png

Sik

Can you please help me understand how to get Images from Sharepoint List through Power Automate and populate them in Word Documents. My List has a Thumbnail column and images are stored there. Thanks in advance.

JenniferFGI
Advocate II
Advocate II

Thanks, I was really stuck on this because I kept trying to entre file metadata rather than the file content.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,071)