domains / families / agent-tooling / n8n-expression-syntax
Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, mapping data between nodes, or referencing webhook data in workflows. Use this skill whenever configuring node fields that reference data from previous nodes — expressions are how n8n passes data between nodes, and getting the syntax wrong is the most common source of workflow errors. Also use when asked whether a complex expression hurts performance. Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, or working with webhook data in workflows.
The first copy is the substantive procedure: it defines the expression format, core variables, the critical webhook body structure, common patterns, and a detailed transform gatekeeper (expression vs IIFE vs Code node). The second copy is a thin wrapper that defers to a separate detailed guide, adds a risk label, and includes working examples and limitations, but it omits the core syntax rules and the transform gatekeeper. Crowning either one would hide a real alternative: the first has the deep reference, the second has the wrapper structure and examples.