AI AGENT ADDONS

N8n Expression Syntax

czlonkowski/n8n-skills

When you build automated workflows with n8n, you need to write expressions inside double curly braces. These expressions let you pull data from one step to the next. Many people make mistakes with the syntax, especially when working with webhook data. This guide helps you write correct expressions and fix common errors.

The most common error is forgetting to wrap variables in {{ }}. Without them, n8n treats your text as a literal string. Another big mistake is assuming webhook data is at the root. Remember that webhook data lives under .body.

You can access $json for the current node's output and $node to reference other nodes. Node names must be in quotes and case-sensitive. Use $now for timestamps and $env for environment variables. Avoid using expressions inside Code nodes. This skill will save you time and reduce errors.

Add N8n Expression Syntax skill to your workflow

Global

mkdir -p ~/.claude/skills/n8n-expression-syntax

Project

mkdir -p .claude/skills/n8n-expression-syntax

Source Repository

Stars
5,618
Forks
959
Watchers
5,618
License
MIT
Last Push
1 month ago
Created
9 months ago