n8n LabBeginner

Convert a String to a Number in n8n

A form sends quantity as text, so '2' + 1 becomes '21'. Convert it before doing math.

Live Execution Simulator Idle
πŸ“₯
Incoming Data
βš™οΈ
n8n Node
🎯
Next Step
> Ready. Type your expression below and click "Check Answer" to run the node.

Incoming Payload / Data:

{
  "quantity": "12"
}

βš™οΈ Your expression is executed against test data β€” any correct solution passes. +10 XP

Related labs