TOKENWERK / EXPRESSIONS / EIGENE PRÜFDATEN Kein n8n-Lauf wurde aufgezeichnet. Code-Node: JavaScript, Run Once for All Items. return [ { json: { case_id: 'zero', body: { quantity: 0 } } }, { json: { case_id: 'missing', body: {} } }, { json: { case_id: 'null', body: { quantity: null } } }, { json: { case_id: 'text', body: { quantity: '0' } } } ]; Prüfausdruck: {{ $json.body?.quantity ?? null }} Erwartungen vor einer Zieltypumwandlung: zero -> 0 (number), missing -> null, null -> null, text -> "0" (string). Lokale JavaScript-Prüfung ersetzt nicht die Kontrolle des tatsächlichen n8n-Zielfelds.