Google Presentation - Get share link once only.... Iterator problem

Hi guys,

So I think this is a simple fix but it’s got be baffled.

Im creating a Google Slide and iterating through adding 4 images to a slide number. This all works fine.

But once done I want a share link. I can get that but this part of the process runs for each iterated image so I end up with 4 share links and I just want one.

Not all routes for each image may run so just not sure how to do this last bit.

Any help much appreciated.