Generated banner for N8n Node Configuration
Generated logo for N8n Node Configuration

N8n Node Configuration

Romuald CzlonkowskiCommunityCreated by Romuald Czlonkowski

  • Skill
  • Tool integration
  • Automation and integrations
  • MIT
  • No issues found

From the author

Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node detail levels, or learning common configuration patterns by node type — including the native nodes that replace Code (Summarize, Aggregate, Split Out, Merge, Compare Datasets, Remove Duplicates, Sort, Limit, Date & Time, HTTP Request pagination, Crypto). Always use this skill when setting up node parameters — it explains which fields are required for each operation, how displayOptions control field visibility, and when to use patchNodeField for surgical edits vs full node updates.
— the description by Romuald Czlonkowski

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a structured approach to configuring n8n nodes, emphasizing an operation-aware methodology. It teaches users how to navigate property dependencies, manage field visibility via displayOptions, and utilize iterative validation to ensure correct node setup. By following a progressive disclosure model—starting with standard detail levels before escalating to full schemas—users can efficiently configure complex nodes, including native replacements for Code nodes, while avoiding common pitfalls and silent runtime failures.

What it does

  • Explains how to determine required fields based on specific node operations.
  • Guides users on using get_node detail levels to balance information density and clarity.
  • Provides strategies for handling conditional field visibility and property dependencies.
  • Outlines best practices for configuring HTTP, database, and conditional logic nodes.
  • Demonstrates how to perform surgical field updates using patchNodeField.
  • Identifies common configuration anti-patterns and silent failure traps.

When to use it

  • When setting up parameters for any n8n node to ensure accuracy.
  • When encountering validation errors regarding missing or conflicting fields.
  • When transitioning between different operations within the same node.
  • When needing to configure complex native nodes like Merge, Summarize, or HTTP Request.
  • When troubleshooting silent failures in workflow execution.

Advantages

  • Reduces configuration errors through iterative, validation-driven workflows.
  • Prevents over-configuration by promoting a minimal-first approach.
  • Clarifies complex dependency logic between fields.
  • Provides actionable patterns for native data processing nodes.
  • Minimizes token usage by prioritizing standard detail levels.

Usage examples

“How do I configure the Slack node to post a message?”
The agent will guide you to use get_node to identify the required 'channel' and 'text' fields for the 'post' operation, ensuring you avoid unnecessary parameters.
“Why is my HTTP Request node failing when I switch to POST?”
The agent will explain that the 'sendBody' and 'body' fields are now required, and help you configure them using the appropriate dependency patterns.
“How can I update just the URL in a large HTTP Request node?”
The agent will provide the syntax for using patchNodeField to surgically update the URL parameter without replacing the entire node configuration.
“What is the best way to find a specific authentication field in a node?”
The agent will instruct you to use get_node with the 'search_properties' mode and 'auth' as the propertyQuery to locate the exact field.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/czlonkowski/n8n-node-configuration/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip n8n-node-configuration.zip -d .agents/skills

Documentation by Romuald Czlonkowski

n8n Node Configuration

Expert guidance for operation-aware node configuration with property dependencies.


Configuration Philosophy

Progressive disclosure: Start minimal, add complexity as needed

Configuration best practices:

  • get_node with detail: "standard" is the most used discovery pattern

  • 56 seconds average between configuration edits

  • Covers 95% of use cases with 1-2K tokens response

Key insight: Most configurations need only standard detail, not full schema!


Core Concepts

1. Operation-Aware Configuration

Not all fields are always required - it depends on operation!

Example: Slack node

// For operation='post'
{
  "resource": "message",
  "operation": "post",
  "channel": "#general",  // Required for post
  "text": "Hello!"        // Required for post
}

// For operation='update'
{
  "resource": "message",
  "operation": "update",
  "messageId": "123",     // Required for update (different!)
  "text": "Updated!"      // Required for update
  // channel NOT required for update
}

Key: Resource + operation determine which fields are required!

2. Property Dependencies

Fields appear/disappear based on other field values

Example: HTTP Request node

// When method='GET'
{
  "method": "GET",
  "url": "https://api.example.com"
  // sendBody not shown (GET doesn't have body)
}

// When method='POST'
{
  "method": "POST",
  "url": "https://api.example.com",
  "sendBody": true,       // Now visible!
  "body": {               // Required when sendBody=true
    "contentType": "json",
    "content": {...}
  }
}

Mechanism: displayOptions control field visibility

3. Progressive Discovery

Use the right detail level:

  1. get_node({detail: "standard"}) - DEFAULT

    • Quick overview (~1-2K tokens)

    • Required fields + common options

    • Use first - covers 95% of needs

  2. get_node({mode: "search_properties", propertyQuery: "..."}) (for finding specific fields)

    • Find properties by name

    • Use when looking for auth, body, headers, etc.

  3. get_node({detail: "full"}) (complete schema)

    • All properties (~3-8K tokens)

    • Use only when standard detail is insufficient


Configuration Workflow

Standard Process
  1. Identify node type and operation.

  2. Use get_node (standard detail is default).

  3. Configure required fields.

  4. Validate configuration.

  5. If a field is unclear → get_node({mode: "search_properties"}).

  6. Add optional fields as needed.

  7. Validate again.

  8. Deploy.

Example: Configuring HTTP Request

The validate-driven loop in practice: start minimal (method, url, authentication), then let each validate_node error surface the next required field (sendBody for POST → body when sendBody=true) until valid. Full step-by-step walkthrough in OPERATION_PATTERNS.md.


get_node Detail Levels

Standard Detail (DEFAULT - Use This!)

✅ Starting configuration

get_node({
  nodeType: "nodes-base.slack"
});
// detail="standard" is the default

Returns (~1-2K tokens):

  • Required fields, resolved for the node's current typeVersion

  • Operation list

  • The settings inside options collections (n8n-mcp 2.97.0+): name + one line with nested field names, allowed values and when each applies — HTTP Request pagination and batching, Webhook raw body, Merge combine settings, …

  • Metadata

Use: 95% of configuration needs. Read the options list before deciding a job needs a Code node.

Full Detail (Use Sparingly)

✅ When standard isn't enough

get_node({
  nodeType: "nodes-base.slack",
  detail: "full"
});

Returns (~3-8K tokens):

  • Complete schema

  • All properties

  • All nested options

Warning: Large response, use only when standard insufficient

Search Properties Mode

✅ Looking for specific field

get_node({
  nodeType: "nodes-base.httpRequest",
  mode: "search_properties",
  propertyQuery: "auth"
});

Use: Find authentication, headers, body fields, etc.

Decision Tree
  1. Starting a new node config → get_node (standard).

  2. Standard has what you need → configure with it. Otherwise continue. (On n8n-mcp 2.97.0+ standard also lists each options collection; a list cut at 25 settings says so.)

  3. Looking for a specific field → search_properties mode. Otherwise continue.

  4. Still need more → get_node({detail: "full"}).

Dynamic properties: when standard detail marks a property with dynamicOptions: {methodName, methodType, dependsOn}, its real values come from a live loadOptions/listSearch method, not from bundled docs — don't guess an ID for it. Resolve it with n8n_explore_node_resources (needs N8N_MCP_ACCESS_TOKEN, n8n 2.34+) and put the returned value in the config; name is display text only.

All six parameters are required and none are inferred from each other:

n8n_explore_node_resources({
  nodeType: "n8n-nodes-base.googleSheets",  // LONG form
  version: 4.5,                              // the node typeVersion the method belongs to
  methodName: "getSheets",                   // copied verbatim from dynamicOptions
  methodType: "listSearch",                  // "listSearch" for resource locators, "loadOptions" for plain dropdowns
  credentialType: "googleSheetsOAuth2Api",
  credentialId: "c2",                        // from n8n_manage_credentials({action: "list"})
  currentNodeParameters: {                   // whatever dependsOn names, in its real shape
    documentId: {__rl: true, mode: "id", value: "1AbC…"}
  }
})

dependsOn names the parameters the method needs already chosen — pass them in currentNodeParameters, keeping resource-locator values in their {__rl: true, mode, value} shape, or the method returns nothing useful. methodName is case-sensitive and specific to the nodeType + version pair; a mismatch returns OFFICIAL_MCP_ERROR rather than an empty list.


Property Dependencies Deep Dive

Fields have displayOptions visibility rules: show/hide blocks where multiple conditions are AND'd and multiple values are OR'd (e.g. body shows when sendBody=true AND method IN (POST, PUT, PATCH)). The three recurring patterns are the boolean toggle (sendBody → body), the operation switch (post vs update show different fields), and type selection (string vs boolean conditions). To find what controls a field, use get_node({mode: "search_properties", propertyQuery: "..."}) or get_node({detail: "full"}) — especially when validation flags a field you don't see.

Mechanism details, all four dependency patterns, complex flows, nested dependencies, and troubleshooting are in DEPENDENCIES.md (quick-reference recap under Quick Reference: displayOptions and Common Dependency Patterns).


Common Node Patterns

Pattern 1: Resource/Operation Nodes

Examples: Slack, Google Sheets, Airtable

Structure:

{
  "resource": "<entity>",      // What type of thing
  "operation": "<action>",     // What to do with it
  // ... operation-specific fields
}

How to configure:

  1. Choose resource

  2. Choose operation

  3. Use get_node to see operation-specific requirements

  4. Configure required fields

Pattern 2: HTTP-Based Nodes

Examples: HTTP Request, Webhook

Structure:

{
  "method": "<HTTP_METHOD>",
  "url": "<endpoint>",
  "authentication": "<type>",
  // ... method-specific fields
}

Dependencies:

  • POST/PUT/PATCH → sendBody available

  • sendBody=true → body required

  • authentication != "none" → credentials required

Critical: credentials block, node id, typeVersion

  • Never set a placeholder credential ID (e.g. "id": "REPLACE_ME") — n8n's UI renders a permanently disabled credential selector for unknown IDs. Omit the credentials block when the real ID is unknown; the user then gets a normal clickable dropdown.

  • Node id must be a UUID v4, not a readable slug — the frontend binds forms and the credential component to it.

  • Don't hardcode old typeVersion values — verify the current version with get_node (httpRequest is 4.4+).

Pattern 3: Database Nodes

Examples: Postgres, MySQL, MongoDB

Structure:

{
  "operation": "<query|insert|update|delete>",
  // ... operation-specific fields
}

Dependencies:

  • operation="executeQuery" → query required

  • operation="insert" → table + values required

  • operation="update" → table + values + where required

Critical: Write operations may return 0 items

  • INSERT, UPDATE, DELETE can produce 0 n8n output items, depending on the node and operation (raw query execution reliably returns 0 result rows; some database nodes return the affected rows)

  • Set alwaysOutputData: true on write-operation nodes to keep downstream chains alive

  • Downstream nodes should use $('UpstreamNode').all() instead of $input if they need data

Pattern 4: Conditional Logic Nodes

Examples: IF, Switch, Merge

Structure:

{
  "conditions": {
    "<type>": [
      {
        "operation": "<operator>",
        "value1": "...",
        "value2": "..."  // Only for binary operators
      }
    ]
  }
}

Dependencies:

  • Binary operators (equals, contains, etc.) → value1 + value2

  • Unary operators (isEmpty, isNotEmpty) → value1 only + singleValue: true


Operation-Specific Configuration

Required fields shift with resource + operation: Slack post needs channel+text, but update needs messageId+text (channel optional) and channel/create needs name. HTTP GET uses sendQuery+queryParameters; POST needs sendBody+body. IF binary operators (equals) need value1+value2; unary (isEmpty) need only value1 plus auto-added singleValue: true. Concrete minimal configs for each in OPERATION_PATTERNS.md.


Handling Conditional Requirements

Some fields are required only under certain conditions: HTTP body is required when sendBody=true AND method IN (POST, PUT, PATCH, DELETE); IF singleValue should be true when the operator is unary (isEmpty, isNotEmpty, true, false) — and auto-sanitization sets it for you. Discover conditional requirements by reading the validation error, searching the property (get_node({mode: "search_properties"})), or iterating from a minimal config. Worked discovery examples in DEPENDENCIES.md.


Node-Specific Configuration Notes

SplitInBatches v3
{
  "batchSize": 100,  // Number of items per batch
  "options": {}
}

Output wiring:

  • main[0] (done) → Connect to downstream processing (add Limit 1 first)

  • main[1] (each batch) → Connect to loop body, then loop back to SplitInBatches input

See the n8n Workflow Patterns skill for detailed loop and nested loop patterns.

Google Sheets Node

Per-item execution: Each input item triggers a separate API call. If you have 100 items and use a Google Sheets "Append Row" node, it makes 100 API calls. To write in bulk, collect the rows into one item with an Aggregate node first, then use a single HTTP Request with the Sheets API.

Formula columns: Never use append on sheets with formula columns — it overwrites formulas. Instead, use HTTP Request with Google Sheets API values.update (PUT) method and a googleApi credential.


Configuration Anti-Patterns

❌ Don't: Over-configure Upfront

Bad:

// Adding every possible field
{
  "method": "GET",
  "url": "...",
  "sendQuery": false,
  "sendHeaders": false,
  "sendBody": false,
  "timeout": 10000,
  "ignoreResponseCode": false,
  // ... 20 more optional fields
}

Good:

// Start minimal
{
  "method": "GET",
  "url": "...",
  "authentication": "none"
}
// Add fields only when needed
❌ Don't: Skip Validation

Bad:

// Configure and deploy without validating
const config = {...};
n8n_update_partial_workflow({...});  // YOLO

Good:

// Validate before deploying
const config = {...};
const result = validate_node({...});
if (result.valid) {
  n8n_update_partial_workflow({...});
}
❌ Don't: Ignore Operation Context

Bad:

// Same config for all Slack operations
{
  "resource": "message",
  "operation": "post",
  "channel": "#general",
  "text": "..."
}

// Then switching operation without updating config
{
  "resource": "message",
  "operation": "update",  // Changed
  "channel": "#general",  // Wrong field for update!
  "text": "..."
}

Good:

// Check requirements when changing operation
get_node({
  nodeType: "nodes-base.slack"
});
// See what update operation needs (messageId, not channel)

Surgical Field Edits with patchNodeField

When you need to edit a specific string inside a node field — rather than replacing the whole field — use patchNodeField in n8n_update_partial_workflow. This is especially useful for:

  • Editing code inside Code nodes without re-transmitting the full code block

  • Updating URLs or text in large HTML email templates

  • Fixing typos in JSON bodies or long text fields

// Instead of replacing the entire jsCode field:
n8n_update_partial_workflow({
  id: "wf-123",
  operations: [{
    type: "patchNodeField",
    nodeName: "Code",
    fieldPath: "parameters.jsCode",
    patches: [{find: "const limit = 10;", replace: "const limit = 50;"}]
  }]
})

patchNodeField is strict — it errors if the find string isn't found or matches multiple times (unless replaceAll: true). This prevents accidental silent failures during configuration updates. See the n8n MCP Tools Expert skill for full syntax and examples.


Best Practices

Do
  1. Start with get_node (standard detail)

    • ~1-2K tokens response

    • Covers 95% of configuration needs

    • Default detail level

  2. Validate iteratively

    • Configure → Validate → Fix → Repeat

    • Average 2-3 iterations is normal

    • Read validation errors carefully

  3. Use search_properties mode when stuck

    • If field seems missing, search for it

    • Understand what controls field visibility

    • get_node({mode: "search_properties", propertyQuery: "..."})

  4. Respect operation context

    • Different operations = different requirements

    • Always check get_node when changing operation

    • Don't assume configs are transferable

  5. Trust auto-sanitization

    • Operator structure fixed automatically

    • Don't manually add/remove singleValue

    • IF/Switch metadata added on save

❌ Don't
  1. Jump to detail="full" immediately

    • Try standard detail first

    • Only escalate if needed

    • Full schema is 3-8K tokens

  2. Configure blindly

    • Always validate before deploying

    • Understand why fields are required

    • Use search_properties for conditional fields

  3. Copy configs without understanding

    • Different operations need different fields

    • Validate after copying

    • Adjust for new context

  4. Manually fix auto-sanitization issues

    • Let auto-sanitization handle operator structure

    • Focus on business logic

    • Save and let system fix structure


Native Nodes for Data Jobs

The job-to-node table in using-n8n-mcp-skills picks the node; NATIVE_NODES.md has each one's parameters JSON and traps. The traps that bite most:

  • Summarize — fieldsToSplitBy is one comma-separated string; outputs are named sum_amount, count_id, …

  • Split Out — include defaults to noOtherFields: the parent's fields are dropped unless you keep them.

  • Merge — combineByFields + joinMode (keepMatches, keepNonMatches, enrichInput1, …); numberInputs only on append / SQL / position / choose-branch modes.

  • Compare Datasets — four outputs in fixed order: in A only, same, different, in B only.

  • Remove Duplicates — removeItemsSeenInPreviousExecutions dedupes across runs (v2), replacing static-data Code.

  • Date & Time — set options.includeInputFields: true, or only the new date field survives.

  • HTTP Request pagination — always limitPagesFetched: true + maxRequests; an object body arrives as one item per page.

  • Crypto — use typeVersion 2: HMAC and signing secrets come from a crypto credential (v1 kept them in the JSON).

  • Node settings — executeOnce, alwaysOutputData, notes / notesInFlow sit next to parameters, not inside it.


Silent-Failure Gotchas by Node Family

Some misconfigurations pass validate_node and validate_workflow clean, run without error, and quietly do the wrong thing — get_node shows the fields exist but not what happens when you omit them. The high-frequency ones:

  • Switch — no options.fallbackOutput ⇒ unmatched items silently dropped.

  • Merge — numberInputs defaults to 2 (extra sources drop; numberOfInputs is not a field and is ignored); useDataOfInput is 1-indexed vs the 0-indexed connections.<src>.main[idx] slot (useDataOfInput: "N" → main[N-1]).

  • Database — {{ }} interpolation into parameters.query is SQL injection; use $1/$2 placeholders + options.queryReplacement.

  • Slack — Block Kit must be wrapped ={{ { "blocks": ... } }} or it posts as plain text.

  • Webhook / Respond — options.responseCode defaults to 200 even on error branches; a top-level responseCode is ignored.

  • Schedule Trigger — timezone is workflow-level (Workflow Settings), not per-rule.

Full symptom/cause/fix detail (in JSON + n8n_update_partial_workflow terms) in NODE_FAMILY_GOTCHAS.md.


Detailed References

For comprehensive guides on specific topics:

  • DEPENDENCIES.md - Deep dive into property dependencies and displayOptions

  • OPERATION_PATTERNS.md - Common configuration patterns by node type

  • NATIVE_NODES.md - Configs for the native nodes that replace Code (transform, dedupe, diff, dates, pagination, HMAC, files) and node settings

  • NODE_FAMILY_GOTCHAS.md - Silent runtime traps by family (Switch, Merge, Database, Slack, Webhook, Schedule)


Summary

Configuration Strategy:

  1. Start with get_node (standard detail is default)

  2. Configure required fields for operation

  3. Validate configuration

  4. Search properties if stuck

  5. Iterate until valid (avg 2-3 cycles)

  6. Deploy with confidence

Key Principles:

  • Operation-aware: Different operations = different requirements

  • Progressive disclosure: Start minimal, add as needed

  • Dependency-aware: Understand field visibility rules

  • Validation-driven: Let validation guide configuration

Related Skills:

  • n8n MCP Tools Expert - How to use discovery tools correctly

  • n8n Validation Expert - Interpret validation errors

  • n8n Expression Syntax - Configure expression fields

  • n8n Workflow Patterns - Apply patterns with proper configuration

Files

NATIVE_NODES.md

Native Nodes for Data Jobs

Configuration patterns for the native nodes that replace most Code nodes. The job-to-node table in using-n8n-mcp-skills says which node fits a job; this file says how to configure it.

Every block below is the parameters object as it appears in workflow JSON (node types in LONG form, e.g. n8n-nodes-base.summarize). The typeVersions are the current ones at the time of writing. Before you commit a config, confirm it with get_node on the user's version — on n8n-mcp 2.97.0+ standard detail already lists each options collection's settings — or search for a field: get_node({nodeType: "nodes-base.summarize", mode: "search_properties", propertyQuery: "split"}). Parameters left at their default can be omitted.

Contents

  • Summarize: group and aggregate

  • Aggregate: items to one array

  • Split Out: array to items

  • Merge: join two lists

  • Compare Datasets: diff and sync

  • Remove Duplicates, also across executions

  • Sort + Limit: top-N

  • Filter, IF, Switch: conditions

  • Data Table get: order by and limit

  • Date & Time

  • HTTP Request pagination

  • Webhook signature: raw body + Crypto

  • Files and markup: XML, HTML, Markdown, Extract From File, Convert To File

  • Node settings: executeOnce, alwaysOutputData, notes


Summarize: group and aggregate

n8n-nodes-base.summarize, typeVersion 1.1. Group by one or more fields and compute aggregates per group, like SQL GROUP BY.

{
  "fieldsToSummarize": {
    "values": [
      { "aggregation": "sum", "field": "amount" },
      { "aggregation": "count", "field": "id" }
    ]
  },
  "fieldsToSplitBy": "customerId",
  "options": {}
}

Output: one item per customerId, with fields customerId, sum_amount, count_id.

  • aggregation: sum, average, count, countUnique, min, max, append, concatenate. Output keys are prefixed sum_, average_, count_, unique_count_, min_, max_, appended_, concatenated_; dots and spaces in the field name become _.

  • fieldsToSplitBy is ONE comma-separated string ("customerId, month"), not a list. Leave it empty for a single total over all items.

  • options.outputFormat: separateItems (default, one item per group) or singleItem.

  • concatenate takes separateBy / customSeparator; count, countUnique, append and concatenate take includeEmpty.

Aggregate: items to one array

n8n-nodes-base.aggregate, typeVersion 1. Collapses many items into one item holding arrays.

Collect one field from every item:

{
  "aggregate": "aggregateIndividualFields",
  "fieldsToAggregate": {
    "fieldToAggregate": [
      { "fieldToAggregate": "id", "renameField": true, "outputFieldName": "ids" }
    ]
  },
  "options": {}
}

Collect whole items into one list:

{ "aggregate": "aggregateAllItemData", "destinationFieldName": "rows", "include": "allFields" }
  • Without renameField: true the output field keeps the input name (id holding an array).

  • All-data mode: include is allFields, specifiedFields (+ fieldsToInclude) or allFieldsExcept (+ fieldsToExclude).

  • Options in individual-fields mode: mergeLists (flatten array fields), keepMissing (keep null / missing values), includeBinaries.

  • Typical use: a bulk API body or one Slack message built from many items. For a single total or count, Summarize is the better fit.

Split Out: array to items

n8n-nodes-base.splitOut, typeVersion 1.1. Turns an array field into one item per element.

{
  "fieldToSplitOut": "line_items",
  "include": "selectedOtherFields",
  "fieldsToInclude": "order_id, customer_email",
  "options": { "destinationFieldName": "line_item" }
}
  • The parameter is fieldToSplitOut (singular); it accepts comma-separated names.

  • include: noOtherFields (default: parent fields are dropped), allOtherFields, or selectedOtherFields + fieldsToInclude. Use one of the last two when downstream nodes need the parent's fields; otherwise they reach back with $('Source').item.

Merge: join two lists

n8n-nodes-base.merge, typeVersion 3.2. mode: append (default), combine, combineBySql, chooseBranch.

Join on a field with the same name in both inputs (like a SQL join):

{ "mode": "combine", "combineBy": "combineByFields", "fieldsToMatchString": "id", "joinMode": "enrichInput1", "options": {} }

Different field names on each side:

{
  "mode": "combine",
  "combineBy": "combineByFields",
  "advanced": true,
  "mergeByFields": { "values": [ { "field1": "customerId", "field2": "id" } ] },
  "joinMode": "keepMatches",
  "options": {}
}
  • joinMode: keepMatches (default, inner join), keepNonMatches (items without a partner), keepEverything (outer join), enrichInput1 (left join), enrichInput2 (right join). keepMatches and keepNonMatches add outputDataFrom: both, input1, input2.

  • options.multipleMatches: all (default) or first. options.fuzzyCompare treats "1" and 1 as equal. options.clashHandling decides which value wins when both sides have a field.

  • combineBy also takes combineByPosition (item 1 with item 1; options.includeUnpaired) and combineAll (a cross join; every pair).

  • Input count: numberInputs (default 2, up to 10) exists on append, combineBySql, combineByPosition and chooseBranch. Combine by Fields and Combine All always take two. It is numberInputs, not numberOfInputs; see NODE_FAMILY_GOTCHAS.md.

SQL mode, for joins on several keys, aggregates across inputs, or 3+ inputs:

{
  "mode": "combineBySql",
  "numberInputs": 3,
  "query": "SELECT o.*, c.email FROM input1 o LEFT JOIN input2 c ON o.customer_id = c.id",
  "options": {}
}
  • Tables are input1 … inputN; the engine is AlaSQL.

  • Don't build the query from item data with {{ }}: the value becomes SQL text. Use ? placeholders and options.queryParameters (a comma-separated string of values).

Compare Datasets: diff and sync

n8n-nodes-base.compareDatasets, typeVersion 2.3. Compares input A (first wire) with input B (second wire) on a key and sorts every item into one of four outputs.

{
  "mergeByFields": { "values": [ { "field1": "id", "field2": "id" } ] },
  "resolve": "includeBoth",
  "options": { "skipFields": "updated_at, synced_at" }
}
  • Outputs, in this fixed order: main[0] In A only, main[1] Same, main[2] Different, main[3] In B only. A sync wires them to create / skip / update / delete.

  • resolve (what the Different output carries): includeBoth (default from 2.1), preferInput1, preferInput2, mix (+ preferWhenMix, exceptWhenMix). Older versions default to preferInput2, so set it explicitly.

  • options.skipFields: fields that should not count as a difference (timestamps). fuzzyCompare is a top-level parameter on v2+.

Remove Duplicates, also across executions

n8n-nodes-base.removeDuplicates, typeVersion 2 (cross-execution mode needs v2).

Within the current input:

{ "operation": "removeDuplicateInputItems", "compare": "selectedFields", "fieldsToCompare": "email", "options": {} }

compare: allFields (default), allFieldsExcept (+ fieldsToExclude), selectedFields (+ fieldsToCompare).

Across executions (a poller that must not process the same record twice):

{
  "operation": "removeItemsSeenInPreviousExecutions",
  "logic": "removeItemsWithAlreadySeenKeyValues",
  "dedupeValue": "={{ $json.id }}",
  "options": { "scope": "node", "historySize": 10000 }
}
logicKeeps items whose…Value parameter
removeItemsWithAlreadySeenKeyValueskey was never seendedupeValue
removeItemsUpToStoredIncrementalKeynumber is higher than the stored oneincrementalDedupeValue
removeItemsUpToStoredDatedate is later than the stored onedateDedupeValue
  • options.scope: node (default) or workflow (shared by every Remove Duplicates node in the workflow). historySize (default 10000) applies to the seen-keys logic.

  • To reset: { "operation": "clearDeduplicationHistory", "mode": "cleanDatabase" }.

  • The history survives between executions on the instance itself, so this replaces the $getWorkflowStaticData + Code pattern for "only new items".

Sort + Limit: top-N

n8n-nodes-base.sort (typeVersion 1) followed by n8n-nodes-base.limit (typeVersion 1).

{ "type": "simple", "sortFieldsUi": { "sortField": [ { "fieldName": "amount", "order": "descending" } ] }, "options": {} }
{ "maxItems": 10, "keep": "firstItems" }
  • Sort type: simple, random, or code (a comparator, for orders the field list can't express). order: ascending / descending; several sortField entries sort by each in turn.

  • Limit keep: firstItems (default) or lastItems. maxItems defaults to 1.

Filter, IF, Switch: conditions

Filter (n8n-nodes-base.filter, 2.3), IF (n8n-nodes-base.if, 2.3) and Switch rules (n8n-nodes-base.switch, 3.4) share one conditions shape. Put the comparison in the condition itself instead of computing a flag in an earlier node.

{
  "conditions": {
    "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict", "version": 3 },
    "conditions": [
      { "leftValue": "={{ $json.status }}", "rightValue": "active", "operator": { "type": "string", "operation": "equals" } },
      { "leftValue": "={{ $json.amount }}", "rightValue": 100, "operator": { "type": "number", "operation": "gt" } }
    ],
    "combinator": "and"
  },
  "options": {}
}
  • One condition group is either all and or all or. For mixed logic, chain two nodes or put the combined test in one boolean expression (operator: {type: "boolean", operation: "true"}).

  • typeValidation: "strict" fails on a number arriving as a string; fix the type upstream or set top-level looseTypeValidation: true.

  • IF: main[0] true, main[1] false. Switch: set options.fallbackOutput: "extra", or unmatched items are dropped silently (see NODE_FAMILY_GOTCHAS.md).

  • Operator details (unary operators, singleValue) live in the validation skill's auto-sanitization notes; let validate_node fix the structure.

Data Table get: order by and limit

n8n-nodes-base.dataTable, typeVersion 1.1, resource: "row", operation: "get". Pick the latest or top rows in the query itself instead of fetching everything and sorting in Code.

{
  "resource": "row",
  "operation": "get",
  "dataTableId": { "__rl": true, "mode": "name", "value": "orders" },
  "matchType": "allConditions",
  "filters": { "conditions": [ { "keyName": "status", "condition": "eq", "keyValue": "open" } ] },
  "returnAll": false,
  "limit": 1,
  "orderBy": true,
  "orderByColumn": "createdAt",
  "orderByDirection": "DESC"
}
  • returnAll defaults to false and limit to 50, per input item. Set returnAll: true when you need every row.

  • matchType defaults to anyCondition (OR). Use allConditions for AND.

  • There is no getAll operation; get with returnAll: true is the "get all".

Date & Time

n8n-nodes-base.dateTime, typeVersion 2. A named date step; an inline Luxon one-liner in the consuming field is equally fine (see n8n-expression-syntax).

{ "operation": "addToDate", "magnitude": "={{ $json.created_at }}", "timeUnit": "days", "duration": 7, "outputFieldName": "due_at", "options": { "includeInputFields": true } }
operationKey parameters
getCurrentDateincludeTime, outputFieldName
addToDate / subtractFromDatemagnitude (the date), timeUnit, duration
formatDatedate, format (yyyy-MM-dd, custom + customFormat, …), options.fromFormat
getTimeBetweenDatesstartDate, endDate, units (list)
extractDatedate, part (year … second)
roundDatedate, mode (roundDown / roundUp), toNearest / to
  • Set options.includeInputFields: true, or the output holds only the new date field and the rest of the item is gone.

  • v1 used different names (action, value, toFormat). Old templates won't validate on v2.

  • Timezone: getCurrentDate takes options.timezone (a zone name) and formatDate takes options.timezone (a "use the workflow timezone" toggle); the other operations work in the workflow / instance timezone.

HTTP Request pagination

n8n-nodes-base.httpRequest, typeVersion 4.5. Use the built-in pagination option instead of a Set → HTTP → IF → loop. When a service node exists (its own "Return All" usually pages for you), use that first.

Page-number or offset APIs:

{
  "method": "GET",
  "url": "https://api.example.com/v1/contacts",
  "sendQuery": true,
  "queryParameters": { "parameters": [ { "name": "per_page", "value": "100" } ] },
  "options": {
    "pagination": {
      "pagination": {
        "paginationMode": "updateAParameterInEachRequest",
        "parameters": { "parameters": [ { "type": "qs", "name": "page", "value": "={{ $pageCount + 1 }}" } ] },
        "paginationCompleteWhen": "other",
        "completeExpression": "={{ !$response.body.has_more }}",
        "limitPagesFetched": true,
        "maxRequests": 100,
        "requestInterval": 250
      }
    }
  }
}

The API returns the next page's URL (cursor or link style):

{
  "pagination": {
    "pagination": {
      "paginationMode": "responseContainsNextURL",
      "nextURL": "={{ $response.body.next }}",
      "paginationCompleteWhen": "other",
      "completeExpression": "={{ !$response.body.next }}",
      "limitPagesFetched": true,
      "maxRequests": 100
    }
  }
}

For a cursor sent as a parameter, use updateAParameterInEachRequest with "value": "={{ $response.body.next_cursor }}".

  • Variables: $pageCount (pages fetched so far, starts at 0), $response.body, $response.headers, $response.statusCode, $request.

  • paginationCompleteWhen: responseIsEmpty (default; the body is empty or an empty array), receiveSpecificStatusCodes (+ statusCodesWhenComplete, comma-separated), or other (+ completeExpression, which must be a full ={{ … }} expression).

  • Always set limitPagesFetched: true and maxRequests. Without them there is no page cap, and a stop condition that never fires pages forever.

  • Output shape: a page whose body is an array becomes one item per element. A page whose body is an object ({ "data": [...], "has_more": true }) becomes one item per page; add a Split Out on data.

  • Pagination settings are read from the first input item only. Paging per input item needs one request chain per item (a sub-workflow with mode: each).

  • type in parameters is qs, body or headers. Auth comes from the node's credential, as for any HTTP Request.

Webhook signature: raw body + Crypto

Verify an HMAC-signed webhook without Code. The signature must be computed over the raw request body: re-serialising $json.body changes key order and whitespace, and the check then fails for valid requests.

Webhook (options.rawBody: true)
  → Crypto (hmac over binary "data", secret from a crypto credential)
  → IF  signature header equals the computed value
       ├─ true  → process
       └─ false → Respond to Webhook 401

Webhook (n8n-nodes-base.webhook, typeVersion 2.2):

{ "httpMethod": "POST", "path": "github-events", "responseMode": "responseNode", "options": { "rawBody": true } }

With rawBody, the raw bytes land in the binary property data; $json.body is still the parsed body.

Crypto (n8n-nodes-base.crypto, typeVersion 2):

{
  "type": "n8n-nodes-base.crypto",
  "typeVersion": 2,
  "parameters": {
    "action": "hmac",
    "type": "SHA256",
    "binaryData": true,
    "binaryPropertyName": "data",
    "encoding": "hex",
    "dataPropertyName": "computedSignature"
  },
  "credentials": { "crypto": { "id": "<credential id>", "name": "GitHub webhook secret" } }
}

IF condition (GitHub sends X-Hub-Signature-256: sha256=<hex>; other providers differ, so read their docs for the header name and prefix):

{ "leftValue": "={{ $('Webhook').item.json.headers['x-hub-signature-256'] }}", "rightValue": "={{ 'sha256=' + $json.computedSignature }}", "operator": { "type": "string", "operation": "equals" } }
  • Crypto v2 reads the HMAC secret from a crypto credential (hmacSecret). v1 had a plain-text secret parameter that is stored in the workflow JSON; never copy a v1 config. One credential holds one secret, so per-provider secrets mean one credential each.

  • Header names arrive lowercased in $json.headers.

  • Schemes that sign more than the body need the signed string built first. Stripe, for example, signs <timestamp>.<raw body> and sends t=…,v1=…. Check for the provider's own trigger node (Stripe Trigger, GitHub Trigger, …) before building verification by hand.

  • The IF comparison is not constant-time. For most webhooks that is acceptable; if the user needs a timing-safe compare, that is a Code exception (library-level crypto).

  • Crypto also covers hash (no credential: {"action": "hash", "type": "SHA256", "value": "={{ $json.email }}", "dataPropertyName": "email_hash"}), generate ({"action": "generate", "encodingType": "uuid", "dataPropertyName": "id"}), and sign (private key from the credential).

  • Simple shared-secret auth (a static token in a header) doesn't need Crypto at all: set the Webhook node's authentication to headerAuth with a Header Auth credential.

Files and markup

JobNode (typeVersion)Key parameters
XML ↔ JSONXML n8n-nodes-base.xml (1)mode: xmlToJson / jsonToxml; dataPropertyName (default data); options explicitArray (default false), mergeAttrs (default true), ignoreAttrs
Scrape / parse HTMLHTML n8n-nodes-base.html (1.2)operation: "extractHtmlContent", sourceData json / binary, dataPropertyName, extractionValues.values[] of {key, cssSelector, returnValue: text/html/attribute/value, attribute, returnArray}
Build an HTML table / pageHTML (1.2)operation: convertToHtmlTable or generateHtmlTemplate (html with {{ }})
Markdown ↔ HTMLMarkdown n8n-nodes-base.markdown (1)mode: markdownToHtml (reads markdown) / htmlToMarkdown (reads html, the default mode); output to destinationKey
File → items / JSONExtract From File n8n-nodes-base.extractFromFile (1.1)operation: csv, xlsx, xls, ods, html, pdf, rtf, text, xml, fromJson, fromIcs, binaryToPropery; input binaryPropertyName (default data)
Items → fileConvert To File n8n-nodes-base.convertToFile (1.1)operation: csv, xlsx, xls, ods, html, rtf, toJson, toText, iCal, toBinary; output binaryPropertyName; options.fileName
  • Spreadsheet and CSV extraction emits one item per row; text, xml, fromJson and binaryToPropery write to destinationKey.

  • The operation value is really spelled binaryToPropery, and ICS is fromIcs for extract but iCal for convert.

  • XML in a downloaded file: Extract From File (text or xml) first, then the XML node on that field.

  • RSS feeds have their own node (RSS Read); check search_nodes before parsing feed XML.

Node settings: executeOnce, alwaysOutputData, notes

These sit at the top level of the node object, next to parameters, not inside it.

{
  "name": "Fetch config",
  "type": "n8n-nodes-base.httpRequest",
  "typeVersion": 4.5,
  "position": [600, 300],
  "executeOnce": true,
  "alwaysOutputData": true,
  "notes": "Why HTTP: no native node for this internal API",
  "notesInFlow": true,
  "parameters": { "url": "https://config.internal/api/v1/settings" }
}
SettingEffectReplaces
executeOnce: trueruns on the first input item onlya "collapse to one item" Code node, or a Limit 1 before a one-time call
alwaysOutputData: trueemits one empty item {} on output 0 when the node returns nothinga Code node that fakes an item so the branch keeps running (test for it downstream with $json.isEmpty())
notes + notesInFlow: truetext on the node; notesInFlow shows it under the node on the canvas— carries the Why Code: / Why HTTP: note
onError, retryOnFail, maxTries, waitBetweenTrieserror routing and retriessee n8n-error-handling
  • alwaysOutputData only fills output 0, and only when it is empty; it doesn't run on the error path.

  • Set notes in the same addNode / updateNode operation that adds the Code or HTTP Request node: {"type": "updateNode", "nodeName": "Parse rows", "updates": {"notes": "Why Code: Extract From File considered — fixed-width format", "notesInFlow": true}}.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Node.js

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Romuald Czlonkowski
Publisher
Romuald Czlonkowski (Community)
Source
czlonkowski/n8n-skills · skills/n8n-node-configuration · commit e037563
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Romuald Czlonkowski or Romuald Czlonkowski.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download n8n-node-configuration.zip