n8n

Workflow automation with nodes on a canvas, self-hostable in Docker. Workflows run on a schedule or on events and can call HTTP APIs, SSH and code.

Website ↗

n8n connects services in workflows built from nodes. I run it in Docker on my server, reachable only through WireGuard or an SSH tunnel, and use it for RSS news that a language model rates and rewrites.

Nodes used there

  • Schedule Trigger, RSS Feed Read, Code (JavaScript), HTTP Request with a predefined credential such as OpenRouter, SSH with a private key, and Remove Duplicates with "Remove Items Seen in Previous Executions", which remembers keys across runs.
  • An error workflow with an "Error Trigger" runs when another workflow fails, for example to send a mail. It is set per workflow under Settings.

Things to know

  • In n8n 2 workflows are published instead of activated, and only a published workflow can be an error workflow.
  • The SSH node does not fail on a non-zero exit code, and an HTTP request set to continue on error ends the run green. A code node has to turn such results into an error.
  • The SSH node (node-ssh) prepends cd / ; to the command when a working directory is set.
  • Remove Duplicates marks an item as seen when it passes, before the rest of the workflow has succeeded.
  • The public API is reached with an API key in the header X-N8N-API-KEY. Workflow IDs are case-sensitive.

More on this

Used in
  • RSS News with n8n and OpenRouter Guide: n8n reads security notices, a language model rates and rewrites them, and a restricted SSH script commits them to the Git repository of a static site.

Show in the graph view →