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.
Target: AI & workflow automation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- n8n Expression Syntax
- Expression Format
- Core Variables
- $json - Current Node Output
- $node - Reference Other Nodes
- $now - Current Timestamp
- $env - Environment Variables
- 🚨 CRITICAL: Webhook Data Structure
Expert guide for writing correct n8n expressions in workflows. -- All dynamic content in n8n uses double curly braces: Examples: -- Access data from the current node: 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 Access current date/time: Access environment variables: -- Most Common Mistake: Webhook data is NOT at the root! Why: Webhook node wraps incoming data under .body property to preserve headers, params, and query parameters. -- -- Code nodes use direct JavaScript access, NOT expressions! -- Expressions must be wrapped in double curly braces. Field or node names with spaces require bracket notation: Node references are case-sensitive: Don't double-wrap expressions: -- For complete error catalog with fixes, see COMMONMISTAKES.md | Mistake | Fix | |---------|-----| | $json.field | {{$json.field}} | | {{$json.field name}} | {{$json['field name']}} | | {{$node.HTTP Request}} | {{$node["HTTP Request"]}} | | {{{$json.field}}} | {{$json.field}} | | {{$json.name}} (webhook) | {{$json.body.name}} | | '={{$json.email}}' (Code node) | $json.email | -- For real workflow examples, see EXAM
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/workflow-automation/n8n/n8n-expression-syntax/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:40.962Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.