Need to run one check and generate events on multiple entities

We have an api which gives the list of faulty servers. And all these servers(300) are registered as proxy entities.

Now the aim is to run the api call once and based on the output raise events for multiple entities.

Let us say
output of api call is:-
server1
server2
server3

I need to generate 1 event each for server1, server2, server3