Intermediate7 min readAutomations

Hermes vs n8n: choose by the job (and when to use both)

A decision framework for Hermes Agent versus n8n: deterministic plumbing stays in n8n, while a bearer-authenticated Hermes API step or a separate event-webhook path handles bounded agent work.

What you should be able to do

Use n8n for explicit workflow plumbing and evaluate Hermes for bounded agent work. Combine them only when the selected bearer-authenticated API or authenticated event-webhook contract, failure handling, and human gates outperform a simpler workflow.

Saved only in this browser.
In this article

For a support workflow, receiving a ticket and sending the approved reply need explicit state and retry rules. Drafting that reply may need source lookup and interpretation. Assign those responsibilities before choosing a second runtime. n8n can run agent nodes; Hermes can automate repeated work. The question is whether an additional service improves a specific step enough to justify its operational cost.

If you are new to either side, read the n8n lead-triage design and /articles/hermes-agent-what-it-is first. For the handoff surfaces, use the official Hermes API-server documentation, Hermes webhook documentation, and n8n HTTP Request node documentation. Nous Research does not document a turnkey Hermes-to-n8n workflow matching the old third-party integration page.

Two different shapes of work

Deterministic work has a known graph: validate → enrich via API → write CRM → notify. Retries, durable business idempotency, and field mapping matter more than prose quality. n8n or another workflow engine is built for this.

Judgment work has an open middle: read a messy customer note, decide severity, draft a reply in house voice, choose which doc to cite. Memory and skills matter. Hermes is built for this.

Hybrid work is a candidate pattern when the same path needs deterministic edges and bounded agent judgment in the middle. Its production value must be measured rather than assumed.

Event → n8n validate + durable idempotency
      → Hermes API server :8642 + bearer auth
      → n8n validates the returned schema
      → human-gated write

This diagram is an illustrative application composition, not a vendor-tested turnkey integration. If the required contract is event ingress whose result goes to a configured log, GitHub comment, or messaging adapter, use the separate Hermes webhook adapter on default port 8644 with the source’s documented authentication method.

Decision framework

Score each candidate workflow on five axes. This is an editorial planning heuristic, not a validated product-selection model. Use n8n-only when the left column dominates, Hermes-only when the right column dominates, and evaluate a hybrid when both appear in the same path.

AxisLean n8nLean Hermes
Path stabilityFixed steps every runBranching depends on content
IntegrationsMany SaaS connectors, retries, queuesFew connectors; needs shell/browser/skills
StateStateless per run or DB fields you ownCross-session memory and procedures
OutputStructured JSON/fieldsProse, triage rationale, multi-source synthesis
Failure cost of wrong actionHigh; prefer explicit nodes + approvalsHigh on send/write; still gate; Hermes drafts

What n8n should own

Keep these in n8n (patterns match the n8n lead-triage design):

  • Webhook intake and schema validation
  • Idempotency and deduplication
  • Auth to CRM, helpdesk, sheets, Slack
  • Rate limits, retries, error branches
  • Explicit if/switch routing on enums and scores
  • Retained workflow execution records plus explicit write receipts and correlation IDs
  • Kill switches and environment flags

n8n can host an AI Agent node for light judgment. That remains valid for contained tools and clear JSON contracts. Escalate to Hermes when you want persistent memory, a skills library, messaging-gateway UX, or heavier tool use outside n8n’s node graph.

What Hermes may own

Candidate responsibilities for Hermes include:

  • Procedures encoded as skills (repeatable ops/support/release checklists)
  • Memory of team preferences and durable project facts, with the hygiene and write gates described in first-profile controls
  • Ambiguous classification and drafting with tool-assisted lookup
  • Channel-native operator UX (CLI / Telegram / Discord / Slack gateway as you configure)
  • Event-driven investigation via named webhook routes with a configured delivery target (Hermes event routes)

Hermes can call an authenticated n8n webhook through an explicitly configured tool, skill, or MCP server when the agent needs a deterministic side effect. That is custom application behavior with its own authentication, schema, timeout, and idempotency contract. It is not a native Hermes-webhook delivery target. Prefer a narrow tool over teaching Hermes to be the integration bus.

A hybrid pattern to test

When n8n must receive the agent result in the same workflow, its verified custom-endpoint path is the HTTP Request node calling the bearer-authenticated Hermes API server. Use /v1/responses for a response-oriented call or /v1/runs for an asynchronous run that n8n polls or observes. The API reference checked on 28 September 2026 gives /v1/runs its own durable Idempotency-Key reservation: an identical retry returns the original run, conflicting payloads receive 409, and the key is retained for 24 hours after its last status update. Do not apply that contract automatically to /v1/responses; the reference separately describes a five-minute response cache. Test the endpoint and installed release you use. Neither retention window replaces the business system’s key and recovery policy. Separately, the webhook adapter caches delivery IDs for one hour; meaningful retry deduplication requires a stable X-GitHub-Delivery or X-Request-ID, and that bounded cache also does not replace durable business idempotency.

Reference flow: private support triage

  1. Ticket/form webhook → n8n
  2. n8n validates email, length, source enum; drops spam; attaches ticket_id
  3. n8n HTTP Request → Hermes API server on :8642 with Authorization: Bearer <API_SERVER_KEY> and an application correlation ID
  4. Hermes skill: classify severity, draft reply, list missing information; tools are read-only against the approved sources
  5. n8n receives or polls the result, validates a versioned response schema, and routes malformed or timed-out output to human review
  6. Human approves; n8n owns the helpdesk or CRM write and sends the customer reply

Do not auto-send customer email from Hermes in the first versions. Keep final send in n8n behind approval, following the same guardrail as the lead-triage article.

Strip payloads in n8n before Hermes when possible. The agent should see the minimum fields required for triage. Customer secrets and payment details should never enter agent memory.

Direction choices

DirectionUse whenMechanism
n8n → Hermes APIn8n needs the agent result backHTTP Request to :8642, bearer auth, /v1/responses or /v1/runs
Source → Hermes eventA run should deliver elsewhereNamed route on :8644, provider-appropriate auth, configured delivery
Hermes → n8nAgent needs a deterministic n8n actionCustom authenticated n8n webhook/tool with schema and idempotency
Hermes MCP ↔ n8nAgent must inspect or operate n8n workflowsNous-reviewed catalog entry, installed explicitly with a minimal tool set

You do not need MCP and webhooks together. Current Hermes MCP documentation uses hermes mcp install n8n-official for a direct HTTP connection with browser OAuth. An n8n owner/admin enables instance-level MCP and supplies the full server URL ending /mcp-server/http. Review the exposed tools and n8n permissions because some can modify or execute workflows. This connection does not migrate the retired third-party n8n bridge; inspect any existing configuration separately. MCP management, API request/response and webhook event ingress are different contracts.

Two responsibility lanes show n8n holding ticket T-42, durable keys, validation, approval and the customer send, while a bearer-authenticated Hermes API performs read-only drafting; timeout leaves the ticket awaiting a result.
This illustrative API composition keeps durable state and customer writes in n8n. Hermes drafts with approved read-only tools; a timeout leaves one recovery owner and cannot authorise a duplicate reply. Open the full-size diagram.

A failed handoff should leave one owner

Illustrative case: n8n submits ticket T-42, the Hermes call times out, and no result is yet recorded. A retry is not permission to create a second customer reply. n8n keeps T-42 awaiting an agent result, checks the run when that API path supports it, and applies its durable recovery policy. If the draft arrives, schema and source checks precede the existing approval and connector path.

The decision is to keep customer writes in one system. A second runtime must not obtain independent send credentials just to make the diagram shorter. Document the request/response version, correlation ID, timeout, parked state and replay rule in the ownership record. A custom callback needs an implemented contract; a body field named callback_url does not create one.

Candidate rollout order to test

  1. Stabilize the n8n validation + logging path with stubs (no LLM).
  2. Add a bearer-authenticated Hermes API call with a draft-only skill, timeout handling, durable workflow idempotency, and response-schema validation.
  3. Compare Hermes drafts against human baselines for a fixed sample. Twenty varied tickets can be a useful smoke test and may expose obvious failures, but it is not enough to establish a production error rate.
  4. Gate writes through n8n approvals.
  5. Only then add Hermes memory depth, extra skills, and messaging gateways.

Compare the proposed Hermes step with the existing n8n node or direct model call using the same permitted inputs and review criteria. Keep the simpler path if source quality, correction work or operational recovery do not improve. Use the handoff guide only after deciding whether returned content or separate event delivery is required.

Read next

Continue through the same learning path with the next practical articles.