I am using the following code to create automation logic.
The code is as follows:
if (parameters.day) { const todayISOString = new Date().toISOString(); const toda