n8n-expression-syntax

Identify and fix incorrect n8n expression syntax in workflow fields.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/produtoramaxvision/claude-code-n8n-skills --skill n8n-expression-syntax-produtoramaxvision
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-expression-syntax
Source: https://github.com/produtoramaxvision/claude-code-n8n-skills/tree/main/skills/n8n-expression-syntax
Command: npx skills add https://github.com/produtoramaxvision/claude-code-n8n-skills --skill n8n-expression-syntax-produtoramaxvision

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validating and correcting n8n expression syntax, reducing errors from incorrect {{}} usage, and preventing webhook data gotchas.

Core Features & Use Cases

  • Helps you compose correct expressions for $json, $node, $now, and $env across workflows.
  • Provides guidance to reference webhook data via the correct .body structure and to avoid common pitfalls.
  • Includes practical examples and a debugging framework to spot and fix mistakes quickly.

Quick Start

Wrap all dynamic values with {{ }} in the target node fields to ensure expressions are evaluated.

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 incorrect n8n expression syntax when referencing $json and $node variables?

To fix incorrect n8n expression syntax, wrap dynamic values referencing $json or $node in {{ }} within target node fields to enforce proper evaluation and prevent workflow errors.

Why does my n8n webhook expression fail to capture incoming body data?

Your n8n webhook expression fails because webhook data must be accessed via the correct .body structure. Referencing the payload directly without specifying .body causes the node to miss the incoming data and throw evaluation errors.

What is the correct way to handle spaces and quoting in n8n expressions?

The correct way to handle spaces in n8n expressions is by applying proper quoting around variable references. Wrapping dynamic fields with {{ }} and ensuring accurate syntax for spaces prevents parsing mistakes during node execution.

How do I debug n8n workflow expressions that are not evaluating correctly?

To debug n8n workflow expressions, apply a systematic debugging framework to inspect $json, $node, $now, and $env references. Verify safe node references, check webhook .body structures, and validate {{ }} syntax to spot mistakes quickly.

Can I use $env and $now variables inside n8n node expressions across different workflows?

Yes, you can use $env and $now variables inside n8n node expressions across workflows. Composing correct expressions for these variables ensures accurate environment data and timestamp retrieval without triggering syntax validation errors.