How to apply toUpperCase()?

Describe the issue/error/question

Need to upper or down case a string, but there is no such function.


What is the error message (if any)?


Information on your n8n setup

  • n8n version: 0.214.0
  • Running n8n via [Docker, npm,, desktop app]:

Hi @orth have you tried typing .toUpperCase () ? It’s indeed not in the drop-down menu, but it works … = {{ $json.body[‘method’].toUpperCase() }}


The autocomplete feature currently only has partial coverage of available functions. In general, if it’s a native JS function/ method - you can use it in n8n.

We should be releasing rolling improvements on the autocomplete feature over the next weeks and months, including more function coverage.

1 Like

It’s strange. First of all, before writing here, I tried to type without looking to autocomplete, but got an error. But now, I retry and it’s ok… May be it’s because there was nothing in input side at the first time.

Thank you.

@orth if you didn’t have any input data yet, that would be why. FYI: in a future phase we plan to add not only expression errors but warnings. So once that’s added, you’d get a more specific warning that it could be due to no input data.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.