n8n-expression-syntax

Teach correct n8n expression syntax with double curly braces and core variables.

3|1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/echoleesong/claude-skills-plugin --skill n8n-expression-syntax-echoleesong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-expression-syntax
Source: https://github.com/echoleesong/claude-skills-plugin/tree/main/skills/n8n-expression-syntax
Command: npx skills add https://github.com/echoleesong/claude-skills-plugin --skill n8n-expression-syntax-echoleesong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users avoid incorrect n8n expression syntax by teaching proper usage of {{}} expressions and safe access to core variables like $json and $node, with emphasis on webhook data handling.

Core Features & Use Cases

  • Validate and fix common expression mistakes (missing braces, wrong node references, spaces, and array access).
  • Clarify webhook data structure and proper access via $json.body.
  • Provide practical examples, debugging tips, and best practices for reliable workflow design.

Quick Start

Learn to apply correct expression syntax to a sample webhook payload and transform it into a valid workflow-ready expression.

Frequently Asked Questions about n8n-expression-syntax

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix n8n expression syntax errors when accessing webhook data?

Fix n8n expression syntax errors by wrapping dynamic content in double curly braces and safely accessing webhook payloads via $json.body. This prevents missing braces and wrong node references.

What is the correct way to reference variables between nodes in n8n?

Reference variables between nodes in n8n by using proper expression syntax with $json or $node variables wrapped in {{}}. This ensures reliable data passing and avoids common array access mistakes.

How do I format dates and manipulate strings using n8n expressions?

Format dates and manipulate strings in n8n by applying correct expression syntax inside double curly braces. This allows reliable data transformation across your automation workflows.

Why does my n8n workflow fail when accessing nested arrays in expressions?

Your n8n workflow fails when accessing nested arrays due to incorrect expression syntax. Resolve this by wrapping your array access logic safely inside double curly braces.

Do I need specific validation rules to debug n8n expressions?

You need specific validation rules to debug n8n expressions effectively. Following syntax examples and validation rules for $json and $node access improves reliability in real workflows.