LANEXBUILDS
Playground
Advanced Expression Sandbox
Evaluate JS ternaries in n8n expressions.
Runs in your browser. Nothing is uploaded.
Current item ($json)
{"name":"Ada","age":20,"tags":["a","b"]}
Expression
{{ $json.age >= 18 ? "adult" : "minor" }} · {{ $json.tags.join(", ") }} · #{{ $("Webhook").item.json.id }}
Other nodes (optional JSON, used by $("Name"))
{"Webhook":{"id":5}}
Result
Copy result