n8n-expression-syntax

Write and verify n8n expressions with variable references and data structures.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common errors and misconceptions in writing and troubleshooting n8n expressions, ensuring reliable data passing between nodes.

Core Features & Use Cases

  • Correct expression formatting: Guides users on wrapping expressions properly with {{ }}.
  • Handling webhook data: Explains how to access nested data under .body, avoiding common pitfalls.
  • Node reference accuracy: Demonstrates how to reference other nodes with correct syntax and case sensitivity.
  • Use Case: Simplifies extracting order details from webhooks and API responses to automate notifications or data storage.

Quick Start

Use the n8n expression syntax skill to correctly access webhook payload data in a new workflow.

Frequently Asked Questions about n8n-expression-syntax

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

FAQPage Schema
How do I access webhook data in n8n expressions?

To access webhook data in n8n expressions, you must reference nested payload fields under the .body structure using the correct syntax. This approach avoids common pitfalls when extracting order details or API responses for workflow automation.

Why is my n8n expression not passing data between nodes correctly?

n8n expressions fail to pass data when variables like $json or $node are referenced incorrectly, often due to case sensitivity mistakes or missing curly braces. Properly wrapping expressions ensures reliable data handling.

How do I reference other nodes in n8n workflow automation?

To reference other nodes in n8n, use the $node variable with exact case-sensitive syntax matching the target node's name. This ensures accurate data extraction and seamless workflow automation.

What is the correct formatting for n8n expressions?

Correct n8n expression formatting requires wrapping your variable references in double curly braces {{ }}. This syntax allows the workflow engine to evaluate the expression and dynamically pass data between nodes.

Can I use n8n expressions to extract data from API responses?

Yes, you can use n8n expressions to extract specific data fields from API responses by referencing the $json object. This simplifies data storage and automates notifications by handling nested payload structures safely.

What are common mistakes when writing n8n expressions?

Common n8n expression mistakes include improper formatting without {{ }} wrappers, incorrect webhook data access outside the .body structure, and case-insensitive node references. Avoiding these ensures safe, efficient workflow automation.