Can't make this simple if statement work

I’m collecting data from Tally and adding them to a Notion database.
I have to set a date property in two different ways, depending on the value of a dropdown.
I used this condition:
image
The array only has 1 element. If I add a 1, the right bracket turns white (why?), so I omitted the number.

The scenario runs successfully, but the property “Data” (date in Italian) isn’t set. Why?

I tried using the value both with and without quotes.

What’s wrong?

Here’s the blueprint
blueprint (3).json (239.7 KB)

You should probably be doing it without the double quotes.

For further assistance, please provide the following:

Please provide the output bundles of the module [1] by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

Here are two ways to format text so that it won’t be changed by the forum:

A. Type code block manually
Add three backticks ``` before and after the content/bundle, like this:

```
content goes here
```

B. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!