Force "String" in Code node

Describe the issue/error/question

Hi people.
How “force” an value as string? On this exemple, the value to “phone” was going as number…
I nesse to set a json as string fields, and i cant do it on this value type.

You can use ‘’+

If i do this, return: “”+551134554""

That doesnt make sense. :thinking:

Could you share what you are doing?

This is the workflow.

I need to convert number to string, but cant…

I think, this is a bug?

I don’t see an issue, or I must be understanding it wrong

Yes, is this whats I want… Witch version is your?

look at mine n8n.

Hey man, I´ve updated and solve!

Thanks for help to found the problem.

2 Likes

Yeah it is actually a string already (blue text)
Sorry didn’t notice this before.
Also the + sign will not be possible in a numeric value of course. :sweat_smile:

2 Likes

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