N8n Node Configuration
Romuald CzlonkowskiCommunityCreated by Romuald Czlonkowski
- Skill
- Tool integration
- Automation and integrations
- MIT
- No issues found
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
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/czlonkowski/n8n-node-configuration/downloadUnzip 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_nodewithdetail: "standard"is the most used discovery pattern56 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:
get_node({detail: "standard"}) - DEFAULT
Quick overview (~1-2K tokens)
Required fields + common options
Use first - covers 95% of needs
get_node({mode: "search_properties", propertyQuery: "..."}) (for finding specific fields)
Find properties by name
Use when looking for auth, body, headers, etc.
get_node({detail: "full"}) (complete schema)
All properties (~3-8K tokens)
Use only when standard detail is insufficient
Configuration Workflow
Standard Process
Identify node type and operation.
Use
get_node(standard detail is default).Configure required fields.
Validate configuration.
If a field is unclear →
get_node({mode: "search_properties"}).Add optional fields as needed.
Validate again.
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 defaultReturns (~1-2K tokens):
Required fields, resolved for the node's current typeVersion
Operation list
The settings inside
optionscollections (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
Starting a new node config →
get_node(standard).Standard has what you need → configure with it. Otherwise continue. (On n8n-mcp 2.97.0+ standard also lists each
optionscollection; a list cut at 25 settings says so.)Looking for a specific field →
search_propertiesmode. Otherwise continue.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:
Choose resource
Choose operation
Use get_node to see operation-specific requirements
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 thecredentialsblock when the real ID is unknown; the user then gets a normal clickable dropdown.Node
idmust be a UUID v4, not a readable slug — the frontend binds forms and the credential component to it.Don't hardcode old
typeVersionvalues — verify the current version withget_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: trueon write-operation nodes to keep downstream chains aliveDownstream nodes should use
$('UpstreamNode').all()instead of$inputif 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({...}); // YOLOGood:
// 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
Start with get_node (standard detail)
~1-2K tokens response
Covers 95% of configuration needs
Default detail level
Validate iteratively
Configure → Validate → Fix → Repeat
Average 2-3 iterations is normal
Read validation errors carefully
Use search_properties mode when stuck
If field seems missing, search for it
Understand what controls field visibility
get_node({mode: "search_properties", propertyQuery: "..."})
Respect operation context
Different operations = different requirements
Always check get_node when changing operation
Don't assume configs are transferable
Trust auto-sanitization
Operator structure fixed automatically
Don't manually add/remove singleValue
IF/Switch metadata added on save
❌ Don't
Jump to detail="full" immediately
Try standard detail first
Only escalate if needed
Full schema is 3-8K tokens
Configure blindly
Always validate before deploying
Understand why fields are required
Use search_properties for conditional fields
Copy configs without understanding
Different operations need different fields
Validate after copying
Adjust for new context
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 —
fieldsToSplitByis one comma-separated string; outputs are namedsum_amount,count_id, …Split Out —
includedefaults tonoOtherFields: the parent's fields are dropped unless you keep them.Merge —
combineByFields+joinMode(keepMatches,keepNonMatches,enrichInput1, …);numberInputsonly on append / SQL / position / choose-branch modes.Compare Datasets — four outputs in fixed order: in A only, same, different, in B only.
Remove Duplicates —
removeItemsSeenInPreviousExecutionsdedupes 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
cryptocredential (v1 kept them in the JSON).Node settings —
executeOnce,alwaysOutputData,notes/notesInFlowsit next toparameters, 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 —
numberInputsdefaults to 2 (extra sources drop;numberOfInputsis not a field and is ignored);useDataOfInputis 1-indexed vs the 0-indexedconnections.<src>.main[idx]slot (useDataOfInput: "N"→main[N-1]).Database —
{{ }}interpolation intoparameters.queryis SQL injection; use$1/$2placeholders +options.queryReplacement.Slack — Block Kit must be wrapped
={{ { "blocks": ... } }}or it posts as plain text.Webhook / Respond —
options.responseCodedefaults to 200 even on error branches; a top-levelresponseCodeis 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:
Start with
get_node(standard detail is default)Configure required fields for operation
Validate configuration
Search properties if stuck
Iterate until valid (avg 2-3 cycles)
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
- ATTRIBUTION.mdAdded by AutoGineer901 B
- DEPENDENCIES.md17.2 KiB
- LICENSELicence file added by AutoGineer1.1 KiB
- NATIVE_NODES.md21.0 KiB
- NODE_FAMILY_GOTCHAS.md13.7 KiB
- OPERATION_PATTERNS.md26.6 KiB
- README.md9.6 KiB
- SKILL.md19.7 KiB
DEPENDENCIES.md
Property Dependencies Guide
Deep dive into n8n property dependencies and displayOptions mechanism.
What Are Property Dependencies?
Definition: Rules that control when fields are visible or required based on other field values.
Mechanism: displayOptions in node schema
Purpose:
Show relevant fields only
Hide irrelevant fields
Simplify configuration UX
Prevent invalid configurations
displayOptions Structure
Basic Format
{
"name": "fieldName",
"type": "string",
"displayOptions": {
"show": {
"otherField": ["value1", "value2"]
}
}
}Translation: Show fieldName when otherField equals "value1" OR "value2"
Show vs Hide
show (Most Common)
Show field when condition matches:
{
"name": "body",
"displayOptions": {
"show": {
"sendBody": [true]
}
}
}Meaning: Show body when sendBody = true
hide (Less Common)
Hide field when condition matches:
{
"name": "advanced",
"displayOptions": {
"hide": {
"simpleMode": [true]
}
}
}Meaning: Hide advanced when simpleMode = true
Multiple Conditions (AND Logic)
{
"name": "body",
"displayOptions": {
"show": {
"sendBody": [true],
"method": ["POST", "PUT", "PATCH"]
}
}
}Meaning: Show body when:
sendBody = trueANDmethod IN (POST, PUT, PATCH)
All conditions must match (AND logic)
Multiple Values (OR Logic)
{
"name": "someField",
"displayOptions": {
"show": {
"method": ["POST", "PUT", "PATCH"]
}
}
}Meaning: Show someField when:
method = POSTORmethod = PUTORmethod = PATCH
Any value matches (OR logic)
Common Dependency Patterns
Pattern 1: Boolean Toggle
Use case: Optional feature flag
Example: HTTP Request sendBody
// Field: sendBody (boolean)
{
"name": "sendBody",
"type": "boolean",
"default": false
}
// Field: body (depends on sendBody)
{
"name": "body",
"displayOptions": {
"show": {
"sendBody": [true]
}
}
}Flow:
User sees sendBody checkbox
When checked → body field appears
When unchecked → body field hides
Pattern 2: Resource/Operation Cascade
Use case: Different operations show different fields
Example: Slack message operations
// Operation: post
{
"name": "channel",
"displayOptions": {
"show": {
"resource": ["message"],
"operation": ["post"]
}
}
}
// Operation: update
{
"name": "messageId",
"displayOptions": {
"show": {
"resource": ["message"],
"operation": ["update"]
}
}
}Flow:
User selects resource="message"
User selects operation="post" → sees channel
User changes to operation="update" → channel hides, messageId shows
Pattern 3: Type-Specific Configuration
Use case: Different types need different fields
Example: IF node conditions
// String operations
{
"name": "value2",
"displayOptions": {
"show": {
"conditions.string.0.operation": ["equals", "notEquals", "contains"]
}
}
}
// Unary operations (isEmpty) don't show value2
{
"displayOptions": {
"hide": {
"conditions.string.0.operation": ["isEmpty", "isNotEmpty"]
}
}
}Pattern 4: Method-Specific Fields
Use case: HTTP methods have different options
Example: HTTP Request
// Query parameters (all methods can have)
{
"name": "queryParameters",
"displayOptions": {
"show": {
"sendQuery": [true]
}
}
}
// Body (only certain methods)
{
"name": "body",
"displayOptions": {
"show": {
"sendBody": [true],
"method": ["POST", "PUT", "PATCH", "DELETE"]
}
}
}Finding Property Dependencies
Using get_node with search_properties Mode
// Find properties related to "body"
get_node({
nodeType: "nodes-base.httpRequest",
mode: "search_properties",
propertyQuery: "body"
});Using get_node with Full Detail
// Get complete schema with displayOptions
get_node({
nodeType: "nodes-base.httpRequest",
detail: "full"
});When to Use
✅ Use when:
Validation fails with "missing field" but you don't see that field
A field appears/disappears unexpectedly
You need to understand what controls field visibility
Building dynamic configuration tools
❌ Don't use when:
Simple configuration (use
get_nodewith standard detail)Just starting configuration
Field requirements are obvious
Complex Dependency Examples
Example 1: HTTP Request Complete Flow
Scenario: Configuring POST with JSON body
Step 1: Set method
{
"method": "POST"
// → sendBody becomes visible
}Step 2: Enable body
{
"method": "POST",
"sendBody": true
// → body field becomes visible AND required
}Step 3: Configure body
{
"method": "POST",
"sendBody": true,
"body": {
"contentType": "json"
// → content field becomes visible AND required
}
}Step 4: Add content
{
"method": "POST",
"sendBody": true,
"body": {
"contentType": "json",
"content": {
"name": "John",
"email": "[email protected]"
}
}
}
// ✅ Valid!Dependency chain:
method=POST
→ sendBody visible
→ sendBody=true
→ body visible + required
→ body.contentType=json
→ body.content visible + requiredExample 2: IF Node Operator Dependencies
Scenario: String comparison with different operators
Binary operator (equals):
{
"conditions": {
"string": [
{
"operation": "equals"
// → value1 required
// → value2 required
// → singleValue should NOT be set
}
]
}
}Unary operator (isEmpty):
{
"conditions": {
"string": [
{
"operation": "isEmpty"
// → value1 required
// → value2 should NOT be set
// → singleValue should be true (auto-added)
}
]
}
}Dependency table:
| Operator | value1 | value2 | singleValue |
|---|---|---|---|
| equals | Required | Required | false |
| notEquals | Required | Required | false |
| contains | Required | Required | false |
| isEmpty | Required | Hidden | true |
| isNotEmpty | Required | Hidden | true |
Example 3: Slack Operation Matrix
Scenario: Different Slack operations show different fields
// post message
{
"resource": "message",
"operation": "post"
// Shows: channel (required), text (required), attachments, blocks
}
// update message
{
"resource": "message",
"operation": "update"
// Shows: messageId (required), text (required), channel (optional)
}
// delete message
{
"resource": "message",
"operation": "delete"
// Shows: messageId (required), channel (required)
// Hides: text, attachments, blocks
}
// get message
{
"resource": "message",
"operation": "get"
// Shows: messageId (required), channel (required)
// Hides: text, attachments, blocks
}Field visibility matrix:
| Field | post | update | delete | get |
|---|---|---|---|---|
| channel | Required | Optional | Required | Required |
| text | Required | Required | Hidden | Hidden |
| messageId | Hidden | Required | Required | Required |
| attachments | Optional | Optional | Hidden | Hidden |
| blocks | Optional | Optional | Hidden | Hidden |
Nested Dependencies
What Are They?
Definition: Dependencies within object properties
Example: HTTP Request body.contentType controls body.content structure
{
"body": {
"contentType": "json",
// → content expects JSON object
"content": {
"key": "value"
}
}
}
{
"body": {
"contentType": "form-data",
// → content expects form fields array
"content": [
{
"name": "field1",
"value": "value1"
}
]
}
}How to Handle
Strategy: Configure parent first, then children
// Step 1: Parent
{
"body": {
"contentType": "json" // Set parent first
}
}
// Step 2: Children (structure determined by parent)
{
"body": {
"contentType": "json",
"content": { // JSON object format
"key": "value"
}
}
}Auto-Sanitization and Dependencies
What Auto-Sanitization Fixes
Operator structure issues (IF/Switch nodes):
Example: singleValue property
// You configure (missing singleValue)
{
"type": "boolean",
"operation": "isEmpty"
// Missing singleValue
}
// Auto-sanitization adds it
{
"type": "boolean",
"operation": "isEmpty",
"singleValue": true // ✅ Added automatically
}What It Doesn't Fix
Missing required fields:
// You configure (missing channel)
{
"resource": "message",
"operation": "post",
"text": "Hello"
// Missing required field: channel
}
// Auto-sanitization does NOT add
// You must add it yourself
{
"resource": "message",
"operation": "post",
"channel": "#general", // ← You must add
"text": "Hello"
}Troubleshooting Dependencies
Problem 1: "Field X is required but not visible"
Error:
{
"type": "missing_required",
"property": "body",
"message": "body is required"
}But you don't see body field in configuration!
Solution:
// Check field dependencies using search_properties
get_node({
nodeType: "nodes-base.httpRequest",
mode: "search_properties",
propertyQuery: "body"
});
// Find that body shows when sendBody=true
// Add sendBody
{
"method": "POST",
"sendBody": true, // ← Now body appears!
"body": {...}
}Problem 2: "Field disappears when I change operation"
Scenario:
// Working configuration
{
"resource": "message",
"operation": "post",
"channel": "#general",
"text": "Hello"
}
// Change operation
{
"resource": "message",
"operation": "update", // Changed
"channel": "#general", // Still here
"text": "Updated" // Still here
// Missing: messageId (required for update!)
}Validation error: "messageId is required"
Why: Different operation = different required fields
Solution:
// Check requirements for new operation
get_node({
nodeType: "nodes-base.slack"
});
// Configure for update operation
{
"resource": "message",
"operation": "update",
"messageId": "1234567890", // Required for update
"text": "Updated",
"channel": "#general" // Optional for update
}Problem 3: "Validation passes but field doesn't save"
Scenario: Field hidden by dependencies after validation
Example:
// Configure
{
"method": "GET",
"sendBody": true, // ❌ GET doesn't support body
"body": {...} // This will be stripped
}
// After save
{
"method": "GET"
// body removed because method=GET hides it
}Solution: Respect dependencies from the start
// Correct approach - check property dependencies
get_node({
nodeType: "nodes-base.httpRequest",
mode: "search_properties",
propertyQuery: "body"
});
// See that body only shows for POST/PUT/PATCH/DELETE
// Use correct method
{
"method": "POST",
"sendBody": true,
"body": {...}
}Advanced Patterns
Pattern 1: Conditional Required with Fallback
Example: Channel can be string OR expression
// Option 1: String
{
"channel": "#general"
}
// Option 2: Expression
{
"channel": "={{$json.channelName}}"
}
// Validation accepts bothPattern 2: Mutually Exclusive Fields
Example: Use either ID or name, not both
// Use messageId
{
"messageId": "1234567890"
// name not needed
}
// OR use messageName
{
"messageName": "thread-name"
// messageId not needed
}
// Dependencies ensure only one is requiredPattern 3: Progressive Complexity
Example: Simple mode vs advanced mode
// Simple mode
{
"mode": "simple",
"text": "{{$json.message}}"
// Advanced fields hidden
}
// Advanced mode
{
"mode": "advanced",
"attachments": [...],
"blocks": [...],
"metadata": {...}
// Simple field hidden, advanced fields shown
}Best Practices
✅ Do
Check dependencies when stuck
get_node({nodeType: "...", mode: "search_properties", propertyQuery: "..."});Configure parent properties first
// First: method, resource, operation // Then: dependent fieldsValidate after changing operation
// Operation changed → requirements changed validate_node({nodeType: "...", config: {...}, profile: "runtime"});Read validation errors for dependency hints
Error: "body required when sendBody=true" → Hint: Set sendBody=true to enable body
❌ Don't
Don't ignore dependency errors
// Error: "body not visible" → Check displayOptionsDon't hardcode all possible fields
// Bad: Adding fields that will be hiddenDon't assume operations are identical
// Each operation has unique requirements
Summary
Key Concepts:
displayOptionscontrol field visibilityshow= field appears when conditions matchhide= field disappears when conditions matchMultiple conditions = AND logic
Multiple values = OR logic
Common Patterns:
Boolean toggle (sendBody → body)
Resource/operation cascade (different operations → different fields)
Type-specific config (string vs boolean conditions)
Method-specific fields (GET vs POST)
Troubleshooting:
Field required but not visible → Check dependencies
Field disappears after change → Operation changed requirements
Field doesn't save → Hidden by dependencies
Tools:
get_node({mode: "search_properties"})- Find property dependenciesget_node({detail: "full"})- See complete schema with displayOptionsget_node- See operation requirements (standard detail)Validation errors - Hints about dependencies
Related Files:
SKILL.md - Main configuration guide
OPERATION_PATTERNS.md - Common patterns by node type
Quick Reference: displayOptions and Common Dependency Patterns
A condensed introduction to the displayOptions mechanism and the three most common dependency patterns, plus how to find them.
displayOptions Mechanism
Fields have visibility rules:
{
"name": "body",
"displayOptions": {
"show": {
"sendBody": [true],
"method": ["POST", "PUT", "PATCH"]
}
}
}Translation: "body" field shows when:
sendBody = true AND
method = POST, PUT, or PATCH
Common Dependency Patterns
Pattern 1: Boolean Toggle
Example: HTTP Request sendBody
// sendBody controls body visibility
{
"sendBody": true // → body field appears
}Pattern 2: Operation Switch
Example: Slack resource/operation
// Different operations → different fields
{
"resource": "message",
"operation": "post"
// → Shows: channel, text, attachments, etc.
}
{
"resource": "message",
"operation": "update"
// → Shows: messageId, text (different fields!)
}Pattern 3: Type Selection
Example: IF node conditions
{
"type": "string",
"operation": "contains"
// → Shows: value1, value2
}
{
"type": "boolean",
"operation": "equals"
// → Shows: value1, value2, different operators
}Finding Property Dependencies
Use get_node with search_properties mode:
get_node({
nodeType: "nodes-base.httpRequest",
mode: "search_properties",
propertyQuery: "body"
});
// Returns property paths matching "body" with descriptionsOr use full detail for complete schema:
get_node({
nodeType: "nodes-base.httpRequest",
detail: "full"
});
// Returns complete schema with displayOptions rulesUse this when: Validation fails and you don't understand why field is missing/required
Handling Conditional Requirements
How to discover and satisfy fields that are required only under certain conditions.
Example: HTTP Request Body
Scenario: body field required, but only sometimes
Rule:
body is required when:
- sendBody = true AND
- method IN (POST, PUT, PATCH, DELETE)How to discover:
// Option 1: Read validation error
validate_node({...});
// Error: "body required when sendBody=true"
// Option 2: Search for the property
get_node({
nodeType: "nodes-base.httpRequest",
mode: "search_properties",
propertyQuery: "body"
});
// Shows: body property with displayOptions rules
// Option 3: Try minimal config and iterate
// Start without body, validation will tell you if neededExample: IF Node singleValue
Scenario: singleValue property appears for unary operators
Rule:
singleValue should be true when:
- operation IN (isEmpty, isNotEmpty, true, false)Good news: Auto-sanitization fixes this!
Manual check:
get_node({
nodeType: "nodes-base.if",
detail: "full"
});
// Shows complete schema with operator-specific rulesRequirements 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.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download n8n-node-configuration.zip