Automating export of a currently running Pluto notebook to html

I’m interested in automatic generation of html snapshots of a Pluto notebook I’m currently interacting with.

My use case is automatic generation of named html snapshot upon meeting a certain condition, e.g. successful data fit with interactively adjusted parameters. The PlutoSliderServer is therefore not quite suitable.

The intention here is to automate the existing export to html functionality to save a few clicks and avoid typing in new file names.

Is there a way to achieve this from a running Pluto notebook?