Snapshot Notify more cameras

Hello,
I have entered the following in my HA. When it rings, a camera snapshot is created and I receive a notification.
I would like to store this for other conditions. A door is opened and a snapshot is to be created. How do I have to store this so that I can receive snapshots from several cameras and receive a notification?

Automation:

service: camera.snapshot data: filename: /config/www/snapshot.jpg target: entity_id: camera.eingang_mainstream

Configuration Yaml:
`camera:

  • platform: local_file
    name: camera_snaptshot_input
    file_path: /config/www/snapshot.jpg`