Way to parse MQTT feed and pass into automations?

I have another server that’s communicating with Home Assistant via mqtt. Currently when I look to either trigger an automation, or update the MQTT sensors in my configuration. Right now, I am sending a separate MQTT message from my server into HA for each sensor… is there a way to send one MQTT message that has all of the sensor updates included in the single message and have HA figure out the steps? My thoughts were either finding a way to have HA be able to parse through the incoming MQTT message and pull what it needs for each sensor, or create a FOR loop that takes the incoming MQTT “batch” message and recreates the original MQTT individual messages out of it. any help would be much appreciated!