Context
Using QGIS modeler (currently with QGIS 3.26.1) with the Download File algorithm, you can use a filename based on an expression and thus are able to give the saved file a name based on e.g. the current time, using the function now().
Question
The JSON-file I download this way contains an attribute named reference_ts with the timestamp of the measurement saved in it. I want to include this value in the filename. Is this possible?
What I tried
What is possible is to access this attribute in later steps after the saved file is loaded to QGIS, see here, because the layer loaded by a modeler algorithm can be accessed by a variable, created automatically, that gives access to the output of the algorithm. But in the Download File, there is not yet an output that could be accessed. So the attribute should be available directly.

/var/tmp) because it needs to be downloaded to be used, it cant be a memory layer. I use an expression like this one'/var/tmp/'||'some_text_' || layer_property( @some_layer ,'name')||'_'||format_date(now(),'yyyyMMdd_HHmm')||'.csv'. Then I use the Load layer into project with the *"File destination" from algorithm "Download file"asUsing algorithm output` for the input layer. So the downloaded file should be usable in your model. – Charles Dec 05 '22 at 09:38now()) in the filename - I solved that part. The question is rather how to include the value of an attribute in the filename. – Babel Dec 05 '22 at 09:41