Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.
Expanding and collapsing Runchat nodes
You can publish any Runchat workflow as a tool and then use it as a node within another workflow. These are Runchat nodes. After you run a Runchat node, the internal state of the workflow (all input and output parameters) is saved on that node. You can view this internal state, called a subflow, to see exactly how data flowed through the workflow. Open the node’s More (…) menu and choose Expand workflow. Choose Collapse workflow to fold it back into a single node.
Expand workflow only appears in the menu once the node has run and has
internal state to show.
Expanding and collapsing Agent nodes
You can also expand an Agent node to view the internal state of any tools it used to answer your prompt. Click Tools on the Agent node’s toolbar to add tools, then run the node. If a tool was used, Expand workflow appears in the node’s More menu.
Internal state
The expanded view shows the internal state of the tool when it was last run.
If you run the parent node (Agent or Runchat) again, the inputs and outputs of the child nodes update to reflect the new state. This is a useful diagnostic tool for detecting bugs in workflow logic or flaws in prompts.
Editing subflows
You can make changes to nodes in a subflow (for example to Code or Agent nodes) and these are saved as a custom override to the tool. This is useful for quickly exploring variations on prompts or fixing bugs.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Runchat Docs","description":"Build AI workflows visually. Connect generative models, agents, and code on a canvas you can publish as tools or apps.","colors":{"primary":"#1956d2","light":"#1956d2","dark":"#1956d2"},"logo":{"light":"https://mintcdn.com/runchat/4rtgOBAAHDAD0dqa/logo/light.svg?fit=max\u0026auto=format\u0026n=4rtgOBAAHDAD0dqa\u0026q=85\u0026s=4b6c8d8d399eae07cb0067b86b57f542","dark":"https://mintcdn.com/runchat/4rtgOBAAHDAD0dqa/logo/dark.svg?fit=max\u0026auto=format\u0026n=4rtgOBAAHDAD0dqa\u0026q=85\u0026s=63fcf87146923f861e73340922839881"},"favicon":"https://mintcdn.com/runchat/4rtgOBAAHDAD0dqa/favicon.svg?fit=max\u0026auto=format\u0026n=4rtgOBAAHDAD0dqa\u0026q=85\u0026s=27670383cf7ff1ad7a2d6d7a05b46803","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://runchat.com/dashboard"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/runchat","youtube":"https://www.youtube.com/@runchat.tutorials","discord":"https://discord.gg/2KXUBZNZ4e"}},"search":{"prompt":"Search the Runchat docs"},"seo":{"metatags":{"canonical":"https://docs.runchat.com","og:title":"Runchat Docs","og:description":"Build AI workflows visually. Connect generative models, agents, and code on a canvas you can publish as tools or apps.","og:type":"website","og:site_name":"Runchat Docs","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@runchatapp","theme-color":"#1956d2","application-name":"Runchat Docs"}},"integrations":{"ga4":{"measurementId":"G-PJKXPQRVMR"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"background":"https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/hero.webp?fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=9ba9a7f1e655ca230f1df5856c78955b"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/2KXUBZNZ4e"},{"anchor":"Blog","icon":"newspaper","href":"https://gwyllim.substack.com"},{"anchor":"Tutorials","icon":"youtube","href":"https://www.youtube.com/@runchat.tutorials"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"runchat","hasAudioNarration":false,"actualSubdomain":"runchat","customDomains":["docs.runchat.com"],"gitSource":{"type":"github","owner":"runchat-app","repo":"runchat","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6afbe47608d6b006aa302ba7","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Docs","count":109},{"language":"default","tag":"Core Concepts","count":50},{"language":"default","tag":"Examples","count":45},{"language":"default","tag":"Visualization","count":17},{"language":"default","tag":"API Reference","count":10},{"language":"default","tag":"Nodes","count":9},{"language":"default","tag":"Concept Design","count":8},{"language":"default","tag":"Editor","count":7},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"3D and New Views","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"concepts/nodes/subflows","slug":"/concepts/nodes/subflows","pageMetadata":{"title":"Expanding workflows","description":"Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.","icon":"object-group","href":"/concepts/nodes/subflows"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Frame,Heading,Info,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`expanding-and-collapsing-runchat-nodes`,children:`Expanding and collapsing Runchat nodes`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=e6790524fe5062e9b0ca38bceb186919`,alt:`A Runchat node with its More menu open showing Expand workflow`,\"data-og-width\":`844`,width:`844`,\"data-og-height\":`930`,height:`930`,\"data-path\":`images/nodes/subflow-collapsed.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?w=280\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=2125c9d9f6f21bfde67e09accda758e7 280w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?w=560\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=c883bbc2df076abc320c14808d8671b2 560w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?w=840\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=fa265e96ff96fd70f4df9c79c41bc3ef 840w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=bb4e9e8fbef94d4dc99350b1c998f331 1100w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=18548b39b9a6c8014f9c122a3b47bf89 1650w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-collapsed.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=8fca91941488925a01067bf94ba0b8c8 2500w`})}),`\n`,_jsxs(_components.p,{children:[`You can publish any Runchat workflow as a tool and then use it as a node within another workflow. These are Runchat nodes. After you run a Runchat node, the internal state of the workflow (all input and output parameters) is saved on that node. You can view this internal state, called a subflow, to see exactly how data flowed through the workflow. Open the node’s `,_jsx(_components.strong,{children:`More`}),` (…) menu and choose `,_jsx(_components.strong,{children:`Expand workflow`}),`. Choose `,_jsx(_components.strong,{children:`Collapse workflow`}),` to fold it back into a single node.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=73d73d2a6c52e77300d13db5e4e893bc`,alt:`An expanded Runchat node showing its internal workflow: a note and a Code node with its last inputs and output`,\"data-og-width\":`1376`,width:`1376`,\"data-og-height\":`1630`,height:`1630`,\"data-path\":`images/nodes/subflow-expanded.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?w=280\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=7e488850f9e959fb2c50d1af4be3a0a8 280w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?w=560\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=d67c13361ce39c43b4e756ad1d38c698 560w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?w=840\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=b4071c7545b4347ce1e03c89ee5f20f8 840w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=5c20c0a108f909cb1f0a15c6c081c0e5 1100w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=7bba4562a372efad1d9cad3275f5ac91 1650w, https://mintcdn.com/runchat/rUDQhtaRtUR5pk6i/images/nodes/subflow-expanded.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=rUDQhtaRtUR5pk6i\u0026q=85\u0026s=a62e6a3d1e1dd40c602392838b54959c 2500w`})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Expand workflow`}),` only appears in the menu once the node has run and has\ninternal state to show.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`expanding-and-collapsing-agent-nodes`,children:`Expanding and collapsing Agent nodes`}),`\n`,_jsxs(_components.p,{children:[`You can also expand an Agent node to view the internal state of any tools it used to answer your prompt. Click `,_jsx(_components.strong,{children:`Tools`}),` on the Agent node’s toolbar to add tools, then run the node. If a tool was used, `,_jsx(_components.strong,{children:`Expand workflow`}),` appears in the node’s `,_jsx(_components.strong,{children:`More`}),` menu.`]}),`\n`,_jsx(Heading,{level:`2`,id:`internal-state`,children:`Internal state`}),`\n`,_jsx(_components.p,{children:`The expanded view shows the internal state of the tool when it was last run.\nIf you run the parent node (Agent or Runchat) again, the inputs and outputs of the child nodes update to reflect the new state. This is a useful diagnostic tool for detecting bugs in workflow logic or flaws in prompts.`}),`\n`,_jsx(Heading,{level:`2`,id:`editing-subflows`,children:`Editing subflows`}),`\n`,_jsx(_components.p,{children:`You can make changes to nodes in a subflow (for example to Code or Agent nodes) and these are saved as a custom override to the tool. This is useful for quickly exploring variations on prompts or fixing bugs.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Expanding workflows","description":"Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.","icon":"object-group","href":"/concepts/nodes/subflows"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Expanding and collapsing Runchat nodes","slug":"expanding-and-collapsing-runchat-nodes","depth":2,"children":[]},{"title":"Expanding and collapsing Agent nodes","slug":"expanding-and-collapsing-agent-nodes","depth":2,"children":[]},{"title":"Internal state","slug":"internal-state","depth":2,"children":[]},{"title":"Editing subflows","slug":"editing-subflows","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"runchat","siteName":"Runchat Docs","title":"Runchat Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T06:17:23.673Z","originalFileLocation":"concepts/nodes/subflows.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Runchat Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Runchat Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build AI workflows visually. Connect generative models, agents, and code on a canvas you can publish as tools or apps.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Runchat Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.runchat.com/concepts/nodes/subflows\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://runchat.mintlify.site/_mintlify/api/og/v2?division=Nodes\u0026amp;title=Expanding+workflows\u0026amp;description=Expand+Runchat+and+Agent+nodes+to+view+and+edit+the+internal+state+of+the+workflows+and+tools+they+ran.\u0026amp;theme=9cc582218c1d3e33ff94888e\u0026amp;signature=52cdbb3d687c2d0adc81ecae15be2b33ae655befc76d29933583e5cad136c1d7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Runchat Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build AI workflows visually. Connect generative models, agents, and code on a canvas you can publish as tools or apps.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://runchat.mintlify.site/_mintlify/api/og/v2?division=Nodes\u0026amp;title=Expanding+workflows\u0026amp;description=Expand+Runchat+and+Agent+nodes+to+view+and+edit+the+internal+state+of+the+workflows+and+tools+they+ran.\u0026amp;theme=9cc582218c1d3e33ff94888e\u0026amp;signature=52cdbb3d687c2d0adc81ecae15be2b33ae655befc76d29933583e5cad136c1d7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/runchat/VHy-hNOraVTl1FrO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Runchat Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1956d2\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#1956d2\">\u003cmeta data-mint-head name=\"application-name\" content=\"Runchat Docs\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.runchat.com/concepts/nodes/subflows\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/nodes/subflows.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.runchat.com/#organization\",\"name\":\"Runchat Docs\",\"url\":\"https://docs.runchat.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/runchat/4rtgOBAAHDAD0dqa/logo/light.svg?fit=max\u0026auto=format\u0026n=4rtgOBAAHDAD0dqa\u0026q=85\u0026s=4b6c8d8d399eae07cb0067b86b57f542\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.runchat.com#website\",\"name\":\"Runchat Docs\",\"url\":\"https://docs.runchat.com\",\"publisher\":{\"@id\":\"https://docs.runchat.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.runchat.com/concepts/nodes/subflows#webpage\",\"url\":\"https://docs.runchat.com/concepts/nodes/subflows\",\"name\":\"Expanding workflows\",\"description\":\"Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.\",\"dateModified\":\"2026-10-06T06:17:23.673Z\",\"isPartOf\":{\"@id\":\"https://docs.runchat.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.runchat.com/concepts/nodes/subflows#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.runchat.com/concepts/nodes/subflows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Concepts\",\"item\":\"https://docs.runchat.com/concepts/models/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nodes\",\"item\":\"https://docs.runchat.com/concepts/nodes/inputs/text\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Expanding workflows\",\"item\":\"https://docs.runchat.com/concepts/nodes/subflows\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.runchat.com/concepts/nodes/subflows#article\",\"headline\":\"Expanding workflows\",\"name\":\"Expanding workflows\",\"description\":\"Expand Runchat and Agent nodes to view and edit the internal state of the workflows and tools they ran.\",\"url\":\"https://docs.runchat.com/concepts/nodes/subflows\",\"mainEntityOfPage\":{\"@id\":\"https://docs.runchat.com/concepts/nodes/subflows#webpage\"},\"dateModified\":\"2026-10-06T06:17:23.673Z\",\"publisher\":{\"@id\":\"https://docs.runchat.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.runchat.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Runchat Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Runchat Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/concepts/nodes/subflows.md","siteName":"Runchat Docs","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/2KXUBZNZ4e"},{"anchor":"Blog","icon":"newspaper","href":"https://gwyllim.substack.com"},{"anchor":"Tutorials","icon":"youtube","href":"https://www.youtube.com/@runchat.tutorials"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Get Started","pages":[{"title":"Overview","icon":"house","href":""},{"title":"Working with Design Agents","icon":"robot","href":"/tutorials/design-agents"},{"title":"Create a Workflow","icon":"wand-magic-sparkles","href":"/tutorials/create-workflow"},{"title":"Create a Tool","icon":"toolbox","href":"/tutorials/create-tool"}]},{"group":"Plugins","pages":[{"title":"Runchat for SketchUp","icon":"pencil-ruler","sidebarTitle":"SketchUp","href":"/plugins/sketchup"},{"title":"Runchat for Blender","icon":"cube","sidebarTitle":"Blender","href":"/plugins/blender"},{"title":"Runchat for Rhino","icon":"cube","sidebarTitle":"Rhino","href":"/plugins/rhino"},{"title":"Runchat for Revit","icon":"building","sidebarTitle":"Revit","href":"/plugins/revit"},{"title":"Runchat for Archicad","icon":"building","sidebarTitle":"Archicad","href":"/plugins/archicad"},{"title":"Runchat for Grasshopper","icon":"diagram-project","sidebarTitle":"Grasshopper","href":"/plugins/grasshopper"}]},{"group":"Core Concepts","pages":[{"group":"Models","pages":[{"title":"Models","icon":"layer-group","href":"/concepts/models/overview"},{"title":"Credits","icon":"coins","href":"/concepts/models/credits"},{"title":"Choosing a model","icon":"scale-balanced","sidebarTitle":"Choosing a model","href":"/concepts/models/choosing-a-model"}]},{"group":"Editor","pages":[{"title":"Editor Overview","icon":"table-cells","sidebarTitle":"Overview","href":"/concepts/editor/overview"},{"title":"Connecting Nodes","icon":"link","href":"/concepts/editor/connecting-nodes"},{"title":"Running and Debugging","icon":"play","sidebarTitle":"Running \u0026 debugging","href":"/concepts/editor/running-and-debugging"},{"title":"Image Editor","icon":"image","sidebarTitle":"Image editor","href":"/concepts/editor/image-editor"},{"title":"Collections","icon":"images","sidebarTitle":"Collections","href":"/concepts/editor/collections"},{"title":"Scene","icon":"cube","href":"/concepts/editor/scene"},{"title":"Apps on the canvas","icon":"sliders","sidebarTitle":"Apps","href":"/concepts/editor/apps"}]},{"group":"Agents","pages":[{"title":"Chat","icon":"message","href":"/concepts/agents/chat"},{"title":"Agent Capabilities","icon":"sliders","href":"/concepts/agents/capabilities"},{"title":"Agent Workspace","icon":"terminal","href":"/concepts/agents/workspace"}]},{"group":"Data","pages":[{"title":"Data Types","icon":"shapes","sidebarTitle":"Types","href":"/concepts/data/data-types"},{"title":"Data Structure","icon":"list-tree","sidebarTitle":"Structure","href":"/concepts/data/data-structure"},{"title":"Data Matching","icon":"arrows-left-right","sidebarTitle":"Matching","href":"/concepts/data/data-matching"},{"title":"Data Referencing","icon":"at","sidebarTitle":"Referencing","href":"/concepts/data/data-referencing"},{"title":"Routing","icon":"shuffle","href":"/concepts/data/routing"},{"title":"Loops","icon":"rotate","href":"/concepts/data/loops"}]},{"group":"Nodes","pages":[{"group":"Inputs","pages":[{"title":"Text","icon":"font","href":"/concepts/nodes/inputs/text"},{"title":"File","icon":"file","href":"/concepts/nodes/inputs/file"},{"title":"Select","icon":"list","href":"/concepts/nodes/inputs/select"}]},{"title":"Agent","icon":"robot","href":"/concepts/nodes/agent"},{"title":"Create Media","icon":"palette","href":"/concepts/nodes/create"},{"title":"Code","icon":"code","href":"/concepts/nodes/code"},{"title":"Artifact","icon":"file-export","href":"/concepts/nodes/artifact"},{"title":"Spread output","description":"Spread JSON object output from Agent and Code nodes into individual parameters automatically. One call returns multiple typed fields you can wire downstream.","icon":"sliders-h","href":"/concepts/nodes/parameters"},{"title":"Expanding workflows","icon":"object-group","href":"/concepts/nodes/subflows"}]},{"group":"Integrations","pages":[{"title":"Link Accounts","description":"Connect your existing provider accounts to bypass Runchat credits and use your own billing","icon":"plug","href":"/concepts/integrations/accounts"},{"title":"Credentials","icon":"key","href":"/concepts/integrations/credentials"},{"title":"MCP Server","icon":"plug","sidebarTitle":"MCP","href":"/concepts/integrations/mcp"},{"title":"ChatGPT","icon":"message-bot","sidebarTitle":"ChatGPT","href":"/concepts/integrations/chatgpt"},{"title":"Command Line (CLI)","icon":"terminal","sidebarTitle":"CLI","href":"/concepts/integrations/cli"},{"title":"ComfyUI","icon":"server","href":"/concepts/integrations/comfyui"},{"title":"Rhino Tools","icon":"toolbox","sidebarTitle":"Rhino Tools","href":"/concepts/integrations/rhino-tools"}]},{"group":"Publishing","pages":[{"title":"Saving and Loading","icon":"floppy-disk","sidebarTitle":"Save \u0026 load","href":"/concepts/publishing/save-load"},{"title":"Tools and Apps","icon":"books","href":"/concepts/publishing/libraries"},{"title":"Apps","icon":"window-maximize","sidebarTitle":"Apps","href":"/concepts/publishing/app-view"},{"title":"Publishing Tools","icon":"puzzle-piece","sidebarTitle":"Publishing tools","href":"/concepts/publishing/custom-nodes"},{"title":"Agent Tools","icon":"wrench","sidebarTitle":"Agent tools","href":"/concepts/publishing/agent-tools"}]},{"group":"Automations","pages":[{"title":"Scheduling Agents","icon":"calendar","sidebarTitle":"Schedule agents","href":"/concepts/automations/schedule-tasks"},{"title":"Webhooks","icon":"webhook","href":"/concepts/automations/webhooks"},{"title":"Scraping","icon":"spider","href":"/concepts/automations/scraping"}]},{"group":"Teams","pages":[{"title":"Teams","icon":"users","href":"/concepts/teams/teams"},{"title":"Subscriptions \u0026 Credits","icon":"credit-card","href":"/concepts/teams/subscriptions"},{"title":"Model Whitelist","icon":"shield-check","sidebarTitle":"Model whitelist","href":"/concepts/teams/model-whitelist"}]},{"group":"Dashboard","pages":[{"title":"Dashboard","icon":"gauge","sidebarTitle":"Overview","href":"/concepts/dashboard/overview"},{"title":"Agents","icon":"list-check","href":"/concepts/dashboard/agents"},{"title":"Artifacts","icon":"file-export","href":"/concepts/dashboard/artifacts"}]},{"group":"Training","pages":[{"title":"Custom LoRA models","icon":"graduation-cap","sidebarTitle":"Training LoRAs","href":"/concepts/training/training-loras"}]}]},{"group":"Examples","pages":[{"group":"Visualization","pages":[{"title":"Render from a Rhino screenshot","icon":"camera","sidebarTitle":"Rhino screenshot renders","href":"/examples/rendering-from-rhino-screenshots"},{"title":"Render linework with display mode overrides","icon":"layer-group","sidebarTitle":"Display mode overrides","href":"/examples/display-mode-overrides"},{"title":"Render with a material map","icon":"palette","sidebarTitle":"Material map (clown render)","href":"/examples/material-map-renders"},{"title":"Relight a quick Rhino render","icon":"sun","sidebarTitle":"Relighting a Rhino render","href":"/examples/relighting-a-rhino-render"},{"title":"Prompt for design variations","icon":"shuffle","sidebarTitle":"Design variations","href":"/examples/design-variations"},{"group":"Consistent Views","pages":[{"title":"Render multiple views in a single image","icon":"table-cells-large","sidebarTitle":"Multiple views in one image","href":"/examples/multiple-views-in-one-image"},{"title":"Render a new view with a thumbnail reference","icon":"clone","sidebarTitle":"New view from a thumbnail","href":"/examples/new-view-from-a-thumbnail"}]},{"group":"Site and Context","pages":[{"title":"Place a Rhino design into Street View","icon":"road","sidebarTitle":"Placing into Street View","href":"/examples/placing-into-street-view"},{"title":"Add people to scenes","icon":"people-group","sidebarTitle":"Adding people","href":"/examples/adding-people"},{"title":"Furnish rooms with a moodboard","icon":"couch","sidebarTitle":"Furnishing from a moodboard","href":"/examples/furnishing-from-a-moodboard"}]},{"group":"JSON Prompting","pages":[{"title":"JSON prompting: control lighting","icon":"lightbulb","sidebarTitle":"Lighting","href":"/examples/json-lighting"},{"title":"JSON prompting: change materials","icon":"swatchbook","sidebarTitle":"Materials","href":"/examples/json-materials"},{"title":"JSON prompting: change objects in the scene","icon":"tree","sidebarTitle":"Objects","href":"/examples/json-objects"},{"title":"JSON prompting: change photographic style","icon":"camera-retro","sidebarTitle":"Photographic style","href":"/examples/json-photographic-style"}]},{"group":"Batch Rendering","pages":[{"title":"Batch renders with multiple references","icon":"images","sidebarTitle":"Multiple references","href":"/examples/batch-multiple-references"},{"title":"Batch renders with model and parameter sweeps","icon":"sliders","sidebarTitle":"Model and parameter sweeps","href":"/examples/batch-model-sweeps"},{"title":"Batch renders with prompt sweeps","icon":"list-check","sidebarTitle":"Prompt sweeps","href":"/examples/batch-prompt-sweeps"}]}]},{"group":"Concept Design","pages":[{"title":"Iterate on text-to-image prompts","icon":"image","sidebarTitle":"Text-to-image ideation","href":"/examples/text-to-image-ideation"},{"title":"Creativity from random source material","icon":"dice","sidebarTitle":"Random source material","href":"/examples/random-source-material"},{"title":"Blend design references","icon":"object-group","sidebarTitle":"Blending references","href":"/examples/blending-references"},{"title":"Invent worlds, then deduce designs","icon":"earth-oceania","sidebarTitle":"Inventing worlds","href":"/examples/inventing-worlds"},{"title":"Zoom into details and back out","icon":"magnifying-glass-plus","sidebarTitle":"Zooming into details","href":"/examples/zooming-into-details"},{"title":"Families of concept designs in one image","icon":"grip","sidebarTitle":"Concept families","href":"/examples/concept-families"},{"title":"Enhance a selected concept","icon":"wand-magic-sparkles","sidebarTitle":"Enhancing a concept","href":"/examples/enhancing-a-concept"},{"title":"Train a custom LoRA","icon":"graduation-cap","sidebarTitle":"Training a LoRA","href":"/examples/training-a-lora"}]},{"group":"3D and New Views","pages":[{"title":"Generate 3D models from images","icon":"cube","sidebarTitle":"3D models","href":"/examples/generating-3d-models"},{"title":"Generate new views with Atlas","icon":"globe","sidebarTitle":"New views with Atlas","href":"/examples/new-views-with-atlas"},{"title":"Generate new views with 3D models","icon":"cube","sidebarTitle":"New views with 3D models","href":"/examples/new-views-with-3d-models"},{"title":"Generate new views with video models","icon":"film","sidebarTitle":"New views from video","href":"/examples/new-views-from-video"},{"title":"Generate orthographic sheets from a single image","icon":"ruler-combined","sidebarTitle":"Orthographic sheets","href":"/examples/orthographic-sheets"},{"title":"Block model massing to detailed 3D model","icon":"cubes","sidebarTitle":"Block model to 3D","href":"/examples/block-model-to-3d"},{"title":"Sketch to 3D","icon":"pen-nib","sidebarTitle":"Sketch to 3D","href":"/examples/sketch-to-3d"}]},{"group":"Editing and Post Processing","pages":[{"title":"Make controlled edits to AI images","icon":"paintbrush","sidebarTitle":"Masked image edits","href":"/examples/masked-image-edits"},{"title":"Edit only a specific region of an image","icon":"crop","sidebarTitle":"Editing a region","href":"/examples/editing-a-region"},{"title":"Replace a specific material","icon":"fill-drip","sidebarTitle":"Replacing a material","href":"/examples/replacing-a-material"},{"title":"Create masks by Rhino material","icon":"mask","sidebarTitle":"Masks by material","href":"/examples/masks-by-rhino-material"},{"title":"Extract layers from a render","icon":"layer-group","sidebarTitle":"Extracting layers","href":"/examples/extracting-layers"},{"title":"Convert raster to vector","icon":"bezier-curve","sidebarTitle":"Raster to vector","href":"/examples/raster-to-vector"}]},{"group":"Animation","pages":[{"title":"Generate videos from your images","icon":"film","sidebarTitle":"Videos","href":"/examples/generating-videos"},{"title":"Stylise a basic Rhino animation","icon":"clapperboard","sidebarTitle":"Stylising a Rhino animation","href":"/examples/stylising-a-rhino-animation"},{"title":"Block model animation to detailed 3D model","icon":"rotate","sidebarTitle":"Block model animation","href":"/examples/block-model-animation"}]},{"group":"Apps and Scripting","pages":[{"title":"Build and publish an artifact","icon":"rocket","sidebarTitle":"Publish an app","href":"/examples/build-and-publish-an-app"},{"title":"AI render viewport for draft renders","icon":"video","sidebarTitle":"AI render viewport","href":"/examples/ai-render-viewport"},{"title":"Generate Rhino scripts with AI","icon":"code","sidebarTitle":"Rhino scripts","href":"/examples/generating-rhino-scripts"},{"title":"Build parametric panelling scripts","icon":"grip","sidebarTitle":"Parametric panelling","href":"/examples/parametric-panelling"}]}]},{"group":"Clipchat","pages":[{"title":"Connect Clipchat to Runchat","icon":"plug","sidebarTitle":"Connect","href":"/concepts/clipchat/connect"},{"title":"Auto-edit a recording","icon":"wand-magic-sparkles","sidebarTitle":"Auto-edit","href":"/concepts/clipchat/auto-edit"},{"title":"Review and refine","icon":"scissors","sidebarTitle":"Review \u0026 refine","href":"/concepts/clipchat/review"},{"title":"Edit with chat","icon":"message","sidebarTitle":"Edit with chat","href":"/concepts/clipchat/chat-edit"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Runchat Docs","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-1H5zLJUq.js","DynamicMarkdown-RhjEuCHC.js","zoom-image-lightbox-CkI5al_8.js","lightbox-handle-r17bVUz3.js"]}