Loop a Workflow through a list and run the same steps for each item
Overview
The Iteration node loops through a list within a Workflow, executing the same sequence of steps for each item automatically.By default, a Workflow processes a single input and produces a single output. The Iteration node extends this by applying the same process across an entire list, taking multiple inputs and producing multiple outputs within a single Workflow run.Use an Iteration node when a Workflow must perform a repeated action across multiple values, such as running an LLM prompt for each item in a list of keywords or URLs. Examples include:
Analyzing a list of URLs to identify common themes in their content and structure, then optimizing an owned piece of content accordingly.
Collecting prompt responses across multiple answer engines, regions, or topics and conducting bulk analysis on brand and product mentions to surface trends.
Iterating over a list of Reddit threads to generate a clean report on top narratives and recurring themes.
Add an Iteration node
Select the + icon in the Workflow Builder and select Iteration. Alternatively, drag Iteration from the node selection menu into the workflow.Iterations require a list of items as the input. The node loops through each item sequentially, passing the current item as a variable to the steps inside the loop.
Configure an Iteration node
Configuring an Iteration node requires two things: passing in a list, and building the steps that execute on each iteration. The node contains its own self-contained editor, modeled after the broader Workflow Builder.
Iterate over a list
An Iteration node accepts any accessible list variable, including an earlier node’s output. To use a Workflow input, select the input node, add a new input, and choose List from the dropdown.
Configure your Iteration node
Select the node to open the node settings menu, then select the list variable as the value to iterate on.The output of an Iteration node defaults to the outputs of the last node within it.
Add your Iteration steps
Add nodes to the Iteration node the same way you add nodes to the Workflow Builder. Select the + icon in the Iteration editor and select a node, or drag a node in from the node selection menu.
Each step repeats for every item in the list. Place any node that should run only once outside the Iteration editor.
Structure your output
Add output fields to map your final results when using the Prompt LLM node. In your LLM prompt, specify what information should populate each field, for example, “Return each URL in theurlsoutput field.” Then add those same fields as structured output fields in the node settings.
Iteration node requirements
There are several requirements to ensure a Workflow executes as expected:
The input must be a list variable accessible to the Iteration node.
The current item variable is only accessible within the steps inside the loop and cannot be referenced in steps outside the Iteration node.
Steps inside the loop execute once per item in the list.
The Iteration node must connect to an End step or additional steps to complete the Workflow run.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Profound","colors":{"primary":"#505050","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/profound-37face47/GFG246038OVoAEi7/logo/profound-light.svg?fit=max\u0026auto=format\u0026n=GFG246038OVoAEi7\u0026q=85\u0026s=37dd421873254e856c630468bff5009f","dark":"https://mintcdn.com/profound-37face47/GFG246038OVoAEi7/logo/profound-dark.svg?fit=max\u0026auto=format\u0026n=GFG246038OVoAEi7\u0026q=85\u0026s=fbb7ed0b03bac21d149032d4ac05b63e","href":"https://www.tryprofound.com"},"favicon":{"light":"https://mintcdn.com/profound-37face47/KURP1oJG5Y6w8LYE/images/favicons/light.svg?fit=max\u0026auto=format\u0026n=KURP1oJG5Y6w8LYE\u0026q=85\u0026s=3352a1e759f49cf8de6791a40538ca90","dark":"https://mintcdn.com/profound-37face47/KURP1oJG5Y6w8LYE/images/favicons/dark.svg?fit=max\u0026auto=format\u0026n=KURP1oJG5Y6w8LYE\u0026q=85\u0026s=83a7d2990c523d7c83f87e49345717ea"},"navbar":{"links":[{"href":"https://www.tryprofound.com/blog","label":"Blog"},{"href":"mailto:support@tryprofound.com","label":"Contact"},{"href":"https://university.tryprofound.com/","label":"University"}]},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://product.tryprofound.com/changelog"},{"anchor":"Status","icon":"traffic-light","href":"https://status.tryprofound.com"}]},"languages":[{"language":"en","href":""},{"language":"es","href":"es"},{"language":"ja-jp","href":"ja-jp"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"profound-37face47","hasAudioNarration":false,"actualSubdomain":"profound-37face47","customDomains":["docs.tryprofound.com"],"gitSource":{"type":"github","owner":"cooper-square-technologies","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0df4a76c6a1e9b7e4f30fb","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"en","tag":"Platform guides","count":223},{"language":"es","tag":"Guías de la plataforma","count":223},{"language":"ja-jp","tag":"プラットフォームガイド","count":223},{"language":"en","tag":"Platform Configuration","count":83},{"language":"es","tag":"Configuración de la plataforma","count":83},{"language":"ja-jp","tag":"プラットフォーム設定","count":83},{"language":"en","tag":"Analytics","count":73},{"language":"en","tag":"Developer docs","count":73},{"language":"es","tag":"Analítica","count":73},{"language":"es","tag":"Documentación para desarrolladores","count":73},{"language":"ja-jp","tag":"アナリティクス","count":73},{"language":"ja-jp","tag":"開発者向けドキュメント","count":73},{"language":"en","tag":"Integrations and Connectors","count":57},{"language":"es","tag":"Integraciones y conectores","count":57},{"language":"ja-jp","tag":"インテグレーションとコネクタ","count":57},{"language":"en","tag":"AI Marketer \u0026 Agents","count":56},{"language":"es","tag":"AI Marketer y Agents","count":56},{"language":"ja-jp","tag":"AI Marketer と Agents","count":56},{"language":"en","tag":"Integration guides","count":55},{"language":"es","tag":"Guías de integración","count":55},{"language":"ja-jp","tag":"インテグレーションガイド","count":55},{"language":"default","tag":"Developer docs","count":40},{"language":"default","tag":"REST API \u0026 SDKs","count":40},{"language":"default","tag":"API Reference","count":40},{"language":"default","tag":"Profound API Endpoints","count":40},{"language":"en","tag":"Agents","count":36},{"language":"en","tag":"REST API \u0026 SDKs","count":36},{"language":"es","tag":"Agents","count":36},{"language":"es","tag":"REST API y SDKs","count":36},{"language":"ja-jp","tag":"Agents","count":36},{"language":"ja-jp","tag":"REST API と SDK","count":36},{"language":"en","tag":"Agent Analytics","count":31},{"language":"es","tag":"Agent Analytics","count":31},{"language":"ja-jp","tag":"Agent Analytics","count":31},{"language":"default","tag":"Categories","count":8},{"language":"default","tag":"Knowledge Bases","count":7},{"language":"default","tag":"Reports","count":7},{"language":"default","tag":"Organization","count":5},{"language":"default","tag":"Agents","count":4},{"language":"default","tag":"Prompts","count":4}],"searchSettings":{"showContentSnippets":false}},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"type":"email","email":"support@tryprofound.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-nav-tag=\"BETA\"]{color:#92400e!important;background-color:#fef3c7!important}.dark [data-nav-tag=\"BETA\"]{color:#fde68a!important;background-color:rgba(251, 191, 36, 0.15)!important}.role-permissions-table table{table-layout:fixed;width:100%}.role-permissions-table th:first-child,.role-permissions-table td:first-child{width:34%}.role-permissions-table th,.role-permissions-table td{padding-left:0.375rem;padding-right:0.375rem;overflow-wrap:break-word}aside:has(pre),aside[class*=\"example\"],[class*=\"request-example\"],[class*=\"RequestExample\"]{position:static!important;top:auto!important;align-self:start!important;height:auto!important;max-height:none!important;overflow:visible!important}aside:has(pre) *,[class*=\"request-example\"] *,[class*=\"RequestExample\"] *{max-height:none!important}aside:has(pre) pre,[class*=\"request-example\"] pre,[class*=\"RequestExample\"] pre{max-height:none!important;height:auto!important;overflow-y:visible!important;overflow-x:auto!important}.katex-display,.katex-display>.katex,.katex-display>.katex>.katex-html{overflow:visible!important;max-height:none!important;padding:0.5rem 0}.ai-disclaimer{font-size:0.875rem;color:#6b7280}.dark .ai-disclaimer{color:#9ca3af}#navbar div:has(>#localization-select-trigger){position:absolute;right:0;top:0;height:100%;z-index:40}#navbar div:has(>nav[aria-label=\"Main\"]){padding-right:4.5rem}html[lang=\"en\"] #localization-select-trigger>span,html[lang=\"es\"] #localization-select-trigger>span{font-size:0;line-height:1}html[lang=\"en\"] #localization-select-trigger>span::after,html[lang=\"es\"] #localization-select-trigger>span::after{font-size:0.875rem;line-height:1.25rem}html[lang=\"en\"] #localization-select-trigger>span::after{content:\"EN\"}html[lang=\"es\"] #localization-select-trigger>span::after{content:\"ES\"}#navigation-items .sidebar-group-header.pf-collapsible{cursor:pointer;user-select:none;padding-right:0.75rem}#navigation-items .sidebar-group-header.pf-collapsible .pf-chevron{margin-left:auto;flex-shrink:0;color:#9ca3af;transition:transform 0.15s ease}#navigation-items .sidebar-group-header.pf-collapsible[aria-expanded=\"true\"] .pf-chevron{transform:rotate(90deg)}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/agent-analytics.svg\"]{content:url(\"/images/platform-icons/agent-analytics-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/answer-engine-insights.svg\"]{content:url(\"/images/platform-icons/answer-engine-insights-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/assistant.svg\"]{content:url(\"/images/platform-icons/assistant-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/context-manager.svg\"]{content:url(\"/images/platform-icons/context-manager-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/conversation.svg\"]{content:url(\"/images/platform-icons/conversation-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/dashboard.svg\"]{content:url(\"/images/platform-icons/dashboard-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/documents-page.svg\"]{content:url(\"/images/platform-icons/documents-page-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/documents.svg\"]{content:url(\"/images/platform-icons/documents-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/integrations.svg\"]{content:url(\"/images/platform-icons/integrations-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/presentation-chart.svg\"]{content:url(\"/images/platform-icons/presentation-chart-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/projects.svg\"]{content:url(\"/images/platform-icons/projects-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/sheets.svg\"]{content:url(\"/images/platform-icons/sheets-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/shopping-bag.svg\"]{content:url(\"/images/platform-icons/shopping-bag-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/user-group.svg\"]{content:url(\"/images/platform-icons/user-group-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/lock.svg\"]{content:url(\"/images/platform-icons/lock-white.svg\")}.dark img.sidebar-group-icon[src$=\"/images/platform-icons/collaboration-pointer-left.svg\"]{content:url(\"/images/platform-icons/collaboration-pointer-left-white.svg\")}"}]}
{"page":{"pagePath":"agents/how-tos/add-iterations-to-workflows","slug":"/agents/how-tos/add-iterations-to-workflows","pageMetadata":{"title":"Add iterations to Workflows","description":"Loop a Workflow through a list and run the same steps for each item","public":true,"href":"/agents/how-tos/add-iterations-to-workflows"},"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: \"Loop a Workflow through a list and run the same steps for each item\"\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={code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`The Iteration node loops through a list within a Workflow, executing the same sequence of steps for each item automatically.`}),`\n`,_jsx(_components.p,{children:`By default, a Workflow processes a single input and produces a single output. The Iteration node extends this by applying the same process across an entire list, taking multiple inputs and producing multiple outputs within a single Workflow run.`}),`\n`,_jsx(_components.p,{children:`Use an Iteration node when a Workflow must perform a repeated action across multiple values, such as running an LLM prompt for each item in a list of keywords or URLs. Examples include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Analyzing a list of URLs to identify common themes in their content and structure, then optimizing an owned piece of content accordingly.`}),`\n`,_jsx(_components.li,{children:`Collecting prompt responses across multiple answer engines, regions, or topics and conducting bulk analysis on brand and product mentions to surface trends.`}),`\n`,_jsx(_components.li,{children:`Iterating over a list of Reddit threads to generate a clean report on top narratives and recurring themes.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-an-iteration-node`,children:`Add an Iteration node`}),`\n`,_jsxs(_components.p,{children:[`Select the `,_jsx(_components.strong,{children:`+`}),` icon in the Workflow Builder and select `,_jsx(_components.strong,{children:`Iteration`}),`. Alternatively, drag `,_jsx(_components.strong,{children:`Iteration`}),` from the node selection menu into the workflow.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=1cbd216e51655938d567b4d822124efb`,alt:`Workflow Builder with the add-node menu open and Iteration listed under Logic`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/agents/how-tos/add-iterations-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=514981028dc4f2984e98f4870d6cac41 280w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=bd83660163e1d0b83e73e6cfc1d255a7 560w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=d26be58e36af3affbd816b0f7a741ef9 840w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=fcd7a0adbfe5b67f05a22bcffe68673a 1100w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=c9abd937ecfe93ff667015cc15849f41 1650w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=e3e493b910d85ff8fc52b5cfb39556e2 2500w`}),`\n`,_jsx(_components.p,{children:`Iterations require a list of items as the input. The node loops through each item sequentially, passing the current item as a variable to the steps inside the loop.`}),`\n`,_jsx(Heading,{level:`2`,id:`configure-an-iteration-node`,children:`Configure an Iteration node`}),`\n`,_jsx(_components.p,{children:`Configuring an Iteration node requires two things: passing in a list, and building the steps that execute on each iteration. The node contains its own self-contained editor, modeled after the broader Workflow Builder.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=93eb705488edc54dc19d59d36cf2945f`,alt:`Iteration node containing a Prompt LLM step, with a list variable selected under Iterate on`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/agents/how-tos/add-iterations-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=d1ad72b869158690511ec4c8cf041c8f 280w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=79ad21a70dc0a254133febb750ec8690 560w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=ef9d33ed3b9af0e91a086ff1453e1cb1 840w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=eec987a1b8d1fabf5ab61a3b528dbc44 1100w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=3ff74d0078404bfb6415f52ad37d6c82 1650w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=8142e0c35add489b1b52fa057425be42 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`iterate-over-a-list`,children:`Iterate over a list`}),`\n`,_jsxs(_components.p,{children:[`An Iteration node accepts any accessible list variable, including an earlier node’s output. To use a Workflow input, select the input node, add a new input, and choose `,_jsx(_components.strong,{children:`List`}),` from the dropdown.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=66f45291d7e178e7bb8e236643ff4173`,alt:`Add input field dialog with the type menu open and List highlighted`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/agents/how-tos/add-iterations-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=f9961a5666aaf6ef2e46b5c8dd6a13d7 280w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=8831dacf9334b6356edddb0ee8f0a6a6 560w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=3bd827623089941f922f363f360e3adc 840w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=a3ad4ddbd3470ded0a90a228d0ffcc69 1100w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=4abf19e927b26ebce2536609b834fa32 1650w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=91aa95ac1f0fd8eafba6783bbf564a27 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`configure-your-iteration-node`,children:`Configure your Iteration node`}),`\n`,_jsx(_components.p,{children:`Select the node to open the node settings menu, then select the list variable as the value to iterate on.`}),`\n`,_jsx(_components.p,{children:`The output of an Iteration node defaults to the outputs of the last node within it.`}),`\n`,_jsx(Heading,{level:`3`,id:`add-your-iteration-steps`,children:`Add your Iteration steps`}),`\n`,_jsxs(_components.p,{children:[`Add nodes to the Iteration node the same way you add nodes to the Workflow Builder. Select the `,_jsx(_components.strong,{children:`+`}),` icon in the Iteration editor and select a node, or drag a node in from the node selection menu.`]}),`\n`,_jsx(Tip,{children:`Each step repeats for every item in the list. Place any node that should run only once outside the Iteration editor.`}),`\n`,_jsx(Heading,{level:`3`,id:`structure-your-output`,children:`Structure your output`}),`\n`,_jsxs(_components.p,{children:[`Add output fields to map your final results when using the Prompt LLM node. In your LLM prompt, specify what information should populate each field, for example, “`,_jsx(_components.em,{children:`Return each URL in the`}),` `,_jsx(_components.code,{children:`urls`}),` `,_jsx(_components.em,{children:`output field.`}),`” Then add those same fields as structured output fields in the node settings.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=05d7c5c272bc3d67c034c2b575c4471c`,alt:`Prompt LLM settings inside an Iteration node with a prompt and structured output fields for index and value`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/agents/how-tos/add-iterations-4.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?w=280\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=b5dd4b23b893bcede0f86cad6dea4a14 280w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?w=560\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=121215b52df565ffb96bc58a1c140d18 560w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?w=840\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=0e15ba2fdf513a2a788240d302b97ae7 840w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?w=1100\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=3d964be1c77cd57bfdff561dfafb938e 1100w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?w=1650\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=5cf6fc8a8ada941bdd0627a3bc681c0a 1650w, https://mintcdn.com/profound-37face47/krg2axnqfW1y145P/images/agents/how-tos/add-iterations-4.png?w=2500\u0026fit=max\u0026auto=format\u0026n=krg2axnqfW1y145P\u0026q=85\u0026s=b29e270e09bcda5ccb7bde4fe2ff38ee 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`iteration-node-requirements`,children:`Iteration node requirements`}),`\n`,_jsx(_components.p,{children:`There are several requirements to ensure a Workflow executes as expected:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The input must be a list variable accessible to the Iteration node.`}),`\n`,_jsx(_components.li,{children:`The current item variable is only accessible within the steps inside the loop and cannot be referenced in steps outside the Iteration node.`}),`\n`,_jsx(_components.li,{children:`Steps inside the loop execute once per item in the list.`}),`\n`,_jsx(_components.li,{children:`The Iteration node must connect to an End step or additional steps to complete the Workflow run.`}),`\n`]})]})}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":"Add iterations to Workflows","description":"Loop a Workflow through a list and run the same steps for each item","public":true,"href":"/agents/how-tos/add-iterations-to-workflows"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Add an Iteration node","slug":"add-an-iteration-node","depth":2,"children":[]},{"title":"Configure an Iteration node","slug":"configure-an-iteration-node","depth":2,"children":[{"title":"Iterate over a list","slug":"iterate-over-a-list","depth":3,"children":[]},{"title":"Configure your Iteration node","slug":"configure-your-iteration-node","depth":3,"children":[]},{"title":"Add your Iteration steps","slug":"add-your-iteration-steps","depth":3,"children":[]},{"title":"Structure your output","slug":"structure-your-output","depth":3,"children":[]}]},{"title":"Iteration node requirements","slug":"iteration-node-requirements","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/profound-37face47/8d265647b0ea078b/sidebar-collapsible-groups.js"],"subdomain":"profound-37face47","siteName":"Profound","title":"Add iterations to Workflows - Profound","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"contextualStarterQuestions":[{"_id":"6afb4ca90e72b7adeaeb160e","deploymentId":"6753b750487e67e4ea1247ee","questionText":"What can I use iterations for?","status":"active","generatedBy":"contextual","path":"agents/how-tos/add-iterations-to-workflows","createdAt":"2026-11-16T18:34:17.170Z","updatedAt":"2026-11-16T18:34:17.170Z","__v":0},{"_id":"6afb4ca90e72b7adeaeb160f","deploymentId":"6753b750487e67e4ea1247ee","questionText":"How do loops work in workflows?","status":"active","generatedBy":"contextual","path":"agents/how-tos/add-iterations-to-workflows","createdAt":"2026-11-16T18:34:17.170Z","updatedAt":"2026-11-16T18:34:17.170Z","__v":0},{"_id":"6afb4ca90e72b7adeaeb160d","deploymentId":"6753b750487e67e4ea1247ee","questionText":"How do I add an Iteration node?","status":"active","generatedBy":"contextual","path":"agents/how-tos/add-iterations-to-workflows","createdAt":"2026-11-16T18:34:17.170Z","updatedAt":"2026-11-16T18:34:17.170Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/agents/how-tos/add-iterations-to-workflows","matchLevel":0},"es":{"href":"/es/agents/how-tos/add-iterations-to-workflows","matchLevel":1},"ja-jp":{"href":"/ja-jp/agents/how-tos/add-iterations-to-workflows","matchLevel":1}}},"lastModified":"2026-11-16T18:34:09.861Z","originalFileLocation":"agents/how-tos/add-iterations-to-workflows.mdx","locale":"en"},"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=\"Loop a Workflow through a list and run the same steps for each item\">\u003cmeta data-mint-head name=\"application-name\" content=\"Profound\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_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/profound-37face47/Q1dMJpKvzw6s9pGb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add iterations to Workflows - Profound\">\u003cmeta data-mint-head property=\"og:description\" content=\"Loop a Workflow through a list and run the same steps for each item\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Profound\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://profound-37face47.mintlify.site/_mintlify/api/og/v2?division=How-tos\u0026amp;title=Add+iterations+to+Workflows\u0026amp;description=Loop+a+Workflow+through+a+list+and+run+the+same+steps+for+each+item\u0026amp;theme=33a972325390d9500c45c160\u0026amp;signature=e59a33fde029d27e422cb0690295706aaa3d1ba1d66e7aa646b9554f1954a990\">\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=\"Add iterations to Workflows - Profound\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Loop a Workflow through a list and run the same steps for each item\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://profound-37face47.mintlify.site/_mintlify/api/og/v2?division=How-tos\u0026amp;title=Add+iterations+to+Workflows\u0026amp;description=Loop+a+Workflow+through+a+list+and+run+the+same+steps+for+each+item\u0026amp;theme=33a972325390d9500c45c160\u0026amp;signature=e59a33fde029d27e422cb0690295706aaa3d1ba1d66e7aa646b9554f1954a990\">\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/profound-37face47/Q1dMJpKvzw6s9pGb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Profound\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#505050\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/agents/how-tos/add-iterations-to-workflows.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.tryprofound.com/es/agents/how-tos/add-iterations-to-workflows\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja-JP\" href=\"https://docs.tryprofound.com/ja-jp/agents/how-tos/add-iterations-to-workflows\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tryprofound.com/#organization\",\"name\":\"Profound\",\"url\":\"https://docs.tryprofound.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/profound-37face47/GFG246038OVoAEi7/logo/profound-light.svg?fit=max\u0026auto=format\u0026n=GFG246038OVoAEi7\u0026q=85\u0026s=37dd421873254e856c630468bff5009f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tryprofound.com#website\",\"name\":\"Profound\",\"url\":\"https://docs.tryprofound.com\",\"publisher\":{\"@id\":\"https://docs.tryprofound.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows#webpage\",\"url\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\",\"name\":\"Add iterations to Workflows\",\"description\":\"Loop a Workflow through a list and run the same steps for each item\",\"dateModified\":\"2026-11-16T18:34:09.861Z\",\"isPartOf\":{\"@id\":\"https://docs.tryprofound.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agents\",\"item\":\"https://docs.tryprofound.com/agents/about\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How-tos\",\"item\":\"https://docs.tryprofound.com/agents/how-tos/migrate-workflow-to-agent\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add iterations to Workflows\",\"item\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows#article\",\"headline\":\"Add iterations to Workflows\",\"name\":\"Add iterations to Workflows\",\"description\":\"Loop a Workflow through a list and run the same steps for each item\",\"url\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tryprofound.com/agents/how-tos/add-iterations-to-workflows#webpage\"},\"dateModified\":\"2026-11-16T18:34:09.861Z\",\"publisher\":{\"@id\":\"https://docs.tryprofound.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tryprofound.com#website\"}}]}\u003c/script>","agentPointerHref":"/agents/how-tos/add-iterations-to-workflows.md","siteName":"Profound","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://product.tryprofound.com/changelog"},{"anchor":"Status","icon":"traffic-light","href":"https://status.tryprofound.com"}]},"languages":[{"language":"en","products":[{"product":"Platform guides","icon":"layer-group","description":"Profound products, features, and settings","tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Analytics","pages":[{"title":"Analytics","href":"/getting-started/glossary"}]},{"tab":"AI Marketer \u0026 Agents","groups":[{"group":"AI Marketer (Aim)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/assistant.svg","pages":[{"title":"About Profound's AI Marketer (Aim)","href":"/aim/about"},{"title":"Writing prompts for AI Marketer (Aim): best practices and examples","href":"/aim/writing-prompts"}]},{"group":"Agents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/collaboration-pointer-left.svg","pages":[{"title":"About Agents","href":"/agents/about"},{"title":"Get started with Agents","href":"/agents/getting-started"},{"title":"Agents FAQ","href":"/agents/faq"},{"group":"Understand Agents","pages":[{"title":"Building blocks of an Agent","href":"/agents/building-blocks-of-agent"},{"title":"Triggers in Agents","href":"/agents/triggers-in-agents"},{"title":"Tools in Agents","href":"/agents/tools-in-agents"},{"title":"Agents and Workflows: when to use which","href":"/agents/agents-vs-workflows"}]},{"group":"Understand Workflows","pages":[{"title":"About Workflows","href":"/agents/workflows/about-workflows"},{"title":"Workflow runs","href":"/agents/workflows/workflow-runs"},{"title":"Create a Workflow","href":"/agents/workflows/create-workflow"},{"group":"Workflow nodes","pages":[{"group":"Content creation nodes","pages":[{"title":"Create Content Brief node","href":"/agents/workflows/nodes/content-creation/create-content-brief"},{"title":"Article Title Suggestion node","href":"/agents/workflows/nodes/content-creation/article-title-suggestion"},{"title":"Generate Article node","href":"/agents/workflows/nodes/content-creation/generate-article"}]},{"group":"Content optimization nodes","pages":[{"title":"AEO Content Scorecard node","href":"/agents/workflows/nodes/content-optimization/aeo-content-scorecard"},{"title":"Query Fanout Estimator node","href":"/agents/workflows/nodes/content-optimization/query-fanout-estimator"}]},{"group":"Data nodes","pages":[{"title":"Visibility Score node","href":"/agents/workflows/nodes/data/visibility-score"},{"title":"Citation Watched Pages node","href":"/agents/workflows/nodes/data/citation-watched-pages"},{"title":"Citation Domains node","href":"/agents/workflows/nodes/data/citation-domains"},{"title":"Sentiment node","href":"/agents/workflows/nodes/data/sentiment"},{"title":"Sentiment Score node","href":"/agents/workflows/nodes/data/sentiment-score"},{"title":"Citation Share node","href":"/agents/workflows/nodes/data/citation-share"},{"title":"Citation Pages node","href":"/agents/workflows/nodes/data/citation-pages"}]},{"group":"Research nodes","pages":[{"title":"Research Snippets Generator node","href":"/agents/workflows/nodes/research/research-snippets-generator"},{"title":"Article Research Report node","href":"/agents/workflows/nodes/research/article-research-report"}]},{"title":"Prompt LLM node","href":"/agents/workflows/nodes/prompt-llm"},{"title":"Web Page Scrape node","href":"/agents/workflows/nodes/web-page-scrape"},{"title":"Perplexity Search node","href":"/agents/workflows/nodes/perplexity-search"},{"title":"YouTube Title \u0026 Description node","href":"/agents/workflows/nodes/youtube-title-description"},{"title":"YouTube Video Transcript node","href":"/agents/workflows/nodes/youtube-video-transcript"},{"title":"Call API node","href":"/agents/workflows/nodes/call-api"},{"title":"Get Sitemap node","href":"/agents/workflows/nodes/get-sitemap"},{"title":"Human Review node","href":"/agents/workflows/nodes/human-review"}]}]},{"group":"How-tos","pages":[{"title":"Migrate a Workflow to an Agent","href":"/agents/how-tos/migrate-workflow-to-agent"},{"title":"Add conditionals to Workflows","description":"Direct a Workflow down different paths based on variable values","href":"/agents/how-tos/add-conditionals-to-workflows"},{"title":"Add iterations to Workflows","public":true,"href":"/agents/how-tos/add-iterations-to-workflows"},{"title":"Prompt LLM Workflow node best practices","description":"How to write prompts that get the most out of the Prompt LLM node in Workflows","href":"/agents/how-tos/prompt-llm-best-practices"}]}]},{"group":"Context Manager","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/context-manager.svg","pages":[{"title":"About Context Manager","href":"/context-manager/about"},{"title":"Get started with Context Manager","href":"/context-manager/getting-started"},{"title":"Context Manager FAQ","href":"/context-manager/faq"},{"title":"Knowledge Bases and Brand Kits","href":"/context-manager/knowledge-bases-and-brand-kits"},{"title":"Create and manage Brand Kits","href":"/context-manager/manage-brand-kits"},{"title":"Create and manage Knowledge Bases","href":"/context-manager/manage-knowledge-bases"},{"title":"Use Knowledge Bases and Brand Kits with Workflows","href":"/context-manager/using-with-workflows"}]},{"group":"Documents","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/documents-page.svg","pages":[{"title":"Profound Documents","href":"/documents/about"}]},{"group":"Projects","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/projects.svg","pages":[{"title":"About Projects","href":"/projects/about"},{"title":"Get started with Projects","href":"/projects/getting-started"},{"title":"Projects FAQ","href":"/projects/faq"},{"title":"Suggestions from Aim","href":"/projects/suggestions-from-aim"}]},{"group":"Sheets","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/sheets.svg","pages":[{"title":"Get started with Sheets","href":"/sheets/getting-started"},{"title":"Run Workflows from Sheets","href":"/sheets/run-workflows-from-sheets"}]},{"group":"Slides","icon":"https://mintlify.s3.us-west-1.amazonaws.com/profound-37face47/images/platform-icons/presentation-chart.svg","tag":"Beta","pages":[{"title":"About Slides","href":"/slides/about"},{"title":"Get started with Slides","href":"/slides/getting-started"},{"title":"Live collaboration in Slides","href":"/slides/collaboration"},{"title":"Slides FAQ","href":"/slides/faq"}]}]},{"tab":"Platform Configuration","pages":[{"title":"Platform Configuration","href":"/platform-config/authentication/sso-overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/prompt-guides/overview"}]}]},{"product":"Developer docs","icon":"code","description":"REST API, SDKs, and MCP server","pages":[{"title":"Developer docs","href":""}]}]},{"language":"es","pages":[{"title":"es","href":"/es/agents/how-tos/add-iterations-to-workflows"}]},{"language":"ja-jp","pages":[{"title":"ja-jp","href":"/ja-jp/agents/how-tos/add-iterations-to-workflows"}]}]},"basePath":"","title":"Add iterations to Workflows - Profound","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-CK2spQ6G.js","lightbox-handle-r17bVUz3.js"]}