Question about the camera record service

So I have my camera start recording when it detects a person. I am using Node Red to control this and add this to the Data field as JSON.

{"filename":"/media/frigate/{{ computer_camera }}_{{now().strftime("%Y%m%d-%H%M%S")}}.mp4"}

This records the video and puts it in the proper place, but the name comes out as "_.mp4 ". What am I doing wrong? Also, I’m trying to add duration values as well, but I don’t seem to have the proper syntax. Any advice?

If anyone ever runs into this issue, I figured it out.
{"filename":'/media/frigate/{{ computer_camera }}_{{now().strftime("%Y%m%d-%H%M%S")}}.mp4'}
This work and I changed it to a JSONata expression in the “Data” field.