feat(n8n): convert CascadeFlowAgent to standalone execute() node#134
Merged
saschabuehrle merged 3 commits intomainfrom Feb 18, 2026
Merged
feat(n8n): convert CascadeFlowAgent to standalone execute() node#134saschabuehrle merged 3 commits intomainfrom
saschabuehrle merged 3 commits intomainfrom
Conversation
… fallback Rename "Enable Domain Routing" to "Enable Domain Cascading" in both nodes. Update "Enable Domain Verifiers" label to include "(Default: Main Verifier)" so users understand the fallback behavior. Bump to v0.7.8.
The agent node was a sub-node outputting ai_agent via supplyData(), but nothing in n8n consumes ai_agent from community nodes. Convert to a regular execute() node with main in/out so it can be wired directly into workflows (e.g. Chat Trigger → CascadeFlow Agent → response). - Add main input and main output connectors - Add ai_memory input for optional chat memory persistence - Add systemMessage and text parameters (text defaults to chatInput) - Replace supplyData() with execute() that loops over items, builds messages with memory history, runs CascadeFlowAgentExecutor, saves to memory, and returns output items with cascade metadata - Resolve models/memory/tools once outside the item loop - Bump version to 0.7.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CascadeFlowAgentfrom a sub-node (supplyData()outputtingai_agent) to a standaloneexecute()node with main in/out connectorsai_memoryinput for optional chat memory persistence (Window Buffer Memory, etc.)systemMessageandtextparameters —textdefaults to{{ $json.chatInput }}for automatic Chat Trigger wiringWhy
Nothing in n8n consumes
ai_agentfrom community nodes. Users expect the same UX as the built-in AI Agent: a node they can wire into a workflow with memory and "what happens next" connectors. TheCascadeFlowAgentadds value with its own agent loop featuring per-tool cascade/verifier routing and tool call validation — features worth preserving as a standalone agent node.Test plan
pnpm buildcompiles cleanlypnpm test— all 7 tests pass (2 test files)