Pcornel
Automation

n8n

Cheat sheet · https://pcornel.dk/topic.php?topic=5573

Back to the Topic

Answer

n8n is a self-hostable, node-based workflow automation tool that connects APIs and services visually, with triggers, data transformation, branching and code nodes, similar to Zapier but under your control.

Remember

  • Credentials are stored encrypted in n8n.
  • Use error workflows for alerts.
  • Test and production webhook URLs differ.

First checks

  • curl -sS https://<n8n>/healthz — health
  • Workflow list and active state — inventory
  • Credentials and execution data retention — security

Verify in this order

trigger → nodes → actions → execution log

Where it usually breaks

Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.

Automation → n8n · operational reference

LayerAutomation → n8n operational reference
Runtime/ownershipn8n workflow automation · identify controller/parser, durable intent, identity and target ownership before mutation
Persistent intentVersioned definition/configuration with explicit dependencies, scope and credential boundary
VerificationExport/inspect the workflow JSON, execute with pinned input, inspect execution data per node, then verify the external target independently.
Expected interpretationThe intended workflow version runs with the expected credentials and node parameters, each node receives/emits the expected items, and external side effects are independently verified.
Recovery boundaryPreserve correlation IDs + pre-state, repair first failing boundary, then verify the target independently

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5573

Confirmation

Confirm action

Continue?