N8N Expression Syntax
This skill teaches you N8N's expression syntax for building powerful workflows by defining data transformations and logic within your nodes.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add n8n-expression-syntax npx -- -y @trustedskills/n8n-expression-syntax
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"n8n-expression-syntax": {
"command": "npx",
"args": [
"-y",
"@trustedskills/n8n-expression-syntax"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides syntax support for expressions used in n8n workflows, enabling users to write and evaluate dynamic logic within automation processes. It allows for conditional checks, data transformations, and complex evaluations using JavaScript-like syntax.
When to use it
- When building dynamic workflow conditions based on input data
- To perform calculations or string manipulations during node execution
- When creating reusable expression templates across multiple workflows
Key capabilities
- Support for JavaScript expressions within n8n nodes
- Access to global variables and item data in expressions
- Ability to use logical operators, functions, and control structures
Example prompts
- "Check if the value of 'status' is equal to 'completed'"
- "Format a date string using the current timestamp"
- "Calculate the sum of two fields from the input data"
Tips & gotchas
- Ensure expressions are properly enclosed in double curly braces
{{ }}when used in n8n. - Be cautious with complex logic to avoid performance issues or unintended side effects.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.