n8n-node-configuration-official

Use when configuring any n8n node: HTTP, webhooks, database, comms (Slack/Gmail/Discord), AI, triggers, Merge, anything. Triggers on any node-builder call…

npx skills add https://github.com/n8n-io/skills --skill n8n-node-configuration-official

n8n Node Configuration

Each n8n node has its own parameter shape, often with conditional fields (parameter X only matters when parameter Y has value Z). Shapes evolve between versions. Guessing produces cryptic validation errors.

Don't guess, use the get_node_types tool.

Non-negotiable

Call get_node_types with discriminators (resource, operation, mode) before configuring a node. Without discriminators you get the generic shape, missing operation-specific parameters and required fields. Build against the exact shape. Don't guess from memory.

The live get_node_types output is the canonical parameter shape. The references in this skill cover patterns, gotchas, security rules, and decision-making (when to use which operation, why credentials over text fields, engine retry caps, etc.) not parameter names or field structures. If a reference example conflicts with what get_node_types returns, trust the tool. Markdown drifts; the type def is generated from the live source.

Never guess resource-locator or load-options values. When get_node_types shows a param with @searchListMethod or @loadOptionsMethod (Slack channels, Sheets tabs/docs, DB tables/columns, model lists, labels), resolve the real value with explore_node_resources (pass a credentialId from list_credentials) and use a returned value. If you already know the exact ID, use it; if several match and intent is ambiguous, ask the user. An invented ID validates but points at nothing. Exception: toolWorkflow.workflowId has no search method, resolve it via search_workflows and use mode: 'id'.

Strong defaults

  • Configure operation-first. Set resource and operation first, and conditional parameters become visible. Most "field doesn't exist" errors are really "you haven't set the parent operation yet."
  • Don't carry parameters across operations. When changing operation, re-derive from the new shape. Stale parameters from the previous operation trip validation.

The flow for any new node

1. search_nodes(['<capability keyword>'])
   → returns matching node IDs + discriminators
2. Pick the right (resource, operation) for the task.
3. get_node_types([{ name: '...', resource: '...', operation: '...' }])
   → returns exact parameter shape including conditional fields
4. For any RLC / load-options param in that shape, ground the real value:
   explore_node_resources({ nodeType, version, methodName, methodType, credentialType, credentialId, currentNodeParameters? })
   → use a returned `value`. Don't invent IDs.
5. Build the node config from that shape.
6. validate_workflow → fix errors.
7. get_workflow_details → inspect the saved config; confirm parameters landed.
8. test_workflow with pinned data → confirm runtime behavior.

Skipping any step compounds the next. The most common skip is step 3, leading to "Cannot read property X" errors that are really "you didn't pass the discriminators."

validate_node_config as a side-channel

validate_node_config([{ type, typeVersion, parameters, isToolNode? }]) runs the same Zod schema as validate_workflow on isolated node configs. Schema-level only; doesn't replace validate_workflow (still the publish gate). Cleaner signal for:

  • Iterating on a single node mid-build. Faster than re-running validate_workflow per tweak.
  • Small edits to an existing workflow. Wiring unchanged? Check the one node you touched; full validate before publish.
  • Debugging a misconfigured node. Per-parameter errors with no graph noise.

For tool subnodes (wired via ai_tool), set isToolNode: true so the correct displayOptions branch evaluates.

Operation-aware configuration

Most nodes have a top-level shape like:

{
  resource: '<thing being operated on>',   // 'message', 'spreadsheet', 'user', etc.
  operation: '<verb>',                      // 'send', 'append', 'lookup', etc.
  // ...operation-specific parameters
}

The (resource, operation) pair determines what other parameters exist (e.g., Slack (message, send) differs from (user, info)).

Pattern:

  1. Set resource and operation first.
  2. Re-fetch get_node_types with those discriminators if you didn't initially.
  3. Configure the rest from the operation-specific shape.

Property dependencies: the subtle trap

Some parameters depend on others in non-obvious ways:

  • A field is required only when another field has a specific value.
  • A field accepts different types depending on a mode.
  • A field's options come from another field's value.

Examples:

  • HTTP Request authentication: 'genericCredentialType' requires genericAuthType and credentials, but 'predefinedCredentialType' requires a different shape.
  • Postgres operation: 'executeQuery' requires query, while operation: 'select' requires table and columns.
  • Slack messageType: 'block' enables block-builder fields absent from messageType: 'text'.

Always inspect via get_node_types for the specific operation. Don't reuse a config from a different operation and expect it to validate.

Options-from-another-field is a @loadOptionsMethod: resolve the live options with explore_node_resources (methodType: 'loadOptions'), passing prior selections via currentNodeParameters when the method depends on them (e.g. listing a spreadsheet's tabs needs documentId).

Reference files

Per-category gotchas. Read the file for the node type you're configuring:

FileWhen to read
references/HTTP_NODES.mdConfiguring HTTP Request: auth, pagination, query/body parameters, retries
references/WEBHOOK_NODES.mdConfiguring Webhook trigger or Respond to Webhook: body parsing, response shape, async patterns
references/COMMS_NODES.mdSlack, Gmail, Discord, email: credential types, message shapes, attachments
references/DATABASE_NODES.mdPostgres, MySQL, Mongo, Supabase: query vs operation, parameter binding, error handling
references/AI_NODES.mdAI Agent node config knobs: streaming, vision, maxIterations, retries on the model sub-node. Defers design (prompts, tools, memory, structured output) to n8n-agents-official
references/TRIGGER_NODES.mdWebhook, Schedule, Manual, Execute Workflow Trigger: input schemas, polling vs realtime
references/SWITCH_FALLBACK.mdConfiguring a Switch node: unnamed outputs / missing fallback silently drop unmatched items
references/MERGE_NODE.mdConfiguring a Merge node, or you see useDataOfInput, numberOfInputs, or branches converging

Anti-patterns

Anti-patternWhat goes wrongFix
Building node config from memory of how the node looked last yearParameter shape has drifted, validation fails with cryptic errorsAlways get_node_types per session per node
Skipping discriminators in get_node_typesGet generic shape, miss operation-specific required fieldsAlways pass resource + operation (and mode where present)
Copying a node config from one operation to another and tweakingStale parameters trip validation, and conditional fields don't applyRe-derive from the new operation's shape
Hardcoding tokens / credentials in node text fieldsLeaks on export. See n8n-credentials-and-security-officialAlways credentials
Not testing the node with test_workflow after configuringRuntime errors only surface on real dataAlways test with pinned data before publish

More skills from n8n-io

n8n-cli
n8n-io
Use the n8n CLI to manage workflows, credentials, executions, and more on an n8n instance. Use when the user asks to interact with n8n, automate workflows,…
official
create-issue
n8n-io
Create Linear tickets or GitHub issues following n8n conventions. Use when the user asks to create a ticket, file a bug, open an issue, or says /create-issue.
official
node-add-oauth
n8n-io
Add OAuth2 credential support to an existing n8n node — creates the credential file, updates the node, adds tests, and keeps the CLI constant in sync. Use when…
official
spec-driven-development
n8n-io
Keeps implementation and specs in sync. Use when working on a feature that has a spec in .claude/specs/, when the user says /spec, or when starting…
official
content-design
n8n-io
You are a Senior Content Designer specializing in SaaS tools. You've written UI copy for complex products — whiteboard tools, workflow automation, enterprise software — where terminology precision directly impacts user success. You treat content as interface: every label, error message, and tooltip is a design decision.
official
create-pr
n8n-io
GitHub pull requests with titles validated against n8n's commit convention standards. Enforces conventional commit format with type, optional scope, and summary; supports nine commit types (feat, fix, perf, test, docs, refactor, build, ci, chore) with configurable changelog inclusion Provides predefined scopes for common areas (API, core, editor, benchmark, specific nodes) and validates title format including breaking change indicators and capitalization rules Includes PR body template with...
official
create-skill
n8n-io
Skills are markdown (plus optional scripts) that teach the agent a focused workflow. Keep SKILL.md short —the context window is shared with chat, code, and other skills.
official
credential-setup-with-computer-use
n8n-io
Guides n8n credential setup through Computer Use browser tools. Use when a user needs OAuth apps, API keys, client IDs, client secrets, or other credential…
official