Make AI go to randomly generated BPs

To a random item or to the closest? If random then just do something like this:

PS: in GetAllActorsOfClass, select the item BP class

Hey,
I´m working on a “Player VS AI”-Game. The Player and AI have to collect items laying on the ground.
Now, my AI is currently set to follow the player via simple AI move to. How can I make it go to these Blueprints? They spawn at randomly generated X and Y coords on the map.
Thanks!

P.S.: If someone already asked something like this, I didn´t find it.

Yes, exactly that! Thank you!