← Back to LabDebora’s Lab / Publication

Before you publish an n8n agent, replay how its behaviour would change.

A live n8n-backed experiment for reviewing prompt, memory, model and tool changes against representative conversations.

Written from practice↓ Read the field note

An independent product exploration built on n8n: a pre-publish replay for understanding how changes to a governed agent affect its responses, approvals and actions.

The risky moment is before publish

An n8n agent can look valid on the canvas while a small change to its instructions, memory, model credential or tool policy materially changes what it says and does.

This prototype asks a focused question at that publishing moment: which representative conversations would end differently, and would the proposed agent gain any new external actions?

Replay behaviour, not just the graph

The published Relay workflow classifies intent and risk, retrieves approved policy, and then gives the agent a model, session-scoped memory and one constrained knowledge tool.

Each replay compares the current and proposed outcome. Differences are named as response changes, new tool calls, bypassed approval gates or failures, so a reviewer does not need to reverse-engineer the whole graph first.

Agentic execution needs deterministic guardrails

The agent can reason and propose an action, but deterministic n8n gates control what happens next. Missing policy is blocked, high-risk actions require human approval, and every demonstration write remains simulated.

The same published workflow now exposes two isolated, allowlisted release-control paths. One returns the real n8n execution ID, support fixtures and node trace; the other persists a pending approval in an n8n Data Table. Neither path calls production data or changes an external system.

Agent quality loop

Test the support agent before it ships.

Replay realistic customer conversations, inspect the agent’s trajectory and turn every failure into a reviewable quality signal.

Relay agent reviewGoverned AI Support Agent
Published workflow · 9eARZ…50IV
Proposed change

CRM action

External write enabled, approval removed

Expected impact3 routes changed
Release recommendationNeeds approval

Approval required

The draft bypasses the human gate for a high-risk action. Relay should not publish this change without review.

understandClassify before reasoning
Chat TriggerSupport request
Classify request & riskIntent and risk
reasonGround the agent
Retrieve approved policyRestricted knowledge
Relay Support AgentModel · memory · tool
Act safelyLimit autonomy
High-risk action?Deterministic gate
Human approvalRequired for writes
Mocked safe actionNo external write
observeMake it auditable
Execution receiptDecision trace
Ready for a synthetic replay.
No customer data or external writes