n8n-expression-syntax

Installation
Summary

Write correct n8n expressions with double braces, proper variable syntax, and webhook data access patterns.

  • Use {{}} syntax for all dynamic content; access current node data with $json, other nodes with $node["Node Name"], and webhook payloads from $json.body (not root)
  • Node names are case-sensitive and require quotes; field names with spaces use bracket notation like $json['field name']
  • Code nodes use direct JavaScript access without {{}} braces; expressions don't work in webhook paths or credential fields
  • Common mistakes include missing braces, incorrect webhook data paths, and double-wrapping with nested {{}}
SKILL.md

n8n Expression Syntax

Expert guide for writing correct n8n expressions in workflows.


Expression Format

All dynamic content in n8n uses double curly braces:

{{expression}}

Examples:

✅ {{$json.email}}
✅ {{$json.body.name}}
✅ {{$node["HTTP Request"].json.data}}
Related skills

More from czlonkowski/n8n-skills

Installs
2.9K
GitHub Stars
4.9K
First Seen
Jan 20, 2026