Device tracker attibutes to MQTT

Hi,

Can I please get some help understanding how to do what im trying to do?

I want it so that whenever my google_maps device tracker updates, Node-Red sees this, and publishes the JSON of the location to an MQTT topic.

Ive had a play around but cant seem to figure out how I would do this, or what the data comes in as…