Agent skill · writing content · davila7
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, or working with webhook data in workflows.
Why this skill is useful
Provides specific syntax rules and common patterns for writing n8n expressions that the AI wouldn't reliably generate on its own.
What it needs
About 5k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.
What this skill does
n8n Expression Syntax Expert guide for writing correct n8n expressions in workflows. --- Expression Format All dynamic content in n8n uses double curly braces: Examples: --- Core Variables $json - Current Node Output Access data from the current node: $node - Reference Other Nodes Access data from any previous node: Important: Node names must be in quotes Node names are case-sensitive Must match exact node name from workflow $now - Current Timestamp Access current date/time: $env - Environment Variables Access environment variables: --- 🚨 CRITICAL: Webhook Data Structure Most Common Mistake: Webhook data is NOT at the root! Webhook Node Output Structure Correct Webhook Data Access Why: Webhook node wraps incoming data under .body property to preserve headers, params, and query parameters. --- Common Patterns Access Nested Fields Reference Other Nodes Combine Variables --- When NOT to Use Expressions ❌ Code Nodes Code nodes use direct JavaScript access, NOT expressions! ❌ Webhook Paths ❌ Credential Fields --- Validation Rules 1. Always Use {{}} Expressions must be wrapped in double curly braces. 2. Use Quotes for Spaces Field or node names with spaces require bracket notation: 3. Match Exact Node Names Node references are case-sensitive: 4. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills davila7/n8n-expression-syntax