kind: tool-call

agentRole: planner

toolName: add-plan-item

summary: Create a minimal workflow with a Manual Trigger connected to a Set node, named "canvas nodes test".

assumptions: Workflow name is 'canvas nodes test' as specified

assumptions: Set node will have no fields pre-configured — left for the user to populate as needed

canvas nodes test

purpose: A simple test workflow triggered manually that passes data through a Set node. Useful for testing canvas node behavior and data mapping in n8n.

result: Added: Build 'canvas nodes test' workflow (1 item total)


title: Verify 'canvas nodes test' workflow runs successfully

instructions: Use verify-built-workflow with the work item ID from the build outcome for wf-canvas-test. Confirm the workflow runs without errors and the Manual Trigger connects through to the Set node producing at least one output item.

result: Added: Verify 'canvas nodes test' workflow runs successfully (2 items total)


kind: tool-suspend

toolName: submit-plan

message: Review the plan (2 tasks) before execution starts.

description: Build 'canvas nodes test' workflow

description: Verify 'canvas nodes test' workflow runs successfully

title: Build 'canvas nodes test' workflow

spec:
A simple test workflow triggered manually that passes data through a Set node. Useful for testing canvas node behavior and data mapping in n8n.
Trigger: Manual trigger

Assumptions:
- Workflow name is 'canvas nodes test' as specified
- Set node will have no fields pre-configured — left for the user to populate as needed

title: Verify 'canvas nodes test' workflow runs successfully

spec: Use verify-built-workflow with the work item ID from the build outcome for wf-canvas-test. Confirm the workflow runs without errors and the Manual Trigger connects through to the Set node producing at least one output item.

severity: info

inputType: plan-review

description: Build 'canvas nodes test' workflow

status: todo

description: Verify 'canvas nodes test' workflow runs successfully

title: Build 'canvas nodes test' workflow

kind: build-workflow

spec:
A simple test workflow triggered manually that passes data through a Set node. Useful for testing canvas node behavior and data mapping in n8n.
Trigger: Manual trigger

Assumptions:
- Workflow name is 'canvas nodes test' as specified
- Set node will have no fields pre-configured — left for the user to populate as needed

kind: checkpoint

spec: Use verify-built-workflow with the work item ID from the build outcome for wf-canvas-test. Confirm the workflow runs without errors and the Manual Trigger connects through to the Set node producing at least one output item.


agentRole: workflow-builder

toolName: build-workflow

code:
import { workflow, node, trigger, expr } from '@n8n/workflow-sdk';

const manualTrigger = trigger({
  type: 'n8n-nodes-base.manualTrigger',
  version: 1,
  config: { name: 'Manual Trigger' }
});

const setNode = node({
  type: 'n8n-nodes-base.set',
  version: 3.4,
  config: {
    name: 'Set',
    parameters: {
      mode: 'manual',
      includeOtherFields: true,
      assignments: {
        assignments: []
      }
    }
  }
});

export default workflow('wf-canvas-test', 'canvas nodes test')
  .add(manualTrigger)
  .to(setNode);