Skip to content

Part of Build n8n Workflows With Proven Patterns

Engineering Blueprint

Master Expression Syntax and Data Access

0June 2026

Learn correct n8n expression syntax ({{ }}) patterns, core variables ($json, $node, $now, $env), and safe data access for webhooks and node references.

What problem does this solve?

Teaches Claude the correct n8n expression syntax and the critical webhook data gotcha (data lives under .body, not at root), so it writes expressions that work first time instead of generating references that evaluate to undefined.

How does it work?

When you ask to access webhook fields, reference previous node data, or work with timestamps, this skill activates and shows the correct syntax: {{$json.body.name}} for webhook payloads, {{$node["Node Name"].json.field}} for previous nodes, and {{$now.toFormat('yyyy-MM-dd')}} for dates. It covers when to use expressions vs Code nodes and anti-patterns like the Set node wrapper.

Included Skills

No skills in this group

What's required to run this?

Webhook data structure is specific to n8n's Webhook node; other trigger types (HTTP, form, etc.) have different shapes. Expression evaluation is context-dependent: {{}} syntax works in fields but not in Code nodes (use direct access instead). $env access may be blocked on instances with N8N_BLOCK_ENV_ACCESS_IN_NODE enabled.

Key Features

$json, $node, $now, $env

Core variables for data access in workflow fields

Critical Webhook Gotcha

Webhook data is under .body, not at root; teaches correct access pattern

Expression Complexity Myths

Dispels performance concerns; complex expressions cost the same as simple ones per item

Code Node vs Expression

When NOT to use expressions; correct data access in Code nodes is different

Set Node Antipattern

Identifies and removes dead-weight Set nodes that feed only one consumer

About This Blueprint

Industry
Technology
1 File
Productivity

Business Automation & Productivity Workflow

Reduce hours lost to repetitive admin without adding a complicated stack. Prioritized, tested workflows automate routine research, client communication, project tracking, and website tasks while keeping people in control of important decisions.

1 File
Engineering

Business Technology & Digital Solutions Workflow

Avoid costly, fragmented digital projects with a plan that connects business goals to practical tools, implementation steps, and measurable results. It also flags performance, security, accessibility, and SEO checks before launch.

WordPressGoogle AnalyticsGoogle Search Console+2 more
Sales

ICP-Filtered Outreach Lists from G2 Buyer Intent

Stop wasting rep time on weak intent signals and mismatched accounts. The workflow ranks ICP-fit buyers by readiness, finds the right contact, and supplies tailored outreach angles for the strongest opportunities.

ClaudeClaudeG2 Buyer Intent (G2 MCP Server)ZoomInfo (MCP)+3 more

Ishani D.

Account Manager at G2