Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    n8n Expressions Helper and Cheatsheet

    by Saizul Amin

    1

    This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.

    Free

    Security scanned
    n8n Expressions Helper and Cheatsheet

    n8n Expressions Helper and Cheatsheet

    Example session with this skill installed

    Run the n8n Expressions Helper and Cheatsheet skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the n8n expressions helper

    Here is what the n8n Expressions Helper and Cheatsheet skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    == -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/n8n-automation-skills/tests/fixtures/workflows/order-sync-bad.json (Order sync (legacy)): 6 expression(s), 6 finding(s)
      EXPR [HTTP Request1] jsonBody: {{ JSON.stringify($json) }}
      EXPR [If] conditions.conditions[0].leftValue: {{ $json.total > 100 and $json.paid == True }}
      EXPR [Send to CRM] url: {{ 'https://crm.example.com/api/contacts/' + $json.id }}
      EXPR [Notify Slack] otherOptions.username: {{ $('Webhook Trigger').item.json.body.customer }}
      EXPR [Notify Slack] otherOptions.icon_emoji: {{ $json.first-name }}
      EXPR [Old Mapper] assignments.assignments[0].value: {{ $node["Code"].json.total }}
      HIGH   code.item_in_all_mode  [Code] jsCode: uses $input.item / $json but the node runs once for ALL items
             fix: loop over $input.all(), or set Mode to 'Run Once for Each Item'
      HIGH   expr.python_syntax     [If] conditions.conditions[0].leftValue: Python syntax in a JavaScript expression: True, and
             fix: use && || ! true false null
      HIGH   expr.missing_node      [Notify Slack] otherOptions.username: refers to node 'Webhook Trigger' which does not exist (renamed?)
             fix: update the name in the expression; n8n only renames references made in the editor
      MEDIUM expr.invalid_dot_key   [Notify Slack] otherOptions.icon_emoji: '.first-name' is parsed as a subtraction, not a key
             fix: use bracket notation: ["first-name"]
      MEDIUM expr.missing_equals    [Notify Slack] text: contains {{ }} but is a fixed value, so it is sent literally
             fix: switch the field to Expression (the JSON value must start with '=')
      INFO   expr.legacy_syntax     [Old Mapper] assignments.assignments[0].value: legacy syntax $node[
             fix: use $('Node name').item.json / .first() / .all()
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Write and debug n8n expressions ({{ }} JavaScript with $json, $('Node').item, $input, $now/Luxon, $jmespath, $vars) and Code node data access, with a script that extracts every expression from a workflow JSON and flags common mistakes - {{ }} in fixed (non-expression) fields, unbalanced braces, Python syntax (and/or/True/None), statements instead of one expression, = instead of ===, references to renamed or missing nodes, $json.first-name dot keys, reversed $jmespath arguments, $env (blocked in n8n 2.x), JS Date timezone traps, and Code nodes using $input.item in "Run Once for All Items" mode.

    Who it's for

    Use when an n8n expression shows an error or [undefined], "Referenced node doesn't exist", "Can't get data for expression", paired item errors, date/timezone bugs, or the user asks how to reference data from another node, format dates, or convert JSONata/Make/Zapier formulas to n8n.

    What's inside

    • Tested, offline Python script(s): check_expressions.py (deterministic results, standard library only unless noted)
    • Reference guides: cheatsheet.md
    • Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow

    Why it's worth it

    Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.

    Works with every major AI agent

    Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.

    Requirements

    • Python 3.8+ for the bundled scripts
    • No API keys, no account, runs locally

    Open source: saizul/n8n-automation-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Write and debug n8n expressions ({{ }} JavaScript with $json, $('Node').item, $input, $now/Luxon, $jmespath, $vars) and Code node data access, with a script that extracts every expression from a workflow JSON and flags common mistakes - {{ }} in fixed (non-expression) fields, unbalanced braces, P...

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use n8n Expressions Helper and Cheatsheet on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Free