{"id":7473,"date":"2026-08-19T19:10:07","date_gmt":"2026-08-19T19:10:07","guid":{"rendered":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/flux\/"},"modified":"2026-08-19T19:10:07","modified_gmt":"2026-08-19T19:10:07","slug":"flux","status":"publish","type":"wvn_doc","link":"https:\/\/www.wiven.ai\/en\/wiven-llm\/docs\/agents\/flux\/","title":{"rendered":"Agent workflows"},"content":{"rendered":"<h1>Agent workflows<\/h1>\n<p>A <strong>flow<\/strong> is a sequence of steps defined in advance, constructed visually,<br \/>\nand always executed in the same order. Where an agent decides what to do,<br \/>\na flow does what was intended.<\/p>\n<hr \/>\n<h2>When to prefer a feed to an agent<\/h2>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>Agent<\/th>\n<th>Flow<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Decide on the steps<\/strong><\/td>\n<td>The model<\/td>\n<td>YOU<\/td>\n<\/tr>\n<tr>\n<td><strong>Reproducibility<\/strong><\/td>\n<td>Variable<\/td>\n<td>Identical with each execution<\/td>\n<\/tr>\n<tr>\n<td><strong>Adapting to the unexpected<\/strong><\/td>\n<td>Good<\/td>\n<td>None<\/td>\n<\/tr>\n<tr>\n<td><strong>Number of calls to the model<\/strong><\/td>\n<td>Pupil<\/td>\n<td>Reduced to the steps that need it<\/td>\n<\/tr>\n<tr>\n<td><strong>Debugging<\/strong><\/td>\n<td>Difficult<\/td>\n<td>Step by step<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Take a stream<\/strong> when the procedure is stable and the result must be<br \/>\nconstant: a daily extraction, a standardized processing, a call<br \/>\nAPI followed by formatting.<\/p>\n<p><strong>Take an agent<\/strong> when the approach depends on what one finds along the way.<\/p>\n<hr \/>\n<h2>The manufacturer<\/h2>\n<p><code>Settings \u2192 Agents \u2192 Flow Builder<\/code>.<\/p>\n<p>The interface is a sequence of blocks. Each block receives what the previous one did.<br \/>\nproduced and transmits its own result to the next person, via <strong>variables<\/strong>.<\/p>\n<h3>The available blocks<\/h3>\n<p><strong>Startup.<\/strong> Declares the input variables of the stream \u2014 what is provided to it at<br \/>\nlaunch.<\/p>\n<p><strong>API call.<\/strong> Sends an HTTP request: URL, method, headers, body of<br \/>\nquery. The response is stored in a variable. An option allows you to return<br \/>\nthe answer directly to the user, without going through the model \u2014<br \/>\nuseful when the result is already usable as is.<\/p>\n<p><strong>Instructions for the model.<\/strong> Gives the model an instruction, applied to the<br \/>\nAvailable variables: summarize, extract, reformat, classify. The result is<br \/>\nstored in a variable.<\/p>\n<p><strong>Web extraction.<\/strong> Retrieves the content of a URL and stores it in a variable.<\/p>\n<p>The blocks are chained together as many times as necessary.<\/p>\n<hr \/>\n<h2>An example<\/h2>\n<p><strong>Objective :<\/strong> Each morning, check the new publications from a source<br \/>\nregulatory and produce an internal memo.<\/p>\n<ol>\n<li><strong>Startup<\/strong> \u2014 variable <code>source_url<\/code>.<\/li>\n<li><strong>Web extraction<\/strong> \u2014 retrieves the content of <code>source_url<\/code> \u2192 <code>raw_content<\/code>.<\/li>\n<li><strong>Instruction<\/strong> \u2014 \u00abExtract only publications dated yesterday or<br \/>\n   of today. If none, answer exactly: NONE. \u00bb \u2192 <code>new products<\/code>.<\/li>\n<li><strong>Instruction<\/strong> \u2014 \u00abWrite an internal memo of no more than ten lines based on<br \/>\n   <code>new products<\/code>, citing the references. \u00bb \u2192 <code>note<\/code>.<\/li>\n<li><strong>API call<\/strong> \u2014 publishes <code>note<\/code> in the internal distribution tool.<\/li>\n<\/ol>\n<p>This flow, associated with a <a href=\"\/en\/wiven-llm\/docs\/agents\/taches-planifiees\/\">planned task<\/a>, executes<br \/>\nevery morning without intervention.<\/p>\n<hr \/>\n<h2>Use a stream<\/h2>\n<p>A published feed becomes a <strong>skill<\/strong> It is therefore usable by agents.<br \/>\ncallable:<\/p>\n<ul>\n<li>from a conversation, by entrusting the task to the agent; ;<\/li>\n<li>from a scheduled task; ;<\/li>\n<li>within another sequence.<\/li>\n<\/ul>\n<hr \/>\n<h2>Best practices<\/h2>\n<p><strong>Test block by block.<\/strong> A flow is built by adding one step at a time and<br \/>\nby checking its output, rather than writing the whole thing before the first attempt.<\/p>\n<p><strong>Name your variables explicitly.<\/strong> <code>list_of_unpaid_invoices<\/code> better than<br \/>\n<code>result2<\/code> \u2014 the readability of the feed depends on it, and you will come back to that in six<br \/>\nmonth.<\/p>\n<p><strong>Plan for the empty case.<\/strong> What should happen if the API returns nothing, if the<br \/>\nThe page is inaccessible if there are no new features? An explicit instruction<br \/>\nThis case avoids absurd outcomes.<\/p>\n<p><strong>Constrain the format of the model&#039;s outputs.<\/strong> \u00ab&quot;Respond only with a<br \/>\n&quot;Bulleted list, without introduction&quot; produces a result usable by the next step<br \/>\nnext; a vague instruction produces a text that needs reprocessing.<\/p>\n<p><strong>Beware of secrets.<\/strong> An API call may require a key. Handle these<br \/>\nstream with the same caution as a production script, and limit who can access them<br \/>\nto modify.<\/p>","protected":false},"parent":7455,"menu_order":405,"template":"","meta":[],"class_list":["post-7473","wvn_doc","type-wvn_doc","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Flux d&#039;agents \u2014 Documentation WivenLLM<\/title>\n<meta name=\"description\" content=\"Construire sans code un encha\u00eenement d\u00e9terministe d&#039;appels d&#039;API, d&#039;instructions et d&#039;extractions web.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wiven.ai\/en\/wiven-llm\/docs\/agents\/flux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flux d&#039;agents \u2014 Documentation WivenLLM\" \/>\n<meta property=\"og:description\" content=\"Construire sans code un encha\u00eenement d\u00e9terministe d&#039;appels d&#039;API, d&#039;instructions et d&#039;extractions web.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wiven.ai\/en\/wiven-llm\/docs\/agents\/flux\/\" \/>\n<meta property=\"og:site_name\" content=\"Wiven AI\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/agents\\\/flux\\\/\",\"url\":\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/agents\\\/flux\\\/\",\"name\":\"Flux d'agents \u2014 Documentation WivenLLM\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wiven.ai\\\/#website\"},\"datePublished\":\"2026-08-19T19:10:07+00:00\",\"description\":\"Construire sans code un encha\u00eenement d\u00e9terministe d'appels d'API, d'instructions et d'extractions web.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/agents\\\/flux\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/agents\\\/flux\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/agents\\\/flux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wiven.ai\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Les agents\",\"item\":\"https:\\\/\\\/www.wiven.ai\\\/wiven-llm\\\/docs\\\/agents\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Flux d&#8217;agents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wiven.ai\\\/#website\",\"url\":\"https:\\\/\\\/www.wiven.ai\\\/\",\"name\":\"Wiven AI\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wiven.ai\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Agent Flow \u2014 WivenLLM Documentation","description":"Build a deterministic sequence of API calls, instructions, and web fetches without writing code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wiven.ai\/en\/wiven-llm\/docs\/agents\/flux\/","og_locale":"en_US","og_type":"article","og_title":"Flux d'agents \u2014 Documentation WivenLLM","og_description":"Construire sans code un encha\u00eenement d\u00e9terministe d'appels d'API, d'instructions et d'extractions web.","og_url":"https:\/\/www.wiven.ai\/en\/wiven-llm\/docs\/agents\/flux\/","og_site_name":"Wiven AI","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/flux\/","url":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/flux\/","name":"Agent Flow \u2014 WivenLLM Documentation","isPartOf":{"@id":"https:\/\/www.wiven.ai\/#website"},"datePublished":"2026-08-19T19:10:07+00:00","description":"Build a deterministic sequence of API calls, instructions, and web fetches without writing code.","breadcrumb":{"@id":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/flux\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/flux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/flux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wiven.ai\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/"},{"@type":"ListItem","position":3,"name":"Les agents","item":"https:\/\/www.wiven.ai\/wiven-llm\/docs\/agents\/"},{"@type":"ListItem","position":4,"name":"Flux d&#8217;agents"}]},{"@type":"WebSite","@id":"https:\/\/www.wiven.ai\/#website","url":"https:\/\/www.wiven.ai\/","name":"Wiven AI","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wiven.ai\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"}]}},"_links":{"self":[{"href":"https:\/\/www.wiven.ai\/en\/wp-json\/wp\/v2\/wvn_doc\/7473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wiven.ai\/en\/wp-json\/wp\/v2\/wvn_doc"}],"about":[{"href":"https:\/\/www.wiven.ai\/en\/wp-json\/wp\/v2\/types\/wvn_doc"}],"up":[{"embeddable":true,"href":"https:\/\/www.wiven.ai\/en\/wp-json\/wp\/v2\/wvn_doc\/7455"}],"wp:attachment":[{"href":"https:\/\/www.wiven.ai\/en\/wp-json\/wp\/v2\/media?parent=7473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}