Set node does not convert integer to string

Hi,

I am using a set node to convert a field “359” to a string, like below:

Input:
image

Set field:
image

Output:
image

The problem is that it outputs as an integer.
I need to force it that way:
image

Version on-prem: 0.233.1
Is this behavior normal?

Thanks!
Antoine

CC @giulioandreini

1 Like

hi @lequeuxa
this behavior was changed in the new version of the node (now called “Edit Fields (Set)”).
The new version is more strict with types and converts numbers to strings:

You can use the new node by upgrading your n8n instance.
Let me know if that helps!

All the best

3 Likes

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