How to add all images from a folder to a word document

Hello,

I am facing this issue I can’t solve at the moment, can somebody help me out? I did a For Each item in Directory.getFiles and the Add image to word command, but I am not sure what to add to the Imagepath field.

Thanks!

Image path doesn’t work in add image activity?

No, it doesn’t. It wants a specific file

I can’t try right now, keep it in a variable and try

1 Like

You just have to pass the image path. it will work out. May be you have did something wrong with looping argument.

just for your reference please find this attached sample workflow and in case of any problem just let me know :slight_smile:

add_img_sample.zip (1.6 MB)

Regards…!!
Aksh

3 Likes

Thank you guys, works perfectly!