feat(editor): Enable workflow execution from instance AI preview canvas (#28412)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mutasem Aldmour 2026-04-20 19:57:03 +02:00 committed by GitHub
parent 6cfa0ed559
commit 5b376cb12d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 3410 additions and 35 deletions

View file

@ -212,6 +212,10 @@ export const useRootStore = defineStore(STORES.ROOT, () => {
state.value.binaryDataMode = value;
};
const setPushRef = (value: string) => {
state.value.pushRef = value;
};
// #endregion
return {
@ -255,5 +259,6 @@ export const useRootStore = defineStore(STORES.ROOT, () => {
setN8nMetadata,
setDefaultLocale,
setBinaryDataMode,
setPushRef,
};
});

View file

@ -335,6 +335,47 @@ describe('WorkflowPreview', () => {
});
});
describe('canExecute prop', () => {
it('should include canExecute=true in iframe src when canExecute prop is true', () => {
const { container } = renderComponent({
pinia,
props: {
canExecute: true,
},
});
const iframe = container.querySelector('iframe');
expect(iframe?.getAttribute('src')).toContain('canExecute=true');
});
it('should not include canExecute param when canExecute prop is false', () => {
const { container } = renderComponent({
pinia,
props: {
canExecute: false,
},
});
const iframe = container.querySelector('iframe');
expect(iframe?.getAttribute('src')).not.toContain('canExecute');
});
it('should include both hideControls and canExecute when both are true', () => {
const { container } = renderComponent({
pinia,
props: {
hideControls: true,
canExecute: true,
},
});
const iframe = container.querySelector('iframe');
const src = iframe?.getAttribute('src') ?? '';
expect(src).toContain('hideControls=true');
expect(src).toContain('canExecute=true');
});
});
describe('ready event', () => {
it('should emit ready event when iframe sends n8nReady command', async () => {
const { emitted } = renderComponent({

View file

@ -22,6 +22,7 @@ const props = withDefaults(
focusOnLoad?: boolean;
hideControls?: boolean;
suppressNotifications?: boolean;
canExecute?: boolean;
}>(),
{
loading: false,
@ -36,6 +37,7 @@ const props = withDefaults(
focusOnLoad: true,
hideControls: false,
suppressNotifications: false,
canExecute: false,
},
);
@ -58,10 +60,15 @@ const scrollY = ref(0);
const iframeSrc = computed(() => {
const basePath = `${window.BASE_PATH ?? '/'}workflows/demo`;
const params = new URLSearchParams();
if (props.hideControls) {
return `${basePath}?hideControls=true`;
params.set('hideControls', 'true');
}
return basePath;
if (props.canExecute) {
params.set('canExecute', 'true');
}
const qs = params.toString();
return qs ? `${basePath}?${qs}` : basePath;
});
const showPreview = computed(() => {

View file

@ -72,11 +72,15 @@ vi.mock('@/features/execution/executions/executions.utils', async (importOrigina
};
});
const mockRoute = vi.hoisted(() => ({
name: 'workflow' as string,
query: {} as Record<string, string>,
}));
vi.mock('vue-router', async (importOriginal) => {
const actual = (await importOriginal()) as object;
return {
...actual,
useRoute: vi.fn(() => ({ name: 'workflow' })),
useRoute: vi.fn(() => mockRoute),
};
});
@ -93,6 +97,8 @@ describe('usePostMessageHandler', () => {
vi.clearAllMocks();
setActivePinia(createTestingPinia());
mockIsProductionExecutionPreview.value = false;
mockRoute.name = 'workflow';
mockRoute.query = {};
workflowState = createMockWorkflowState();
});
@ -185,6 +191,55 @@ describe('usePostMessageHandler', () => {
cleanup();
});
it('should override workflow id to "demo" on demo route when canExecute is not set', async () => {
mockRoute.name = 'WorkflowDemo';
const { setup, cleanup } = usePostMessageHandler({
workflowState,
currentWorkflowDocumentStore: shallowRef(null),
});
setup();
const workflow = { id: 'real-wf-id', nodes: [], connections: {} };
const messageEvent = new MessageEvent('message', {
data: JSON.stringify({ command: 'openWorkflow', workflow }),
});
window.dispatchEvent(messageEvent);
await vi.waitFor(() => {
expect(mockImportWorkflowExact).toHaveBeenCalledWith(
expect.objectContaining({ workflow: expect.objectContaining({ id: 'demo' }) }),
);
});
cleanup();
});
it('should preserve real workflow id on demo route when canExecute is true', async () => {
mockRoute.name = 'WorkflowDemo';
mockRoute.query = { canExecute: 'true' };
const { setup, cleanup } = usePostMessageHandler({
workflowState,
currentWorkflowDocumentStore: shallowRef(null),
});
setup();
const workflow = { id: 'real-wf-id', nodes: [], connections: {} };
const messageEvent = new MessageEvent('message', {
data: JSON.stringify({ command: 'openWorkflow', workflow }),
});
window.dispatchEvent(messageEvent);
await vi.waitFor(() => {
expect(mockImportWorkflowExact).toHaveBeenCalledWith(
expect.objectContaining({ workflow: expect.objectContaining({ id: 'real-wf-id' }) }),
);
});
cleanup();
});
it('should emit tidyUp event when tidyUp is true', async () => {
const { setup, cleanup } = usePostMessageHandler({
workflowState,
@ -346,6 +401,54 @@ describe('usePostMessageHandler', () => {
cleanup();
});
it('should always override workflow id to "demo" in iframe context', async () => {
mockRoute.query = { canExecute: 'true' };
// Simulate iframe context
const originalParent = Object.getOwnPropertyDescriptor(window, 'parent');
Object.defineProperty(window, 'parent', {
value: { postMessage: vi.fn() },
writable: true,
configurable: true,
});
const mockSetPinData = vi.fn();
const storeRef = shallowRef({ setPinData: mockSetPinData } as never);
const { setup, cleanup } = usePostMessageHandler({
workflowState,
currentWorkflowDocumentStore: storeRef,
});
setup();
const messageEvent = new MessageEvent('message', {
data: JSON.stringify({
command: 'openExecutionPreview',
workflow: {
id: 'real-wf-id',
nodes: [{ name: 'Node1' }],
connections: {},
},
nodeExecutionSchema: {},
executionStatus: 'success',
}),
});
window.dispatchEvent(messageEvent);
await vi.waitFor(() => {
expect(mockImportWorkflowExact).toHaveBeenCalledWith(
expect.objectContaining({
workflow: expect.objectContaining({ id: 'demo' }),
}),
);
});
cleanup();
if (originalParent) {
Object.defineProperty(window, 'parent', originalParent);
}
});
it('should throw if workflow has no nodes', async () => {
const { setup, cleanup } = usePostMessageHandler({
workflowState,

View file

@ -1,5 +1,7 @@
import { nextTick, type ShallowRef } from 'vue';
import { useI18n } from '@n8n/i18n';
import { useRoute } from 'vue-router';
import { VIEWS } from '@/app/constants';
import type { ExecutionStatus, ExecutionSummary } from 'n8n-workflow';
import { useToast } from '@/app/composables/useToast';
import { useCanvasOperations } from '@/app/composables/useCanvasOperations';
@ -45,6 +47,7 @@ export function usePostMessageHandler({
const telemetry = useTelemetry();
const nodeHelpers = useNodeHelpers();
const route = useRoute();
const workflowsStore = useWorkflowsStore();
const { resetWorkspace, openExecution, fitView } = useCanvasOperations();
const { importWorkflowExact } = useWorkflowImport(currentWorkflowDocumentStore);
@ -81,12 +84,24 @@ export function usePostMessageHandler({
if (json.projectId) {
await projectsStore.fetchAndSetProject(json.projectId);
}
// On the demo route, override the workflow ID to 'demo' so the page
// doesn't reference a real workflow — unless canExecute is enabled,
// in which case the real ID is needed for execution API calls.
if (route.name === VIEWS.DEMO && route.query.canExecute !== 'true') {
json.workflow.id = 'demo';
}
await importWorkflowExact(json);
// importWorkflowExact → resetWorkspace resets activeExecutionId to undefined,
// which causes the iframe to reject push execution events. Re-set to null so
// the iframe stays receptive to incoming execution push events.
if (window !== window.parent) {
// which causes the iframe to reject push execution events relayed from the
// parent. Re-set to null so the iframe stays receptive — but only when
// canExecute is disabled. When canExecute is enabled, leave it as undefined
// so the run button isn't disabled (isWorkflowRunning treats null as
// "execution starting"). The user-triggered execution flow will handle
// activeExecutionId itself.
if (window !== window.parent && route.query.canExecute !== 'true') {
workflowState.setActiveExecutionId(null);
}
@ -162,6 +177,12 @@ export function usePostMessageHandler({
throw new Error('Invalid workflow object');
}
// Execution previews always use 'demo' ID — they display pre-computed
// results and never need real execution API calls.
if (window !== window.parent) {
json.workflow.id = 'demo';
}
if (json.projectId) {
await projectsStore.fetchAndSetProject(json.projectId);
}

View file

@ -118,14 +118,16 @@ describe('useWorkflowImport', () => {
);
});
it('should use "demo" id on demo routes', async () => {
it('should pass through workflow id as-is on demo routes', async () => {
mockRoute.name = VIEWS.DEMO;
const storeRef = shallowRef(null);
const { importWorkflowExact } = useWorkflowImport(storeRef);
await importWorkflowExact({ workflow: createWorkflowData({ id: 'ignored-id' }) });
await importWorkflowExact({ workflow: createWorkflowData({ id: 'real-workflow-id' }) });
expect(mockInitializeWorkspace).toHaveBeenCalledWith(expect.objectContaining({ id: 'demo' }));
expect(mockInitializeWorkspace).toHaveBeenCalledWith(
expect.objectContaining({ id: 'real-workflow-id' }),
);
});
});

View file

@ -31,7 +31,6 @@ export function useWorkflowImport(
const { workflowDocumentStore } = await initializeWorkspace({
...workflowData,
id: isDemoRoute.value ? 'demo' : workflowData.id,
nodes: getNodesWithNormalizedPosition<INodeUi>(workflowData.nodes),
} as IWorkflowDb);

View file

@ -1,6 +1,6 @@
<script lang="ts" setup>
import { provide, onBeforeMount, onBeforeUnmount, onMounted } from 'vue';
import { useRouter } from 'vue-router';
import { computed, provide, onBeforeMount, onBeforeUnmount, onMounted } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import BaseLayout from './BaseLayout.vue';
import DemoFooter from '@/features/execution/logs/components/DemoFooter.vue';
import { WorkflowStateKey, WorkflowDocumentStoreKey } from '@/app/constants/injectionKeys';
@ -9,6 +9,20 @@ import { useWorkflowState } from '@/app/composables/useWorkflowState';
import { useWorkflowInitialization } from '@/app/composables/useWorkflowInitialization';
import { usePostMessageHandler } from '@/app/composables/usePostMessageHandler';
import { usePushConnection } from '@/app/composables/usePushConnection/usePushConnection';
import { usePushConnectionStore } from '@/app/stores/pushConnection.store';
import { useRootStore } from '@n8n/stores/useRootStore';
import { randomString } from 'n8n-workflow';
const route = useRoute();
const canExecute = computed(() => route.query.canExecute === 'true');
// The iframe shares sessionStorage with the parent page (same origin), so both
// get the same pushRef by default. This causes the backend to replace one
// push connection with the other. Generate a unique pushRef for this iframe
// so it can have its own independent push connection.
if (window !== window.parent) {
useRootStore().setPushRef(randomString(10).toLowerCase());
}
const workflowState = useWorkflowState();
provide(WorkflowStateKey, workflowState);
@ -29,12 +43,19 @@ const { setup: setupPostMessages, cleanup: cleanupPostMessages } = usePostMessag
// Initialize push event handlers so relayed execution events (via postMessage
// from the parent) are processed for node highlighting, execution state, etc.
// No pushConnect() the parent owns the WebSocket and relays events to us.
// When canExecute is enabled, the iframe also establishes its own WebSocket
// connection for user-triggered executions (pushConnect below).
const pushConnection = usePushConnection({ router: useRouter(), workflowState });
const pushConnectionStore = usePushConnectionStore();
// Set activeExecutionId to null (not undefined) eagerly so the iframe accepts
// incoming execution push events relayed from the parent via postMessage.
workflowState.setActiveExecutionId(null);
// When canExecute is disabled (read-only preview), set activeExecutionId to null
// so the iframe accepts incoming execution push events relayed from the parent
// via postMessage. When canExecute is enabled, leave it as undefined so the run
// button is not disabled the normal execution flow will set it to null when
// the user actually starts an execution.
if (!canExecute.value) {
workflowState.setActiveExecutionId(null);
}
onBeforeMount(() => {
setupPostMessages();
@ -43,9 +64,18 @@ onBeforeMount(() => {
onMounted(async () => {
await initializeData();
pushConnection.initialize();
// When canExecute is enabled, establish a real WebSocket/SSE connection
// so the iframe can trigger and receive its own execution events directly.
if (canExecute.value) {
pushConnectionStore.pushConnect();
}
});
onBeforeUnmount(() => {
if (canExecute.value) {
pushConnectionStore.pushDisconnect();
}
pushConnection.terminate();
cleanupPostMessages();
cleanupInitialization();

View file

@ -82,12 +82,12 @@ export const usePushConnectionStore = defineStore(STORES.PUSH, () => {
});
}
const url = getConnectionUrl();
const url = computed(() => getConnectionUrl());
const client = computed(() =>
useWebSockets.value
? useWebSocketClient({ url, onMessage })
: useEventSourceClient({ url, onMessage }),
? useWebSocketClient({ url: url.value, onMessage })
: useEventSourceClient({ url: url.value, onMessage }),
);
function serializeAndSend(message: unknown) {

View file

@ -4,4 +4,5 @@ export type NodeSettingsTab =
| 'communityNode'
| 'docs'
| 'action'
| 'credential';
| 'credential'
| 'output';

View file

@ -301,7 +301,9 @@ const isCanvasReadOnly = computed(() => {
});
const canExecuteOnCanvas = computed(() => {
if (isDemoRoute.value) return false;
if (isDemoRoute.value) {
return route.query.canExecute === 'true';
}
if (editableWorkflow.value.isArchived) return false;
if (builderStore.streaming) return false;
return !!(workflowPermissions.value.execute ?? projectPermissions.value.workflow.execute);
@ -1782,6 +1784,7 @@ onBeforeUnmount(() => {
:show-fallback-nodes="showFallbackNodes"
:event-bus="canvasEventBus"
:read-only="isCanvasReadOnly"
:can-execute="canExecuteOnCanvas"
:executing="isWorkflowRunning"
:key-bindings="keyBindingsEnabled"
:suppress-interaction="experimentalNdvStore.isMapperOpen"

View file

@ -190,6 +190,7 @@ defineExpose({ relayPushEvent });
:workflow="workflow"
:execution-id="props.executionId ?? undefined"
:can-open-ndv="true"
:can-execute="true"
:hide-controls="false"
:suppress-notifications="true"
loader-type="spinner"

View file

@ -2,11 +2,14 @@
import LogsPanel from '@/features/execution/logs/components/LogsPanel.vue';
import { useWorkflowsStore } from '@/app/stores/workflows.store';
import { computed } from 'vue';
import { useRoute } from 'vue-router';
const route = useRoute();
const workflowsStore = useWorkflowsStore();
const hasExecutionData = computed(() => workflowsStore.workflowExecutionData);
const canExecute = computed(() => route.query.canExecute === 'true');
</script>
<template>
<LogsPanel v-if="hasExecutionData" :is-read-only="true" />
<LogsPanel v-if="hasExecutionData || canExecute" :is-read-only="!canExecute" />
</template>

View file

@ -11,6 +11,11 @@ import type { INode } from 'n8n-workflow';
import * as useRunWorkflowModule from '@/app/composables/useRunWorkflow';
vi.mock('@/app/composables/useRunWorkflow');
vi.mock('@/app/stores/pushConnection.store', () => ({
usePushConnectionStore: vi.fn(() => ({
isConnected: true,
})),
}));
vi.mock('@/app/composables/useWorkflowHelpers', async (importOriginal) => {
const actual: Record<string, unknown> = await importOriginal();
return {

View file

@ -16,6 +16,7 @@ import type { ComputedRef, Ref } from 'vue';
import { computed, ref, toValue, watch } from 'vue';
import { useRouter } from 'vue-router';
import { useLogsStore } from '@/app/stores/logs.store';
import { usePushConnectionStore } from '@/app/stores/pushConnection.store';
import { restoreChatHistory } from '@/features/execution/logs/logs.utils';
import { type INode, type INodeParameters, NodeHelpers } from 'n8n-workflow';
import { isChatNode } from '@/app/utils/aiUtils';
@ -58,6 +59,7 @@ export function useChatState(
const router = useRouter();
const nodeHelpers = useNodeHelpers();
const nodeTypesStore = useNodeTypesStore();
const pushConnectionStore = usePushConnectionStore();
const { runWorkflow } = useRunWorkflow({ router });
const webhookRegistered = ref(false);
@ -176,6 +178,30 @@ export function useChatState(
isRegistering.value = true;
try {
// Wait for the push connection — webhook registration and execution
// events require it. In preview iframes the WebSocket handshake may
// still be in progress when the first message is sent.
if (!pushConnectionStore.isConnected) {
await new Promise<void>((resolve, reject) => {
let stop = () => {};
const timeout = setTimeout(() => {
stop();
reject(new Error('Push connection timeout'));
}, 10_000);
stop = watch(
() => pushConnectionStore.isConnected,
(connected) => {
if (connected) {
clearTimeout(timeout);
stop();
resolve();
}
},
{ immediate: true },
);
});
}
// Clear any existing execution to allow fresh webhook registration
workflowState.setWorkflowExecutionData(null);
workflowState.setActiveExecutionId(undefined);
@ -197,7 +223,11 @@ export function useChatState(
workflowsStore.chatPartialExecutionDestinationNode = null;
}
await runWorkflow(runWorkflowOptions);
const response = await runWorkflow(runWorkflowOptions);
if (!response) {
throw new Error('Failed to register chat webhook');
}
webhookRegistered.value = true;
} finally {

View file

@ -148,7 +148,13 @@ if (props.isEmbeddedInCanvas) {
}
const nodeValid = ref(true);
const openPanel = ref<NodeSettingsTab>('params');
const initialNode = props.activeNode ?? ndvStore.activeNode;
const initialHasExecutionData =
!!initialNode && !!workflowsStore.getWorkflowRunData?.[initialNode.name]?.length;
const openPanel = ref<NodeSettingsTab>(
props.readOnly && initialHasExecutionData ? 'output' : 'params',
);
// Used to prevent nodeValues from being overwritten by defaults on reopening ndv
const nodeValuesInitialized = ref(false);
@ -575,8 +581,16 @@ const onFeatureRequestClick = () => {
}
};
watch(node, () => {
watch(node, (newNode, oldNode) => {
setNodeValues();
// When the active node changes in a read-only view, re-evaluate which
// tab to open so nodes with execution data land on 'output' by default.
if (newNode?.name !== oldNode?.name && props.readOnly) {
const hasExecutionData =
!!newNode && !!workflowsStore.getWorkflowRunData?.[newNode.name]?.length;
openPanel.value = hasExecutionData ? 'output' : 'params';
}
});
onMounted(async () => {

View file

@ -141,6 +141,7 @@ const props = withDefaults(
controlsPosition?: PanelPosition;
eventBus?: EventBus<CanvasEventBusEvents>;
readOnly?: boolean;
canExecute?: boolean;
executing?: boolean;
keyBindings?: boolean;
loading?: boolean;
@ -155,6 +156,7 @@ const props = withDefaults(
controlsPosition: PanelPosition.BottomLeft,
eventBus: () => createEventBus(),
readOnly: false,
canExecute: false,
executing: false,
keyBindings: true,
loading: false,
@ -359,6 +361,9 @@ const keyMap = computed(() => {
z: onToggleZoomMode,
};
if (props.readOnly && props.canExecute) {
return { ...readOnlyKeymap, ctrl_enter: () => emit('run:workflow') };
}
if (props.readOnly) return readOnlyKeymap;
const fullKeymap: KeyMap = {
@ -1123,6 +1128,7 @@ defineExpose({
v-bind="nodeProps"
:data="nodeDataById[nodeProps.id]"
:read-only="readOnly"
:can-execute="canExecute"
:event-bus="eventBus"
:hovered="nodesHoveredById[nodeProps.id]"
:nearby-hovered="nodeProps.id === hoveredTriggerNode.id.value"

View file

@ -25,6 +25,7 @@ const props = withDefaults(
showFallbackNodes?: boolean;
eventBus?: EventBus<CanvasEventBusEvents>;
readOnly?: boolean;
canExecute?: boolean;
executing?: boolean;
suppressInteraction?: boolean;
initialViewport?: ViewportTransform | null;
@ -154,6 +155,7 @@ defineExpose({
:connections="executing ? mappedConnectionsThrottled : mappedConnections"
:event-bus="eventBus"
:read-only="readOnly"
:can-execute="canExecute"
:executing="executing"
:suppress-interaction="suppressInteraction"
:initial-viewport="initialViewport"

View file

@ -135,6 +135,23 @@ describe('CanvasRunWorkflowButton', () => {
expect(menuItems[3]).toHaveTextContent('from A');
});
it('should show keyboard shortcut tooltip when disabled', async () => {
const wrapper = renderComponent({
props: {
disabled: true,
triggerNodes: [createTestNode({ type: MANUAL_TRIGGER_NODE_TYPE })],
},
});
const button = wrapper.getByRole('button');
expect(button).toBeDisabled();
// Should show the keyboard shortcut tooltip, not a disabled reason
await hoverTooltipTrigger(button);
await new Promise((r) => setTimeout(r, 600));
await waitFor(() => expect(getTooltip()).toHaveTextContent('Execute workflow'));
});
it('should allow to select and execute a different trigger', async () => {
const wrapper = renderComponent({
props: {

View file

@ -38,6 +38,7 @@ import { CONFIGURATION_NODE_RADIUS, GRID_SIZE } from '@/app/utils/nodeViewUtils'
type Props = NodeProps<CanvasNodeData> & {
readOnly?: boolean;
canExecute?: boolean;
eventBus?: EventBus<CanvasEventBusEvents>;
hovered?: boolean;
nearbyHovered?: boolean;
@ -412,6 +413,7 @@ onBeforeUnmount(() => {
v-else-if="hasToolbar"
data-test-id="canvas-node-toolbar"
:read-only="readOnly"
:can-execute="canExecute"
:class="$style.canvasNodeToolbar"
:show-status-icons="isExperimentalNdvActive"
:items-class="$style.canvasNodeToolbarItems"

View file

@ -186,6 +186,67 @@ describe('CanvasNodeToolbar', () => {
expect(emitted('update')[0]).toEqual([{ color: 1 }]);
});
it('should show execute button when readOnly is true and canExecute is true', () => {
const { getByTestId } = renderComponent({
pinia,
props: {
readOnly: true,
canExecute: true,
showStatusIcons: false,
itemsClass: '',
},
global: {
provide: {
...createCanvasNodeProvide(),
...createCanvasProvide(),
},
},
});
expect(getByTestId('execute-node-button')).toBeInTheDocument();
});
it('should hide execute button when readOnly is true and canExecute is false', () => {
const { queryByTestId } = renderComponent({
pinia,
props: {
readOnly: true,
canExecute: false,
showStatusIcons: false,
itemsClass: '',
},
global: {
provide: {
...createCanvasNodeProvide(),
...createCanvasProvide(),
},
},
});
expect(queryByTestId('execute-node-button')).not.toBeInTheDocument();
});
it('should hide delete and disable buttons when readOnly is true regardless of canExecute', () => {
const { queryByTestId } = renderComponent({
pinia,
props: {
readOnly: true,
canExecute: true,
showStatusIcons: false,
itemsClass: '',
},
global: {
provide: {
...createCanvasNodeProvide(),
...createCanvasProvide(),
},
},
});
expect(queryByTestId('delete-node-button')).not.toBeInTheDocument();
expect(queryByTestId('disable-node-button')).not.toBeInTheDocument();
});
it('should have "forceVisible" class when hovered', async () => {
const { getByTestId } = renderComponent({
pinia,

View file

@ -23,11 +23,17 @@ const emit = defineEmits<{
'add:ai': [id: string];
}>();
const props = defineProps<{
readOnly?: boolean;
showStatusIcons: boolean;
itemsClass: string;
}>();
const props = withDefaults(
defineProps<{
readOnly?: boolean;
canExecute?: boolean;
showStatusIcons: boolean;
itemsClass: string;
}>(),
{
canExecute: false,
},
);
const $style = useCssModule();
const i18n = useI18n();
@ -61,7 +67,7 @@ const classes = computed(() => ({
const isExecuteNodeVisible = computed(() => {
return (
!props.readOnly &&
(!props.readOnly || props.canExecute) &&
render.value.type === CanvasNodeRenderType.Default &&
'configuration' in render.value.options &&
(!render.value.options.configuration || isToolNode.value)

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1445"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=9TANiINu4KlgXWACXzyQIsKsCDT6FPGI0k6hG_hd.yk-1776069557.5700831-1.0.1.1-XO1EW.e.io.6F2z_bPBnZ_HF7AeeUXv50qAeup3Ftls; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1449"],
"request-id": ["req_011Ca1UAJqiEoB4oicZauVjc"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:19 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928cec8efe516-TXL"]
},
"cookies": {
"_cfuvid": "9TANiINu4KlgXWACXzyQIsKsCDT6FPGI0k6hG_hd.yk-1776069557.5700831-1.0.1.1-XO1EW.e.io.6F2z_bPBnZ_HF7AeeUXv50qAeup3Ftls"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01DccTeDtBHA4fnMpo4CRQP7\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":565,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your workflow with a Manual Trigger connected to a Set node called \\\"re-run test\\\" now!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":565,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens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QiOiJCdWlsZGluZyJ9ICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX2RlbHRhCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfZGVsdGEiLCJpbmRleCI6MCwiZGVsdGEiOnsidHlwZSI6InRleHRfZGVsdGEiLCJ0ZXh0IjoiIHlvdXIgd29ya2Zsb3cgd2l0aCBhIE1hbnVhbCBUcmlnZ2VyIGNvbm5lY3RlZCB0byBhIFNldCBub2RlIGNhbGxlZCBcInJlLXJ1biB0ZXN0XCIgbm93ISJ9ICAgICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0b3AKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19zdG9wIiwiaW5kZXgiOjAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU2NSwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsIm91dHB1dF90b2tlbnMiOjI1fSAgICAgICAgIH0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICAgfQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601652-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,87 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["953"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=uMyXO3w4nxHtF7X8Gu4T4045OnhfW85aazvFgy4S2Sc-1776069559.8836298-1.0.1.1-23l7mzfmUeB2zTOw07qEorluoVVl6fbaiJaZdFIkufw; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=956"],
"request-id": ["req_011Ca1UAUh3gZwgdjP9trwnv"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:20 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb928dd4bb06e5c-TXL"]
},
"cookies": {
"_cfuvid": "uMyXO3w4nxHtF7X8Gu4T4045OnhfW85aazvFgy4S2Sc-1776069559.8836298-1.0.1.1-23l7mzfmUeB2zTOw07qEorluoVVl6fbaiJaZdFIkufw"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_01AeN1r2Nfz3VHszwy1kYhFr",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build simple workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 116,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 12,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDFBZU4xcjJOZnozVkhzend5MWtZaEZyIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgc2ltcGxlIHdvcmtmbG93IHdpdGggbWFudWFsIHRyaWdnZXIgYW5kIFNldCBub2RlIn1dLCJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjExNiwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfY3JlYXRpb24iOnsiZXBoZW1lcmFsXzVtX2lucHV0X3Rva2VucyI6MCwiZXBoZW1lcmFsXzFoX2lucHV0X3Rva2VucyI6MH0sIm91dHB1dF90b2tlbnMiOjEyLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0="
}
},
"id": "1776069601653-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are an expert n8n workflow builder. You generate com",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1734"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=jumUv9GkGnpXJEPjD_F0WpBWaBQr0CKfDRcic3NQPRY-1776069563.6951046-1.0.1.1-kQKSUDcaQ16qadxXBTzCM5M5SaFrguQ_cvnFMdxY_M0; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1737"],
"request-id": ["req_011Ca1UAmFDD5rvHUeGspQ5u"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-tokens-remaining": ["26974000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22474000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:25 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928f51d58e50b-TXL"]
},
"cookies": {
"_cfuvid": "jumUv9GkGnpXJEPjD_F0WpBWaBQr0CKfDRcic3NQPRY-1776069563.6951046-1.0.1.1-kQKSUDcaQ16qadxXBTzCM5M5SaFrguQ_cvnFMdxY_M0"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01GJGcErLKYZfwVHmbcioPAP\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":690,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Done\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" — the workflow is ready with a Manual Trigger connected to the \\\"re-run test\\\" Set node.\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":690,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"output_tokens\":26} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\"}\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxR0pHY0Vy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cgaXMgcmVhZHkgd2l0aCBhIE1hbnVhbCBUcmlnZ2VyIGNvbm5lY3RlZCB0byB0aGUgXCJyZS1ydW4gdGVzdFwiIFNldCBub2RlLiJ9ICAgICAgICB9CgpldmVudDogY29udGVudF9ibG9ja19zdG9wCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RvcCIsImluZGV4IjowICAgICB9CgpldmVudDogbWVzc2FnZV9kZWx0YQpkYXRhOiB7InR5cGUiOiJtZXNzYWdlX2RlbHRhIiwiZGVsdGEiOnsic3RvcF9yZWFzb24iOiJlbmRfdHVybiIsInN0b3Bfc2VxdWVuY2UiOm51bGwsInN0b3BfZGV0YWlscyI6bnVsbH0sInVzYWdlIjp7ImlucHV0X3Rva2VucyI6NjkwLCJjYWNoZV9jcmVhdGlvbl9pbnB1dF90b2tlbnMiOjAsImNhY2hlX3JlYWRfaW5wdXRfdG9rZW5zIjoxNjg3Niwib3V0cHV0X3Rva2VucyI6MjZ9ICAgfQoKZXZlbnQ6IG1lc3NhZ2Vfc3RvcApkYXRhOiB7InR5cGUiOiJtZXNzYWdlX3N0b3AifQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601656-unknown-host-POST-_v1_messages-4d1c93f7.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["3596"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=.Sqc76plqzLD.23uq05eARBETAJHDRIGXULbbJD_MEU-1776069568.7689385-1.0.1.1-BWbn8ZoTheRehH8KZl9F_9VOdKlh3MIjZTvCMuB2F7k; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=3609"],
"request-id": ["req_011Ca1UB8txRzERGaXP7696y"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-tokens-remaining": ["26976000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:29Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22476000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:32 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb92914cf78e504-TXL"]
},
"cookies": {
"_cfuvid": ".Sqc76plqzLD.23uq05eARBETAJHDRIGXULbbJD_MEU-1776069568.7689385-1.0.1.1-BWbn8ZoTheRehH8KZl9F_9VOdKlh3MIjZTvCMuB2F7k"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01GqtBjYT2xtiUqPwmG5ZMJX\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":732,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":12653,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"The\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" workflow is ready! It has a **Manual Trigger** connected to a **Set node** named \\\"re-run test\\\". \\n\\nWould\"}}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" you like to test it or make any changes?\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":732,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"output_tokens\":43} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxR3F0QmpZVDJ4dGlVcVB3bUc1Wk1KWCIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjczMiwiY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ZSI6InRleHRfZGVsdGEiLCJ0ZXh0IjoiIHlvdSBsaWtlIHRvIHRlc3QgaXQgb3IgbWFrZSBhbnkgY2hhbmdlcz8ifSAgICAgICAgICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0b3AKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19zdG9wIiwiaW5kZXgiOjAgICAgICAgICB9CgpldmVudDogbWVzc2FnZV9kZWx0YQpkYXRhOiB7InR5cGUiOiJtZXNzYWdlX2RlbHRhIiwiZGVsdGEiOnsic3RvcF9yZWFzb24iOiJlbmRfdHVybiIsInN0b3Bfc2VxdWVuY2UiOm51bGwsInN0b3BfZGV0YWlscyI6bnVsbH0sInVzYWdlIjp7ImlucHV0X3Rva2VucyI6NzMyLCJjYWNoZV9jcmVhdGlvbl9pbnB1dF90b2tlbnMiOjEyNjUzLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MCwib3V0cHV0X3Rva2VucyI6NDN9ICB9CgpldmVudDogbWVzc2FnZV9zdG9wCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2Vfc3RvcCIgIH0KCg==",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601668-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,4 @@
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:07.457Z"}
{"kind":"tool-call","stepId":1,"agentRole":"orchestrator","toolName":"build-workflow-with-agent","input":{"task":"Build a simple workflow with a Manual Trigger node connected to a Set node named \"re-run test\". The Set node doesn't need any specific fields configured — just the name.","conversationContext":"User wants a simple workflow: Manual Trigger → Set node named \"re-run test\"."},"output":{"result":"Workflow build started (task: build-ao_qOE2h). Reply with one short sentence — e.g. name what's being built. Do NOT summarize the plan or list details.","taskId":"build-ao_qOE2h"}}
{"kind":"tool-call","stepId":2,"agentRole":"workflow-builder","toolName":"build-workflow","input":{"code":"\nimport { workflow, node, trigger, newCredential, expr } from '@n8n/workflow-sdk';\n\nconst manualTrigger = trigger({\n type: 'n8n-nodes-base.manualTrigger',\n version: 1,\n config: { name: 'When clicking \"Test workflow\"' }\n});\n\nconst setNode = node({\n type: 'n8n-nodes-base.set',\n version: 3.4,\n config: {\n name: 're-run test',\n parameters: {\n assignments: { assignments: [] },\n options: {}\n }\n }\n});\n\nexport default workflow('re-run-test', 're-run test')\n .add(manualTrigger)\n .to(setNode);\n","name":"re-run test"},"output":{"success":true,"workflowId":"2RsNNT31Ww0FD3vf"}}
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:26.689Z"}

View file

@ -0,0 +1,87 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1702"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=.y7zyvVlTGKLGGdRloXGaKTJv_TdOfSJ2weEqJR4I_U-1776069651.5247436-1.0.1.1-h9ID_FdX4qf6OiD00.uMhrHg02CPiSUVYBxHKBwSNRY; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1704"],
"request-id": ["req_011Ca1UHEUyFsWEatb2edCwg"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:40:53Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:40:51Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:40:53Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:40:53Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:40:53 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb92b1a0c38c760-TXL"]
},
"cookies": {
"_cfuvid": ".y7zyvVlTGKLGGdRloXGaKTJv_TdOfSJ2weEqJR4I_U-1776069651.5247436-1.0.1.1-h9ID_FdX4qf6OiD00.uMhrHg02CPiSUVYBxHKBwSNRY"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_01DYRxS2jafFvPZ9D75bG7sV",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 116,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 11,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDFEWVJ4UzJqYWZGdlBaOUQ3NWJHN3NWIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgd29ya2Zsb3cgd2l0aCBtYW51YWwgdHJpZ2dlciBhbmQgU2V0IG5vZGUifV0sInN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGwsInVzYWdlIjp7ImlucHV0X3Rva2VucyI6MTE2LCJjYWNoZV9jcmVhdGlvbl9pbnB1dF90b2tlbnMiOjAsImNhY2hlX3JlYWRfaW5wdXRfdG9rZW5zIjowLCJjYWNoZV9jcmVhdGlvbiI6eyJlcGhlbWVyYWxfNW1faW5wdXRfdG9rZW5zIjowLCJlcGhlbWVyYWxfMWhfaW5wdXRfdG9rZW5zIjowfSwib3V0cHV0X3Rva2VucyI6MTEsInNlcnZpY2VfdGllciI6InN0YW5kYXJkIiwiaW5mZXJlbmNlX2dlbyI6Imdsb2JhbCJ9fQ=="
}
},
"id": "1776069657469-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,61 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["855"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=H6DxUD_3DiH9aN0BdiHLJfyd8luvbbpKYDFburkIhUY-1776069650.0681944-1.0.1.1-yBz_K8Kcq6FyDiXig_riqAHR0orDs_vduSK828RYhIc; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=857"],
"request-id": ["req_011Ca1UH8LdcffCz6ps67f8a"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:40:50Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:40:50Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:40:50Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:40:50Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:40:51 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb92b10eff1e52a-TXL"]
},
"cookies": {
"_cfuvid": "H6DxUD_3DiH9aN0BdiHLJfyd8luvbbpKYDFburkIhUY-1776069650.0681944-1.0.1.1-yBz_K8Kcq6FyDiXig_riqAHR0orDs_vduSK828RYhIc"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01DYMREMwppb4GxwvdNG3YHp\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":581,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"}}\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your \\\"preview auto-open test\\\" workflow now!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":581,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":15}}\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxRFlNUkVNd3BwYjRHeHd2ZE5HM1lIcCIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU4MSwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB9LCJvdXRwdXRfdG9rZW5zIjoxLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0gICAgICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0YXJ0CmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RhcnQiLCJpbmRleCI6MCwiY29udGVudF9ibG9jayI6eyJ0eXBlIjoidGV4dCIsInRleHQiOiIifX0KCmV2ZW50OiBwaW5nCmRhdGE6IHsidHlwZSI6ICJwaW5nIn0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX2RlbHRhCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfZGVsdGEiLCJpbmRleCI6MCwiZGVsdGEiOnsidHlwZSI6InRleHRfZGVsdGEiLCJ0ZXh0IjoiQnVpbGRpbmcifSB9CgpldmVudDogY29udGVudF9ibG9ja19kZWx0YQpkYXRhOiB7InR5cGUiOiJjb250ZW50X2Jsb2NrX2RlbHRhIiwiaW5kZXgiOjAsImRlbHRhIjp7InR5cGUiOiJ0ZXh0X2RlbHRhIiwidGV4dCI6IiB5b3VyIFwicHJldmlldyBhdXRvLW9wZW4gdGVzdFwiIHdvcmtmbG93IG5vdyEifSAgICAgICAgICB9CgpldmVudDogY29udGVudF9ibG9ja19zdG9wCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RvcCIsImluZGV4IjowICAgICAgICAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU4MSwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsIm91dHB1dF90b2tlbnMiOjE1fX0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICAgICAgIH0KCg==",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069657469-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1633"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=JmTf2n7v89OTEF1Qf8X5IyOiUvYy_1ftE5q5gvxt_GU-1776069649.0433874-1.0.1.1-LK5DCiXVqldXkR2Ti3KiW5CPkffAsYMzGLqfMzKBLpE; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1637"],
"request-id": ["req_011Ca1UH4FpSH3RDYgmK4FwG"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:40:49Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:40:49Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:40:49Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:40:49Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:40:50 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb92b0a8f839227-TXL"]
},
"cookies": {
"_cfuvid": "JmTf2n7v89OTEF1Qf8X5IyOiUvYy_1ftE5q5gvxt_GU-1776069649.0433874-1.0.1.1-LK5DCiXVqldXkR2Ti3KiW5CPkffAsYMzGLqfMzKBLpE"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_019RHisozftPsJ69iqLmAERb\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":574,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your \\\"close preview test\\\" workflow now!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":574,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":13}}\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc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RlbHRhIjp7InR5cGUiOiJ0ZXh0X2RlbHRhIiwidGV4dCI6IiB5b3VyIFwiY2xvc2UgcHJldmlldyB0ZXN0XCIgd29ya2Zsb3cgbm93ISJ9ICAgICB9CgpldmVudDogY29udGVudF9ibG9ja19zdG9wCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RvcCIsImluZGV4IjowICAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU3NCwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsIm91dHB1dF90b2tlbnMiOjEzfX0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICAgICB9Cgo=",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069656718-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,86 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["812"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=Z0CcVNjZ3DVABChLHTxCm0WThjHDMzDIu762T9xygTQ-1776069651.4544995-1.0.1.1-UGrCAJatHMjK8.sPl5BghaCEYxOZbve899aQiPP4uTY; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=814"],
"request-id": ["req_011Ca1UHEEbTxAMrnAmtgwum"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:40:52Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:40:51Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:40:52Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:40:52Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:40:52 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb92b199e42e52d-TXL"]
},
"cookies": {
"_cfuvid": "Z0CcVNjZ3DVABChLHTxCm0WThjHDMzDIu762T9xygTQ-1776069651.4544995-1.0.1.1-UGrCAJatHMjK8.sPl5BghaCEYxOZbve899aQiPP4uTY"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_01UsRTvwX2x1rVX4NKMx3w8J",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build simple workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 114,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 12,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDFVc1JUdndYMngxclZYNE5LTXgzdzhKIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgc2ltcGxlIHdvcmtmbG93IHdpdGggbWFudWFsIHRyaWdnZXIgYW5kIFNldCBub2RlIn1dLCJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjExNCwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfY3JlYXRpb24iOnsiZXBoZW1lcmFsXzVtX2lucHV0X3Rva2VucyI6MCwiZXBoZW1lcmFsXzFoX2lucHV0X3Rva2VucyI6MH0sIm91dHB1dF90b2tlbnMiOjEyLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0="
}
},
"id": "1776069656719-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are an expert n8n workflow builder. You generate com",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["547"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=PhwA4ibJ9di_rvcsegjcmmFKK2ikfIzQH_WwGnmm2yo-1776069653.925112-1.0.1.1-RQMYpc9osOFps3ls0bRUhYP7jxRyQWMBNxPsMJEuYfk; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=549"],
"request-id": ["req_011Ca1UHQnMCsBJVAcaPNatk"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:40:54Z"],
"anthropic-ratelimit-tokens-remaining": ["26974000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:40:54Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:40:54Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:40:54Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22474000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:40:54 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb92b290f371b0a-TXL"]
},
"cookies": {
"_cfuvid": "PhwA4ibJ9di_rvcsegjcmmFKK2ikfIzQH_WwGnmm2yo-1776069653.925112-1.0.1.1-RQMYpc9osOFps3ls0bRUhYP7jxRyQWMBNxPsMJEuYfk"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01VRC45qKLKSisE1KBA8Ro7j\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":696,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"}}\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Done\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" — the workflow \\\"close preview test\\\" is ready with a manual trigger connected to a\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" Set node named \\\"close preview test\\\".\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":696,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"output_tokens\":29} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\"}\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxVlJDNDVxS0xLU2lzRTFLQkE4Um83aiIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3Rvc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RlbHRhIiwiaW5kZXgiOjAsImRlbHRhIjp7InR5cGUiOiJ0ZXh0X2RlbHRhIiwidGV4dCI6IiBTZXQgbm9kZSBuYW1lZCBcImNsb3NlIHByZXZpZXcgdGVzdFwiLiJ9ICB9CgpldmVudDogY29udGVudF9ibG9ja19zdG9wCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RvcCIsImluZGV4IjowICAgICAgICAgICAgIH0KCmV2ZW50OiBtZXNzYWdlX2RlbHRhCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2VfZGVsdGEiLCJkZWx0YSI6eyJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsfSwidXNhZ2UiOnsiaW5wdXRfdG9rZW5zIjo2OTYsImNhY2hlX2NyZWF0aW9uX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfcmVhZF9pbnB1dF90b2tlbnMiOjE2ODc2LCJvdXRwdXRfdG9rZW5zIjoyOX0gfQoKZXZlbnQ6IG1lc3NhZ2Vfc3RvcApkYXRhOiB7InR5cGUiOiJtZXNzYWdlX3N0b3AifQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069656721-unknown-host-POST-_v1_messages-4d1c93f7.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1169"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=_hrQnWk8lFK7nG06IvmxOp1r23Y.KX0ta0wzsZgKEEI-1776069648.1480336-1.0.1.1-uo42k4u3Vsf0XYLW5ggiYirvG79KuqW1UxW6esk2lMI; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1174"],
"request-id": ["req_011Ca1UGzCF1mH6rFGnHgTFD"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:40:48Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:40:48Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:40:48Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:40:48Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:40:49 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb92b04ede29227-TXL"]
},
"cookies": {
"_cfuvid": "_hrQnWk8lFK7nG06IvmxOp1r23Y.KX0ta0wzsZgKEEI-1776069648.1480336-1.0.1.1-uo42k4u3Vsf0XYLW5ggiYirvG79KuqW1UxW6esk2lMI"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_014xod8RZGK2nGoZvHbqw59N\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":544,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your workflow with a Manual Trigger connected to a Set node called \\\"canvas nodes test\\\"!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":544,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":23} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxNHhvZDhSWkdLMm5Hb1p2SGJxdzU5TiIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU0NCwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucH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ZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU0NCwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsIm91dHB1dF90b2tlbnMiOjIzfSAgICAgIH0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICAgICAgfQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069654958-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1061"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=QOKJSIRDPCVUSVNykHEa4hbzJe5mvOl1uPMr8ZqYn.0-1776069557.5793178-1.0.1.1-T0Yr8cWDRntBRqd6x8ccj9gTYRAbcJhDwTed4fA1bnc; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1064"],
"request-id": ["req_011Ca1UAJsCcwSKPXH82esLf"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:18 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928cedbc38131-TXL"]
},
"cookies": {
"_cfuvid": "QOKJSIRDPCVUSVNykHEa4hbzJe5mvOl1uPMr8ZqYn.0-1776069557.5793178-1.0.1.1-T0Yr8cWDRntBRqd6x8ccj9gTYRAbcJhDwTed4fA1bnc"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_013eej7RKQ9L3H3DTnaMx7Ko\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":569,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your workflow with a Manual Trigger connected to a Set node called **\\\"node execution test\\\"** now\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":569,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":26} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxM2VlajdSS1E5TDNIM0RUbmFNeDdLbyIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU2OSwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB9LCJvdXRwdXRfdG9rZW5zIjoxLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iO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0b3Bfc2VxdWVuY2UiOm51bGwsInN0b3BfZGV0YWlscyI6bnVsbH0sInVzYWdlIjp7ImlucHV0X3Rva2VucyI6NTY5LCJjYWNoZV9jcmVhdGlvbl9pbnB1dF90b2tlbnMiOjAsImNhY2hlX3JlYWRfaW5wdXRfdG9rZW5zIjoxMjY1Mywib3V0cHV0X3Rva2VucyI6MjZ9ICAgICB9CgpldmVudDogbWVzc2FnZV9zdG9wCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2Vfc3RvcCIgICB9Cgo=",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601579-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,86 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["809"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=26D7Z4LiYkzDE4d6flpVBaRieFjK2sSjqGuGkhebmwc-1776069559.5118701-1.0.1.1-IdvvGhkyjZQYLlwbE7X6r550LVR4jp5ZG688.rTjEOI; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=811"],
"request-id": ["req_011Ca1UATDFUYZV1BXTQ4nuH"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:20 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb928daf91ac637-TXL"]
},
"cookies": {
"_cfuvid": "26D7Z4LiYkzDE4d6flpVBaRieFjK2sSjqGuGkhebmwc-1776069559.5118701-1.0.1.1-IdvvGhkyjZQYLlwbE7X6r550LVR4jp5ZG688.rTjEOI"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_01Nc8X7biokNTUgotXQbfuLK",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build simple workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 115,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 12,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDFOYzhYN2Jpb2tOVFVnb3RYUWJmdUxLIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgc2ltcGxlIHdvcmtmbG93IHdpdGggbWFudWFsIHRyaWdnZXIgYW5kIFNldCBub2RlIn1dLCJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjExNSwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfY3JlYXRpb24iOnsiZXBoZW1lcmFsXzVtX2lucHV0X3Rva2VucyI6MCwiZXBoZW1lcmFsXzFoX2lucHV0X3Rva2VucyI6MH0sIm91dHB1dF90b2tlbnMiOjEyLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0="
}
},
"id": "1776069601581-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,61 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are an expert n8n workflow builder. You generate com",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1156"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=jRScQiEF9V3xiJVKcCIEx2gYgaLAjVjqWVNdqvDdB5c-1776069564.5118344-1.0.1.1-myHqeIS._XVxnLTZ1bkZp3tCF3qEIzBMX56DnBsiJ7Y; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1226"],
"request-id": ["req_011Ca1UApbsAfGi7b8qWHcRc"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-tokens-remaining": ["26974000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22474000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:25 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928fa38a9ac01-TXL"]
},
"cookies": {
"_cfuvid": "jRScQiEF9V3xiJVKcCIEx2gYgaLAjVjqWVNdqvDdB5c-1776069564.5118344-1.0.1.1-myHqeIS._XVxnLTZ1bkZp3tCF3qEIzBMX56DnBsiJ7Y"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01FyafZTMFvr1awN247LyRJU\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":692,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Done\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" — the workflow is ready with a Manual Trigger connected to a Set node named \\\"node execution test\\\"\"}}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" using default configuration.\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":692,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"output_tokens\":29} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxRnlhZlpUTUZ2cjFhd04yNDdMeVJKVSIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjY5MiwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTY4NzYsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB9LCJvdXRwdXRfdG9rZW5zIjoxLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0g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hc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjY5MiwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTY4NzYsIm91dHB1dF90b2tlbnMiOjI5fSAgICAgICAgICAgICAgfQoKZXZlbnQ6IG1lc3NhZ2Vfc3RvcApkYXRhOiB7InR5cGUiOiJtZXNzYWdlX3N0b3AiICB9Cgo=",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601584-unknown-host-POST-_v1_messages-4d1c93f7.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1734"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=v5ngmdIHQTaROEKShWt2hD5R67.QJMjzZV.534L7.yY-1776069567.961117-1.0.1.1-o0pIZIsz_GgVbjMA93Y8CnwvoH2.umN7_YtmSJ4e1PY; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1737"],
"request-id": ["req_011Ca1UB5GRG2rpcG2QBPNKr"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-tokens-remaining": ["26976000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:28Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22476000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:29 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb9290fcd4915ec-TXL"]
},
"cookies": {
"_cfuvid": "v5ngmdIHQTaROEKShWt2hD5R67.QJMjzZV.534L7.yY-1776069567.961117-1.0.1.1-o0pIZIsz_GgVbjMA93Y8CnwvoH2.umN7_YtmSJ4e1PY"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01LkhALgtSxKzym1r7cKGZWc\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":743,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":12653,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"The\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" workflow is ready! It has a **Manual Trigger** connected to a **\\\"node execution test\\\"** Set node with default configuration.\\n\\nWould you like to\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" test it or make any changes?\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":743,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"output_tokens\":44}}\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxTGtoQUxndFN4S3p5bTFyN2NLR1pXYyIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjc0MywiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjoxMjY1MywiY2FjaGVfcmVhZF9pbnB1dF90b2tlbnMiOjAsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjEyNjUzLCJlcGhlbWVyYWxfMWhfaW5wdXRfdG9rZW5zIjowfSwib3V0cHV0X3Rva2VucyI6MSwic2VydmljZV90aWVyIjoic3RhbmRhcmQiLCJpbmZlcmVuY2VfZ2VvIjoiZ2xvYm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lX2RlbHRhCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2VfZGVsdGEiLCJkZWx0YSI6eyJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsfSwidXNhZ2UiOnsiaW5wdXRfdG9rZW5zIjo3NDMsImNhY2hlX2NyZWF0aW9uX2lucHV0X3Rva2VucyI6MTI2NTMsImNhY2hlX3JlYWRfaW5wdXRfdG9rZW5zIjowLCJvdXRwdXRfdG9rZW5zIjo0NH19CgpldmVudDogbWVzc2FnZV9zdG9wCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2Vfc3RvcCIgICAgICAgICAgICAgfQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601585-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,4 @@
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:07.586Z"}
{"kind":"tool-call","stepId":1,"agentRole":"orchestrator","toolName":"build-workflow-with-agent","input":{"task":"Build a simple workflow with a Manual Trigger node connected to a Set node. The Set node should be named \"node execution test\". No specific fields need to be set in the Set node — just the default configuration is fine.","conversationContext":"User wants a simple workflow: Manual Trigger → Set node named \"node execution test\"."},"output":{"result":"Workflow build started (task: build-twaOsZ37). Reply with one short sentence — e.g. name what's being built. Do NOT summarize the plan or list details.","taskId":"build-twaOsZ37"}}
{"kind":"tool-call","stepId":2,"agentRole":"workflow-builder","toolName":"build-workflow","input":{"code":"\nimport { workflow, node, trigger } from '@n8n/workflow-sdk';\n\nconst manualTrigger = trigger({\n type: 'n8n-nodes-base.manualTrigger',\n version: 1,\n config: { name: 'Manual Trigger' }\n});\n\nconst setNode = node({\n type: 'n8n-nodes-base.set',\n version: 3.4,\n config: {\n name: 'node execution test',\n parameters: {\n assignments: { assignments: [] },\n options: {}\n }\n }\n});\n\nexport default workflow('manual-to-set', 'Manual Trigger to Set Node')\n .add(manualTrigger)\n .to(setNode);\n","name":"Manual Trigger to Set Node"},"output":{"success":true,"workflowId":"XSZxWGVsBUyJgeN4"}}
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:26.951Z"}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1050"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=bBNCJAsqCznlAR_TRS4xfsSLEalPTHt0DioU.lkQQWQ-1776069557.0788977-1.0.1.1-K1tAMdwE9VDovVXify21a7LWtUfXV.1hCxfectMOqto; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1052"],
"request-id": ["req_011Ca1UAGjiRCxKsBGGoAvcH"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:18 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928cbbb98e509-TXL"]
},
"cookies": {
"_cfuvid": "bBNCJAsqCznlAR_TRS4xfsSLEalPTHt0DioU.lkQQWQ-1776069557.0788977-1.0.1.1-K1tAMdwE9VDovVXify21a7LWtUfXV.1hCxfectMOqto"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_013gbThaNBTyoMfmWxxj1CPW\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":570,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your \\\"full execution test\\\" workflow now!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":570,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":13} }\n\nevent: message_stop\ndata: {\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NvbnRlbnRfYmxvY2tfZGVsdGEKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19kZWx0YSIsImluZGV4IjowLCJkZWx0YSI6eyJ0eXBlIjoidGV4dF9kZWx0YSIsInRleHQiOiIgeW91ciBcImZ1bGwgZXhlY3V0aW9uIHRlc3RcIiB3b3JrZmxvdyBub3chIn0gICAgICAgICAgICAgICB9CgpldmVudDogY29udGVudF9ibG9ja19zdG9wCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RvcCIsImluZGV4IjowICB9CgpldmVudDogbWVzc2FnZV9kZWx0YQpkYXRhOiB7InR5cGUiOiJtZXNzYWdlX2RlbHRhIiwiZGVsdGEiOnsic3RvcF9yZWFzb24iOiJlbmRfdHVybiIsInN0b3Bfc2VxdWVuY2UiOm51bGwsInN0b3BfZGV0YWlscyI6bnVsbH0sInVzYWdlIjp7ImlucHV0X3Rva2VucyI6NTcwLCJjYWNoZV9jcmVhdGlvbl9pbnB1dF90b2tlbnMiOjAsImNhY2hlX3JlYWRfaW5wdXRfdG9rZW5zIjoxMjY1Mywib3V0cHV0X3Rva2VucyI6MTN9ICAgICAgICAgIH0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICAgICB9Cgo=",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069600987-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,87 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1354"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=Pwx1Dvp6IPmJgk0UJ4LFkakej9xyXNuors76c1xlWfo-1776069558.8353035-1.0.1.1-sKt.rVz2YBtTLXUdHEmHEaKXECRXIg9UcsNs4nTNwPw; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1356"],
"request-id": ["req_011Ca1UAQCg4o7FEUZLbQro4"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:18Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:20 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb928d6b8f5e51b-TXL"]
},
"cookies": {
"_cfuvid": "Pwx1Dvp6IPmJgk0UJ4LFkakej9xyXNuors76c1xlWfo-1776069558.8353035-1.0.1.1-sKt.rVz2YBtTLXUdHEmHEaKXECRXIg9UcsNs4nTNwPw"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_019fU26jP7ifinXr34B15c3q",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build simple workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 115,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 12,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDE5ZlUyNmpQN2lmaW5YcjM0QjE1YzNxIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgc2ltcGxlIHdvcmtmbG93IHdpdGggbWFudWFsIHRyaWdnZXIgYW5kIFNldCBub2RlIn1dLCJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjExNSwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfY3JlYXRpb24iOnsiZXBoZW1lcmFsXzVtX2lucHV0X3Rva2VucyI6MCwiZXBoZW1lcmFsXzFoX2lucHV0X3Rva2VucyI6MH0sIm91dHB1dF90b2tlbnMiOjEyLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0="
}
},
"id": "1776069600989-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are an expert n8n workflow builder. You generate com",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1153"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=WSoC6AC4REYpay7ilvI4ra6uj7EcSQjbrOAY3KapiSg-1776069563.8521821-1.0.1.1-s8vCfqOpOs29AzAZXu1d1mPIA8P0HM4jCygI2XeFoQM; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1155"],
"request-id": ["req_011Ca1UAmgzo1hYxq4Lk8Xem"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:23Z"],
"anthropic-ratelimit-tokens-remaining": ["26974000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:23Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:23Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:24Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22474000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:25 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928f619d1e51b-TXL"]
},
"cookies": {
"_cfuvid": "WSoC6AC4REYpay7ilvI4ra6uj7EcSQjbrOAY3KapiSg-1776069563.8521821-1.0.1.1-s8vCfqOpOs29AzAZXu1d1mPIA8P0HM4jCygI2XeFoQM"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01EcU6hQyFM6TiKkJi7hnEA7\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":687,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}}}\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Done\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" — the workflow is ready with a Manual Trigger connected to the \\\"full execution test\\\" Set node (\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"no fields configured).\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":687,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"output_tokens\":29} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxRWNVNmhReUZNNlRpS2tKaTdobkVBN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GVkIHRvIHRoZSBcImZ1bGwgZXhlY3V0aW9uIHRlc3RcIiBTZXQgbm9kZSAoIn0gICAgICAgICAgICAgICB9CgpldmVudDogY29udGVudF9ibG9ja19kZWx0YQpkYXRhOiB7InR5cGUiOiJjb250ZW50X2Jsb2NrX2RlbHRhIiwiaW5kZXgiOjAsImRlbHRhIjp7InR5cGUiOiJ0ZXh0X2RlbHRhIiwidGV4dCI6Im5vIGZpZWxkcyBjb25maWd1cmVkKS4ifSAgICAgICB9CgpldmVudDogY29udGVudF9ibG9ja19zdG9wCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RvcCIsImluZGV4IjowICAgICAgICAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjY4NywiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTY4NzYsIm91dHB1dF90b2tlbnMiOjI5fSAgICAgIH0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICB9Cgo=",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069600992-unknown-host-POST-_v1_messages-4d1c93f7.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,61 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["2367"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=7HkrMO7TepnNT2kmiGgu90dyux9QSndojas7Nv.wkW8-1776069571.3854573-1.0.1.1-BM_4tDRIOv5lVdAz_yLX2199NOQpoY.g_YfURmtStfo; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=2369"],
"request-id": ["req_011Ca1UBKwUHmaP81bARUDym"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:31Z"],
"anthropic-ratelimit-tokens-remaining": ["26976000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:31Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:31Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:31Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22476000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:33 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb929252e38e567-TXL"]
},
"cookies": {
"_cfuvid": "7HkrMO7TepnNT2kmiGgu90dyux9QSndojas7Nv.wkW8-1776069571.3854573-1.0.1.1-BM_4tDRIOv5lVdAz_yLX2199NOQpoY.g_YfURmtStfo"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01Sj93iWdp1wjkJj5HocHYTQ\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":733,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":12653,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"The\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" workflow is ready! It has a **Manual Trigger** connected to the **\\\"full execution test\\\"** Set node. Would you like to test\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" it or make any changes?\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":733,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"output_tokens\":40} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxU2o5M2lXZHAxd2prSmo1SG9jSFlUUSIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGF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dFwiKiogU2V0IG5vZGUuIFdvdWxkIHlvdSBsaWtlIHRvIHRlc3QifSAgICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX2RlbHRhCmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfZGVsdGEiLCJpbmRleCI6MCwiZGVsdGEiOnsidHlwZSI6InRleHRfZGVsdGEiLCJ0ZXh0IjoiIGl0IG9yIG1ha2UgYW55IGNoYW5nZXM/In0gIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0b3AKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19zdG9wIiwiaW5kZXgiOjAgICAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjczMywiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjoxMjY1MywiY2FjaGVfcmVhZF9pbnB1dF90b2tlbnMiOjAsIm91dHB1dF90b2tlbnMiOjQwfSAgICAgICB9CgpldmVudDogbWVzc2FnZV9zdG9wCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2Vfc3RvcCIgICAgICAgICAgICAgfQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069601007-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,4 @@
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:07.730Z"}
{"kind":"tool-call","stepId":1,"agentRole":"orchestrator","toolName":"build-workflow-with-agent","input":{"task":"Build a simple workflow with a Manual Trigger node connected to a Set node. The Set node should be named \"full execution test\". No specific fields need to be set in the Set node — keep it simple.","conversationContext":"User wants a simple workflow: Manual Trigger → Set node named \"full execution test\"."},"output":{"result":"Workflow build started (task: build-BV1T4jtQ). Reply with one short sentence — e.g. name what's being built. Do NOT summarize the plan or list details.","taskId":"build-BV1T4jtQ"}}
{"kind":"tool-call","stepId":2,"agentRole":"workflow-builder","toolName":"build-workflow","input":{"code":"\nimport { workflow, node, trigger } from '@n8n/workflow-sdk';\n\nconst manualTrigger = trigger({\n type: 'n8n-nodes-base.manualTrigger',\n version: 1,\n config: { name: 'When clicking \"Test workflow\"' }\n});\n\nconst setNode = node({\n type: 'n8n-nodes-base.set',\n version: 3.4,\n config: {\n name: 'full execution test',\n parameters: {\n assignments: { assignments: [] },\n options: {}\n }\n }\n});\n\nexport default workflow('full-execution-test', 'Full Execution Test')\n .add(manualTrigger)\n .to(setNode);\n","name":"Full Execution Test"},"output":{"success":true,"workflowId":"n8x21Okwg0zjz9CO"}}
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:28.860Z"}

View file

@ -0,0 +1,87 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["706"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=bTVmyg7pnxxOnRCDEooTPy8jQsxqjyRxIMhCHY2h_XE-1776069558.6316395-1.0.1.1-.MORgKcZsBmnVUWKgQgLoO4dtygLYLcfZ3jpeAFd2Yw; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=707"],
"request-id": ["req_011Ca1UAPL6CPc9R75W5kLFQ"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:18Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:19 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb928d5787ae522-TXL"]
},
"cookies": {
"_cfuvid": "bTVmyg7pnxxOnRCDEooTPy8jQsxqjyRxIMhCHY2h_XE-1776069558.6316395-1.0.1.1-.MORgKcZsBmnVUWKgQgLoO4dtygLYLcfZ3jpeAFd2Yw"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_01F9zJH1Zx1rVnbXusqrAeAk",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build simple workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 116,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 12,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDFGOXpKSDFaeDFyVm5iWHVzcXJBZUFrIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgc2ltcGxlIHdvcmtmbG93IHdpdGggbWFudWFsIHRyaWdnZXIgYW5kIFNldCBub2RlIn1dLCJzdG9wX3JlYXNvbiI6ImVuZF90dXJuIiwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjExNiwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfY3JlYXRpb24iOnsiZXBoZW1lcmFsXzVtX2lucHV0X3Rva2VucyI6MCwiZXBoZW1lcmFsXzFoX2lucHV0X3Rva2VucyI6MH0sIm91dHB1dF90b2tlbnMiOjEyLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0="
}
},
"id": "1776069599161-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["651"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=N_mv9VeWPlbUv_5eAm3MdJnBztCB_cwVJszRENKQRAc-1776069557.04968-1.0.1.1-oe0SUdWD3SGHhp9FzmH_uXS7u3vGpcdWS3je_t.kzyg; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=654"],
"request-id": ["req_011Ca1UAGcGy6QptsqsBFPFt"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:17Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:17 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928cb8f218a82-TXL"]
},
"cookies": {
"_cfuvid": "N_mv9VeWPlbUv_5eAm3MdJnBztCB_cwVJszRENKQRAc-1776069557.04968-1.0.1.1-oe0SUdWD3SGHhp9FzmH_uXS7u3vGpcdWS3je_t.kzyg"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01NAAmFm5szmUsxdL4wqyoUw\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":560,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your workflow with a Manual Trigger connected to a Set node called \\\"ndv output test\\\"!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":560,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":24} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxTkFBbUZtNXN6bVVzeGRMNHdxeW9VdyIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU2MCwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB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siaW5wdXRfdG9rZW5zIjo1NjAsImNhY2hlX2NyZWF0aW9uX2lucHV0X3Rva2VucyI6MCwiY2FjaGVfcmVhZF9pbnB1dF90b2tlbnMiOjEyNjUzLCJvdXRwdXRfdG9rZW5zIjoyNH0gICB9CgpldmVudDogbWVzc2FnZV9zdG9wCmRhdGE6IHsidHlwZSI6Im1lc3NhZ2Vfc3RvcCIgICAgICAgfQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069599161-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,61 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are an expert n8n workflow builder. You generate com",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1160"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=1X4Ue_IMiznV5xzI6C4IBF.iI9m7I2UkwWw8nnMsuMk-1776069561.6840343-1.0.1.1-SnTpNiJc2AiWlP9Hn1y7E8qkOYjFQBpzxTDFY7yCi0A; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1173"],
"request-id": ["req_011Ca1UAcTNVaYv6bqvSTL3q"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-tokens-remaining": ["26974000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22474000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:22 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928e88c0f23ee-TXL"]
},
"cookies": {
"_cfuvid": "1X4Ue_IMiznV5xzI6C4IBF.iI9m7I2UkwWw8nnMsuMk-1776069561.6840343-1.0.1.1-SnTpNiJc2AiWlP9Hn1y7E8qkOYjFQBpzxTDFY7yCi0A"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_013mpRWZABuNBgZgXLbwCuzv\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":677,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Done\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" — the workflow is ready with a Manual Trigger connected to a Set node named \\\"ndv output test\\\".\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":677,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"output_tokens\":26} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxM21wUldaQUJ1TkJnWmdYTGJ3Q3V6diIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjY3NywiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTY4NzYsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB9LCJvdXRwdXRfdG9rZW5zIjoxLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0gICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0YXJ0CmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RhcnQiLCJpbmRleCI6MCwiY29udGVudF9ibG9jayI6eyJ0eXBlIjoidGV4dCIsInRleHQiOiIifSAgfQoKZXZlbnQ6IHBpbmcKZGF0YTogeyJ0eXBlIjogInBpbmcifQoKZXZlbnQ6IGNvbnRlbnRfYmxvY2tfZGVsdGEKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19kZWx0YSIsImluZGV4IjowLCJkZWx0YSI6eyJ0eXBlIjoidGV4dF9kZWx0YSIsInRleHQiOiJEb25lIn0gfQoKZXZlbnQ6IGNvbnRlbnRfYmxvY2tfZGVsdGEKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19kZWx0YSIsImluZGV4IjowLCJkZWx0YSI6eyJ0eXBlIjoidGV4dF9kZWx0YSIsInRleHQiOiIg4oCUIHRoZSB3b3JrZmxvdyBpcyByZWFkeSB3aXRoIGEgTWFudWFsIFRyaWdnZXIgY29ubmVjdGVkIHRvIGEgU2V0IG5vZGUgbmFtZWQgXCJuZHYgb3V0cHV0IHRlc3RcIi4ifSAgICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0b3AKZGF0YTogeyJ0eXBlIjoiY29udGVudF9ibG9ja19zdG9wIiwiaW5kZXgiOjAgICAgICAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjY3NywiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTY4NzYsIm91dHB1dF90b2tlbnMiOjI2fSAgICAgICAgICAgIH0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgfQoK",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069599163-unknown-host-POST-_v1_messages-4d1c93f7.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["3221"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=1tFbUY979d6nbQQKRJqPnSTkXQNHz9lZDKCDg3JXkxA-1776069565.8010094-1.0.1.1-oweSdKgwA1NQoW5T9rwPovXLgXsPGVFgI_p2VULuoqM; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=3223"],
"request-id": ["req_011Ca1UAv33UiMeCwR9dmcfC"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:26Z"],
"anthropic-ratelimit-tokens-remaining": ["26976000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:26Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:26Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:26Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22476000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:29 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb929024b79b6ae-TXL"]
},
"cookies": {
"_cfuvid": "1tFbUY979d6nbQQKRJqPnSTkXQNHz9lZDKCDg3JXkxA-1776069565.8010094-1.0.1.1-oweSdKgwA1NQoW5T9rwPovXLgXsPGVFgI_p2VULuoqM"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01UHpQ4bBJ8FvXqVpNdoHJAZ\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":728,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"cache_creation\":{\"ephemeral_5m_input_tokens\":12653,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Your\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" workflow is ready! It has a **Manual Trigger** connected to a **Set node** named \\\"ndv output test\\\". Would you like to test it or make any changes?\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":728,\"cache_creation_input_tokens\":12653,\"cache_read_input_tokens\":0,\"output_tokens\":41}}\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVz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bmRleCI6MCwiZGVsdGEiOnsidHlwZSI6InRleHRfZGVsdGEiLCJ0ZXh0IjoiIHdvcmtmbG93IGlzIHJlYWR5ISBJdCBoYXMgYSAqKk1hbnVhbCBUcmlnZ2VyKiogY29ubmVjdGVkIHRvIGEgKipTZXQgbm9kZSoqIG5hbWVkIFwibmR2IG91dHB1dCB0ZXN0XCIuIFdvdWxkIHlvdSBsaWtlIHRvIHRlc3QgaXQgb3IgbWFrZSBhbnkgY2hhbmdlcz8ifSAgICAgfQoKZXZlbnQ6IGNvbnRlbnRfYmxvY2tfc3RvcApkYXRhOiB7InR5cGUiOiJjb250ZW50X2Jsb2NrX3N0b3AiLCJpbmRleCI6MCAgICAgICAgfQoKZXZlbnQ6IG1lc3NhZ2VfZGVsdGEKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9kZWx0YSIsImRlbHRhIjp7InN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGx9LCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjcyOCwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjoxMjY1MywiY2FjaGVfcmVhZF9pbnB1dF90b2tlbnMiOjAsIm91dHB1dF90b2tlbnMiOjQxfX0KCmV2ZW50OiBtZXNzYWdlX3N0b3AKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdG9wIiAgICAgICAgICAgIH0KCg==",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069599163-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,4 @@
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:06.989Z"}
{"kind":"tool-call","stepId":1,"agentRole":"orchestrator","toolName":"build-workflow-with-agent","input":{"task":"Build a simple workflow with a Manual Trigger node connected to a Set node. The Set node should be named \"ndv output test\".","conversationContext":"User wants a simple workflow: Manual Trigger → Set node named \"ndv output test\". No credentials needed."},"output":{"result":"Workflow build started (task: build-NC1XSYGp). Reply with one short sentence — e.g. name what's being built. Do NOT summarize the plan or list details.","taskId":"build-NC1XSYGp"}}
{"kind":"tool-call","stepId":2,"agentRole":"workflow-builder","toolName":"build-workflow","input":{"code":"\nimport { workflow, node, trigger } from '@n8n/workflow-sdk';\n\nconst manualTrigger = trigger({\n type: 'n8n-nodes-base.manualTrigger',\n version: 1,\n config: { name: 'Manual Trigger' }\n});\n\nconst setNode = node({\n type: 'n8n-nodes-base.set',\n version: 3.4,\n config: {\n name: 'ndv output test',\n parameters: {\n assignments: { assignments: [] },\n options: {}\n }\n }\n});\n\nexport default workflow('ndv-output-test', 'NDV Output Test')\n .add(manualTrigger)\n .to(setNode);\n","name":"NDV Output Test"},"output":{"success":true,"workflowId":"VkcBo0o1NqFGYqz1"}}
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:24.152Z"}

View file

@ -0,0 +1,86 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"Generate a concise title (max 60 chars) summarizing what",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1454"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=yKamqNdZ3mAxx2J5krjSDzuAaaZ5Ah4UzJm8ieulXTQ-1776069559.4083445-1.0.1.1-tdEhXeCfx46aFMVTjkANKR3QKV7VH3raJRjSLKww9rU; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1456"],
"request-id": ["req_011Ca1UAShFQNMP364shBet8"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-tokens-remaining": ["27000000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:19Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:20Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22500000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:20 GMT"],
"Content-Type": ["application/json"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"CF-RAY": ["9eb928da484ee52f-TXL"]
},
"cookies": {
"_cfuvid": "yKamqNdZ3mAxx2J5krjSDzuAaaZ5Ah4UzJm8ieulXTQ-1776069559.4083445-1.0.1.1-tdEhXeCfx46aFMVTjkANKR3QKV7VH3raJRjSLKww9rU"
},
"body": {
"contentType": "application/json",
"type": "JSON",
"json": {
"model": "claude-sonnet-4-6",
"id": "msg_01YWGRnG7JXzPbpcWpozrA7j",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Build workflow with manual trigger and Set node"
}
],
"stop_reason": "end_turn",
"stop_sequence": null,
"stop_details": null,
"usage": {
"input_tokens": 115,
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"cache_creation": {
"ephemeral_5m_input_tokens": 0,
"ephemeral_1h_input_tokens": 0
},
"output_tokens": 11,
"service_tier": "standard",
"inference_geo": "global"
}
},
"rawBytes": "eyJtb2RlbCI6ImNsYXVkZS1zb25uZXQtNC02IiwiaWQiOiJtc2dfMDFZV0dSbkc3Slh6UGJwY1dwb3pyQTdqIiwidHlwZSI6Im1lc3NhZ2UiLCJyb2xlIjoiYXNzaXN0YW50IiwiY29udGVudCI6W3sidHlwZSI6InRleHQiLCJ0ZXh0IjoiQnVpbGQgd29ya2Zsb3cgd2l0aCBtYW51YWwgdHJpZ2dlciBhbmQgU2V0IG5vZGUifV0sInN0b3BfcmVhc29uIjoiZW5kX3R1cm4iLCJzdG9wX3NlcXVlbmNlIjpudWxsLCJzdG9wX2RldGFpbHMiOm51bGwsInVzYWdlIjp7ImlucHV0X3Rva2VucyI6MTE1LCJjYWNoZV9jcmVhdGlvbl9pbnB1dF90b2tlbnMiOjAsImNhY2hlX3JlYWRfaW5wdXRfdG9rZW5zIjowLCJjYWNoZV9jcmVhdGlvbiI6eyJlcGhlbWVyYWxfNW1faW5wdXRfdG9rZW5zIjowLCJlcGhlbWVyYWxfMWhfaW5wdXRfdG9rZW5zIjowfSwib3V0cHV0X3Rva2VucyI6MTEsInNlcnZpY2VfdGllciI6InN0YW5kYXJkIiwiaW5mZXJlbmNlX2dlbyI6Imdsb2JhbCJ9fQ=="
}
},
"id": "1776069570043-unknown-host-POST-_v1_messages-18622610.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,61 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are the n8n Instance Agent — an AI assistant embedde",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["2166"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=c7dVqBuQbPzWNuF0yUWf13by8uC8clTvbNv44GP04.A-1776069556.5277104-1.0.1.1-avz5zizQ6_.nB623bdU1XbIj4x2rKFpWsHqlF.z9y4s; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=2170"],
"request-id": ["req_011Ca1UAERJp2Heu5Bo9YpKL"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:16Z"],
"anthropic-ratelimit-tokens-remaining": ["26977000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:16Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:16Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:16Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22477000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:18 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928c84b76e529-TXL"]
},
"cookies": {
"_cfuvid": "c7dVqBuQbPzWNuF0yUWf13by8uC8clTvbNv44GP04.A-1776069556.5277104-1.0.1.1-avz5zizQ6_.nB623bdU1XbIj4x2rKFpWsHqlF.z9y4s"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_01FnQMxi8JXq2fHmdyRKcvxt\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":577,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Building\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" your **\\\"run button visibility test\\\"** workflow now!\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":577,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":12653,\"output_tokens\":16} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxRm5RTXhpOEpYcTJmSG1keVJLY3Z4dCIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjU3NywiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTI2NTMsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB9LCJvdXRwdXRfdG9rZW5zIjoxLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsIm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va2VucyI6MTZ9ICAgfQoKZXZlbnQ6IG1lc3NhZ2Vfc3RvcApkYXRhOiB7InR5cGUiOiJtZXNzYWdlX3N0b3AiICAgICAgIH0KCg==",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069570043-unknown-host-POST-_v1_messages-8a23f6c2.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,62 @@
{
"httpRequest": {
"method": "POST",
"path": "/v1/messages",
"body": {
"type": "STRING",
"string": "[{\"type\":\"text\",\"text\":\"You are an expert n8n workflow builder. You generate com",
"subString": true
}
},
"httpResponse": {
"statusCode": 200,
"reasonPhrase": "OK",
"headers": {
"x-envoy-upstream-service-time": ["1586"],
"vary": ["Accept-Encoding"],
"strict-transport-security": ["max-age=31536000; includeSubDomains; preload"],
"set-cookie": [
"_cfuvid=.Ez.vS8zY77yJssPNVRj2JzPnV9sVHAA686EXxQc4K8-1776069561.7403724-1.0.1.1-5kdlzUopuho7P4gVOlvMr9m_G29r5UGNu5JuRIP3P3g; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
],
"server-timing": ["x-originResponse;dur=1587"],
"request-id": ["req_011Ca1UAcen8Gfr7ZYdiUgx1"],
"cf-cache-status": ["DYNAMIC"],
"anthropic-ratelimit-tokens-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-tokens-remaining": ["26974000"],
"anthropic-ratelimit-tokens-limit": ["27000000"],
"anthropic-ratelimit-requests-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-requests-remaining": ["19998"],
"anthropic-ratelimit-requests-limit": ["20000"],
"anthropic-ratelimit-output-tokens-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-output-tokens-remaining": ["4500000"],
"anthropic-ratelimit-output-tokens-limit": ["4500000"],
"anthropic-ratelimit-input-tokens-reset": ["2026-04-13T08:39:21Z"],
"anthropic-ratelimit-input-tokens-remaining": ["22474000"],
"anthropic-ratelimit-input-tokens-limit": ["22500000"],
"X-Robots-Tag": ["none"],
"Server": ["cloudflare"],
"Date": ["Mon, 13 Apr 2026 08:39:23 GMT"],
"Content-Type": ["text/event-stream; charset=utf-8"],
"Content-Security-Policy": ["default-src 'none'; frame-ancestors 'none'"],
"Cache-Control": ["no-cache"],
"CF-RAY": ["9eb928e8d822339b-TXL"]
},
"cookies": {
"_cfuvid": ".Ez.vS8zY77yJssPNVRj2JzPnV9sVHAA686EXxQc4K8-1776069561.7403724-1.0.1.1-5kdlzUopuho7P4gVOlvMr9m_G29r5UGNu5JuRIP3P3g"
},
"body": {
"type": "STRING",
"string": "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-sonnet-4-6\",\"id\":\"msg_0163JtFKxwcbVJ7EbWmBXSZM\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"stop_sequence\":null,\"stop_details\":null,\"usage\":{\"input_tokens\":702,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"cache_creation\":{\"ephemeral_5m_input_tokens\":0,\"ephemeral_1h_input_tokens\":0},\"output_tokens\":1,\"service_tier\":\"standard\",\"inference_geo\":\"global\"}} }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Done\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" — the workflow \\\"run button visibility test\\\" is live with a Manual Trigger connected\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" to a default Set node.\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"stop_details\":null},\"usage\":{\"input_tokens\":702,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":16876,\"output_tokens\":27} }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n",
"rawBytes": "ZXZlbnQ6IG1lc3NhZ2Vfc3RhcnQKZGF0YTogeyJ0eXBlIjoibWVzc2FnZV9zdGFydCIsIm1lc3NhZ2UiOnsibW9kZWwiOiJjbGF1ZGUtc29ubmV0LTQtNiIsImlkIjoibXNnXzAxNjNKdEZLeHdjYlZKN0ViV21CWFNaTSIsInR5cGUiOiJtZXNzYWdlIiwicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOltdLCJzdG9wX3JlYXNvbiI6bnVsbCwic3RvcF9zZXF1ZW5jZSI6bnVsbCwic3RvcF9kZXRhaWxzIjpudWxsLCJ1c2FnZSI6eyJpbnB1dF90b2tlbnMiOjcwMiwiY2FjaGVfY3JlYXRpb25faW5wdXRfdG9rZW5zIjowLCJjYWNoZV9yZWFkX2lucHV0X3Rva2VucyI6MTY4NzYsImNhY2hlX2NyZWF0aW9uIjp7ImVwaGVtZXJhbF81bV9pbnB1dF90b2tlbnMiOjAsImVwaGVtZXJhbF8xaF9pbnB1dF90b2tlbnMiOjB9LCJvdXRwdXRfdG9rZW5zIjoxLCJzZXJ2aWNlX3RpZXIiOiJzdGFuZGFyZCIsImluZmVyZW5jZV9nZW8iOiJnbG9iYWwifX0gICAgICAgIH0KCmV2ZW50OiBjb250ZW50X2Jsb2NrX3N0YXJ0CmRhdGE6IHsidHlwZSI6ImNvbnRlbnRfYmxvY2tfc3RhcnQiLCJpbmRleCI6MCwiY29udGVudF9ibG9jayI6eyJ0eXBlIjoidGV4dCIsInRleHQiOiIifSAgICB9CgpldmVudDogcGluZwpkYXRhOiB7InR5cGUiOiAicGluZyJ9CgpldmVudDogY29udGVudF9ibG9ja19kZWx0YQp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hZ2Vfc3RvcApkYXRhOiB7InR5cGUiOiJtZXNzYWdlX3N0b3AiICAgICAgIH0KCg==",
"contentType": "text/event-stream; charset=utf-8"
}
},
"id": "1776069570045-unknown-host-POST-_v1_messages-4d1c93f7.json",
"priority": 0,
"timeToLive": {
"unlimited": true
},
"times": {
"unlimited": true
}
}

View file

@ -0,0 +1,4 @@
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:07.307Z"}
{"kind":"tool-call","stepId":1,"agentRole":"orchestrator","toolName":"build-workflow-with-agent","input":{"task":"Build a simple workflow named \"run button visibility test\" with:\n1. A Manual Trigger node\n2. A Set node (with no specific fields configured, just a default Set node)\n\nKeep it minimal — just these two nodes connected together.","conversationContext":"User wants a simple test workflow with a manual trigger and a set node."},"output":{"result":"Workflow build started (task: build-b7Xl5Yxd). Reply with one short sentence — e.g. name what's being built. Do NOT summarize the plan or list details.","taskId":"build-b7Xl5Yxd"}}
{"kind":"tool-call","stepId":2,"agentRole":"workflow-builder","toolName":"build-workflow","input":{"code":"\nimport { workflow, node, trigger, newCredential, expr } from '@n8n/workflow-sdk';\n\nconst manualTrigger = trigger({\n type: 'n8n-nodes-base.manualTrigger',\n version: 1,\n config: { name: 'Manual Trigger' }\n});\n\nconst setNode = node({\n type: 'n8n-nodes-base.set',\n version: 3.4,\n config: {\n name: 'Edit Fields',\n parameters: {\n assignments: {\n assignments: []\n },\n options: {}\n }\n }\n});\n\nexport default workflow('run-button-visibility-test', 'run button visibility test')\n .add(manualTrigger)\n .to(setNode);\n","name":"run button visibility test"},"output":{"success":true,"workflowId":"J8pFvgMSovX4YQQl"}}
{"kind":"header","version":1,"testName":"recording","recordedAt":"2026-04-13T08:39:24.572Z"}

View file

@ -769,6 +769,18 @@ export class CanvasPage extends BasePage {
await this.page.getByTestId('workflow-chat-button').click();
}
getOpenChatButton(): Locator {
return this.page.getByRole('button', { name: 'Open chat' });
}
getHideChatButton(): Locator {
return this.page.getByRole('button', { name: 'Hide chat' });
}
getChatPanel(): Locator {
return this.page.getByTestId('canvas-chat');
}
// Input plus endpoints (to add supplemental nodes to parent inputs)
getInputPlusEndpointByType(nodeName: string, endpointType: string) {
return this.page

View file

@ -1,8 +1,11 @@
import { BasePage } from './BasePage';
export class DemoPage extends BasePage {
async goto(theme?: 'dark' | 'light') {
const query = theme ? `?theme=${theme}` : '';
async goto(options?: { theme?: 'dark' | 'light'; canExecute?: boolean }) {
const params = new URLSearchParams();
if (options?.theme) params.set('theme', options.theme);
if (options?.canExecute) params.set('canExecute', 'true');
const query = params.toString() ? `?${params.toString()}` : '';
await this.page.goto('/workflows/demo' + query);
await this.page.getByTestId('canvas-background').waitFor({ state: 'visible' });
}

View file

@ -141,6 +141,30 @@ export class InstanceAiPage extends BasePage {
return this.page.getByTestId('workflow-preview-iframe');
}
getPreviewRunWorkflowButton(): Locator {
return this.getPreviewIframe().getByTestId('execute-workflow-button');
}
getPreviewNodeByName(nodeName: string): Locator {
return this.getPreviewIframe().locator(
`[data-test-id="canvas-node"][data-node-name="${nodeName}"]`,
);
}
getPreviewExecuteNodeButton(nodeName: string): Locator {
return this.getPreviewNodeByName(nodeName).getByRole('button', { name: 'Execute step' });
}
getPreviewNodeSuccessIndicator(nodeName: string): Locator {
return this.getPreviewNodeByName(nodeName).locator(
'[data-test-id="canvas-node-status-success"]',
);
}
getPreviewNdvOutputPanel(): Locator {
return this.getPreviewIframe().getByTestId('output-panel');
}
// ── Artifacts ─────────────────────────────────────────────────────
getArtifactCards(): Locator {

View file

@ -39,13 +39,13 @@ test.describe(
});
test('can override theme to dark', async ({ n8n }) => {
await n8n.demo.goto('dark');
await n8n.demo.goto({ theme: 'dark' });
await expect(n8n.demo.getBody()).toHaveAttribute('data-theme', 'dark');
expect(await n8n.notifications.getAllNotificationTexts()).toHaveLength(0);
});
test('can override theme to light', async ({ n8n }) => {
await n8n.demo.goto('light');
await n8n.demo.goto({ theme: 'light' });
await expect(n8n.demo.getBody()).toHaveAttribute('data-theme', 'light');
expect(await n8n.notifications.getAllNotificationTexts()).toHaveLength(0);
});

View file

@ -0,0 +1,149 @@
import { test, expect, instanceAiTestConfig } from './fixtures';
test.use(instanceAiTestConfig);
test.describe(
'Instance AI workflow execution @capability:proxy',
{
annotation: [{ type: 'owner', description: 'Instance AI' }],
},
() => {
test('should show run workflow button in preview', async ({ n8n }) => {
await n8n.navigate.toInstanceAi();
await n8n.instanceAi.sendMessage(
'Build a simple workflow with a manual trigger and a set node called "run button visibility test"',
);
// Wait for preview to show canvas nodes
await expect(n8n.instanceAi.getPreviewCanvasNodes().first()).toBeVisible({
timeout: 120_000,
});
// The run workflow button should be visible inside the preview iframe
await expect(n8n.instanceAi.getPreviewRunWorkflowButton()).toBeVisible({
timeout: 10_000,
});
});
test('should execute workflow from run button and show success indicators', async ({ n8n }) => {
await n8n.navigate.toInstanceAi();
await n8n.instanceAi.sendMessage(
'Build a simple workflow with a manual trigger connected to a set node called "full execution test"',
);
// Wait for preview to show canvas nodes
await expect(n8n.instanceAi.getPreviewCanvasNodes().first()).toBeVisible({
timeout: 120_000,
});
// Click the run workflow button
await n8n.instanceAi.getPreviewRunWorkflowButton().click();
// Nodes should show success indicators after execution completes
await expect(n8n.instanceAi.getPreviewSuccessIndicators().first()).toBeVisible({
timeout: 30_000,
});
});
test('should execute individual node from node toolbar', async ({ n8n }) => {
await n8n.navigate.toInstanceAi();
await n8n.instanceAi.sendMessage(
'Build a simple workflow with a manual trigger connected to a set node called "node execution test"',
);
// Wait for preview to show canvas nodes
await expect(n8n.instanceAi.getPreviewCanvasNodes().first()).toBeVisible({
timeout: 120_000,
});
// Hover over the Set node to show its toolbar
const setNode = n8n.instanceAi.getPreviewNodeByName('node execution test');
await expect(setNode).toBeVisible({ timeout: 10_000 });
await setNode.hover();
// Click the execute node button on the toolbar
const executeNodeButton = n8n.instanceAi.getPreviewExecuteNodeButton('node execution test');
await expect(executeNodeButton).toBeVisible({ timeout: 5_000 });
await executeNodeButton.click();
// The node should show a success indicator after execution
await expect(
n8n.instanceAi.getPreviewNodeSuccessIndicator('node execution test'),
).toBeVisible({ timeout: 30_000 });
});
test('should show execution results in NDV output panel when opening node after execution', async ({
n8n,
}) => {
await n8n.navigate.toInstanceAi();
await n8n.instanceAi.sendMessage(
'Build a simple workflow with a manual trigger connected to a set node called "ndv output test"',
);
// Wait for preview to show canvas nodes
await expect(n8n.instanceAi.getPreviewCanvasNodes().first()).toBeVisible({
timeout: 120_000,
});
// Execute the workflow
await n8n.instanceAi.getPreviewRunWorkflowButton().click();
// Wait for execution to complete
await expect(n8n.instanceAi.getPreviewSuccessIndicators().first()).toBeVisible({
timeout: 30_000,
});
// Double-click a node to open NDV
const setNode = n8n.instanceAi.getPreviewNodeByName('ndv output test');
await setNode.dblclick();
// The NDV output panel should be visible with execution data
await expect(n8n.instanceAi.getPreviewNdvOutputPanel()).toBeVisible({
timeout: 10_000,
});
});
test('should allow re-running workflow after initial execution', async ({ n8n }, testInfo) => {
test.skip(
testInfo.project.name.includes('multi-main'),
'Re-execution is not yet stable in multi-main mode',
);
await n8n.navigate.toInstanceAi();
await n8n.instanceAi.sendMessage(
'Build a simple workflow with a manual trigger connected to a set node called "re-run test"',
);
// Wait for preview to show canvas nodes
await expect(n8n.instanceAi.getPreviewCanvasNodes().first()).toBeVisible({
timeout: 120_000,
});
// First execution
await n8n.instanceAi.getPreviewRunWorkflowButton().click();
await expect(n8n.instanceAi.getPreviewSuccessIndicators().first()).toBeVisible({
timeout: 30_000,
});
// Run workflow button should still be visible for re-execution
await expect(n8n.instanceAi.getPreviewRunWorkflowButton()).toBeVisible({
timeout: 10_000,
});
// Second execution — wait for it to actually run and complete so we
// don't race against stale success indicators from the first run.
await n8n.instanceAi.getPreviewRunWorkflowButton().click();
await expect(n8n.instanceAi.getPreviewRunningNodes().first()).toBeVisible({
timeout: 10_000,
});
await expect(n8n.instanceAi.getPreviewRunningNodes()).toHaveCount(0, { timeout: 30_000 });
await expect(n8n.instanceAi.getPreviewSuccessIndicators().first()).toBeVisible({
timeout: 10_000,
});
});
},
);

View file

@ -0,0 +1,101 @@
import { test, expect } from '../../../fixtures/base';
import type { TestRequirements } from '../../../Types';
const requirements: TestRequirements = {
config: {
settings: {
previewMode: true,
},
},
};
const chatTriggerNodes = [
{
parameters: { options: {} },
id: 'chat-trigger-1',
name: 'When chat message received',
type: '@n8n/n8n-nodes-langchain.chatTrigger',
typeVersion: 1.1,
position: [0, 0] as [number, number],
},
{
parameters: {
assignments: {
assignments: [
{
id: 'assign-1',
name: 'text',
value: '=Got: {{ $json.chatInput }}',
type: 'string',
},
],
},
options: {},
},
id: 'set-1',
name: 'Edit Fields',
type: 'n8n-nodes-base.set',
typeVersion: 3.4,
position: [220, 0] as [number, number],
},
];
const chatTriggerConnections = {
'When chat message received': {
main: [[{ node: 'Edit Fields', type: 'main' as const, index: 0 }]],
},
};
test.describe(
'Demo executable preview - Chat Trigger',
{
annotation: [{ type: 'owner', description: 'Adore' }],
},
() => {
test.beforeEach(async ({ setupRequirements }) => {
await setupRequirements(requirements);
});
test('hides execute button and exposes Open chat that opens logs panel', async ({
n8n,
api,
}) => {
// Create the workflow via API so it exists in the database
const workflow = await api.workflows.createWorkflow({
name: 'Chat Trigger Preview',
nodes: chatTriggerNodes,
connections: chatTriggerConnections,
});
await n8n.demo.goto({ canExecute: true });
await n8n.demo.importWorkflow({
...workflow,
nodes: chatTriggerNodes,
connections: chatTriggerConnections,
});
await expect(n8n.canvas.nodeByName('When chat message received')).toBeVisible();
await expect(n8n.canvas.getExecuteWorkflowButton()).toBeHidden();
await expect(n8n.canvas.getOpenChatButton()).toBeVisible();
await n8n.canvas.getOpenChatButton().click();
await expect(n8n.canvas.getChatPanel()).toBeVisible();
await expect(n8n.canvas.getHideChatButton()).toBeVisible();
// Send a chat message and verify execution completes via the logs panel
const chatInput = n8n.canvas.logsPanel.getManualChatInput();
await chatInput.fill('hello world');
await chatInput.press('Enter');
// The user message should appear in the chat
await expect(n8n.canvas.logsPanel.getManualChatMessages().nth(0)).toContainText(
'hello world',
);
// Execution should complete — logs panel shows success entries
await expect(n8n.canvas.logsPanel.getLogEntries()).not.toHaveCount(0, { timeout: 30_000 });
});
},
);