Node Red - how pass google calendar event on to MQTT?

I am trying to pass on google calendar queries to mqtt so that they get published on to a MAX7219 display. I can get the query from google calendar to show up in the node red debug and I can get an inject node to display the text I want on the MAX7219 matrix but I cannot figure out how to format the calendar query so that it passes on the time/event title/etc for display on the LED matrix. Is this something that the function node can do somehow?