Exporting ESPCAM image to MQTT via Node-Red

So I have an ESPCAM integrated via ESPHOME and I then can display the image in a “Picture Glance Card” configured like this:

camera_view: auto
type: picture-glance
title: Watercam
entities:
  - entity: light.watercam_light
camera_image: camera.watercam

I now want to take this image and export it via MQTT via node-Red (in HA) for further processing by another application downstream.

But I can’t find any method in node-red to retrieve the image from the HA entity.

How can I do this?
Do I need some add-on’s for Node-Red to help me with this?

Thanks for your help.

PS. I wasn’t sure about the correct category. Please change if appropriate.

The camera.snapshot action saves an image, which you can then read into Node-RED using the File In node. This allows for further processing or automation workflows involving the captured image.

This got me on the right track.

Based on this I could create a script, which is then called from node-RED.

Thanks.