ZASTRAGuide

Agent component reference

The canvas connects typed inputs and outputs. Open a node to see its settings, choose values or insert a variable from an earlier node, then connect its output to the next step. A file supplied to Begin is an input to that run; it is not automatically stored or indexed in a dataset. Run a sample through each branch, save the design and publish the version intended for scheduled execution.

For a Begin or UserFillUp field with Choices or Multiple choices, select Add display labels when users need clearer wording than the configured values. Enter one distinct, non-empty label for each choice in order. The form shows these labels while the workflow receives the original configured choice value. Row columns use the same choice editor. Select Remove display labels to show the configured values again.

For an unassigned, non-contextual UserFillUp form with scalar fields, turn on Start with the latest accepted answers to show the latest accepted response from the same case as editable starting values. Review the fields and submit when ready; submitting replaces the whole response. If you clear a value, it remains cleared, and an older answer is not restored. Nothing is sent until you submit, and a response is not an approval. This option is unavailable for forms with file, Object or rows fields, assignment, response context, review details, issue review or source assessment.

The AI workflow designer can create or revise workflows with up to 512 nodes and 1,024 connections. Imported workflow-template JSON remains limited to 8 MB. If a workflow exceeds a graph limit, simplify or split it; keep all review, safety and recovery steps.

If Browser startup fails, check the managed browser service, selected model and destination folder, then retry after correcting the reported issue. A startup error does not confirm that the requested browser actions ran.

Conversation and control flow

If a model step stops because its prompt would be cut, split the input across smaller batches or select a model with more room. If the model returns no answer, check the output limit and reasoning effort before retrying. A step that times out or fails shows an error; review that error before continuing any work that depends on the result. When editing a Code step, its declared artifact output remains available to connected steps.

For a VLLM or OpenAI-API-Compatible Agent step, enable Max tokens to cap each model reply. ZASTRA reduces the requested limit when the model’s configured output or remaining context is smaller. If the provider cuts a reply, review the affected result before using it and split the input for a fresh attempt when needed. With the switch off, the provider uses its default. Read timeouts in these two providers end the attempt directly. Check the step’s error and the provider’s availability before retrying.

In Begin or Await response, open a field's settings and use Name by language to enter one code: name per line, for example fr: Période du. The form shows a matching name for the user's interface language and uses Name as the fallback. The field key and answers stay the same. A file field accepts up to 20 files unless you set a different limit. Use Language of the running user (sys.language) in a workflow to choose its own translated messages; set a fallback for share links and automated runs, which have no account language.

For a fixed CodeExec, Document Generator or ExcelProcessor step that needs recovery, connect its red On failure output to a review branch; a root-level step can enter a correction Loop. Inside a Loop, connect the failure output to a separate terminal Variable assigner in that same Loop and keep its hold state unchanged on every failure. Use the normal success output for another Variable assigner. Set the Loop state so only a successful result ends the Loop; check the maximum count and route exhaustion to a hold or follow-up step. Each iteration runs again and needs a fresh UserFillUp answer. Keep fixed code safe to repeat, and place email, external writes and other business side effects after successful Loop exit. An ExcelProcessor evidence read that fails needs review; correct file access, the selected file field or answer scope before rerunning. A Document Generator publishes its file when generation succeeds; an error during or after publication cannot be retried through the failure route, so inspect the run and generated files before deliberately rerunning. When CodeExec returns a normal result with status: hold, route it with Switch instead.

A fixed-step retry must stay in the same workflow scope. A failure route inside a Loop cannot jump to its start, another Loop or the workflow root. A second invalid correction consumes the next Loop iteration; when the configured maximum is reached, the exhausted output should lead to a clear hold or follow-up. Do not treat exhaustion as success or run downstream publishing actions from that branch. A permissions denial or source mismatch is not fixed by retrying; correct the account, selected file field or answer scope first.

An Agent inside a Loop can also use On failure, but only to a separate terminal Variable assigner in that same Loop. Set one declared string Loop state to needs_review and leave the cursor and other state unchanged. Route the next bounded iteration through a native UserFillUp form for the same case before retrying. Do not use output from a failed Agent in the review or retry path. Check exhausted first and route it to a hold or follow-up before approval.

Upload run inputs with the account that will execute the agent. A shared agent does not grant access to another account’s private uploads or mailbox attachments. If a saved input belongs to another account, upload your own copy and select it again. The same rule applies to chat attachments, Excel inputs and pipeline test files.

On a UserFillUp form configured for factual issue review or scoped source assessment, turn on Reuse completed review when its records and questions are unchanged. Reuse applies only while its records, questions, evidence, participants and purpose remain unchanged. A change to any of them, or an unresolved answer, requires a new review. Any configured business approval step still runs; this setting does not approve the package.

Wait for every selected file to finish uploading before submitting. If an upload fails, remove that selection and select the file again; submission remains unavailable while uploads are pending or a selected upload has failed. Removing a file from the form excludes it from the next submission. Previously accepted files are only detached from this selection; they remain available to their saved runs. A cleanup notice distinguishes a file still retained by a saved run, cleanup queued for later, and a failed cleanup. A queued cleanup does not confirm that storage removal is complete. For a cleanup failure, correct the reported problem before using the retry action; do not keep retrying a file retained by a saved run.

Choosing files when a form repeats. If a UserFillUp form shows Previous files from this case, the current selection is already checked. Leave it unchanged to reuse those originals without uploading them again. Search the list to select earlier files, untick files to leave them out, or use Add new files to combine originals with new documents. To replace the selection, untick the previous files and add the replacements. Clear selection empties this field; it does not delete accepted files or change earlier responses. A required file field still needs at least one selected file. File-count and size limits also apply to reused files.

In an assigned review with computed review details, Previous files from this case can include your own accepted uploads from earlier rounds of the same form.

If the form reports unavailable files, make an explicit selection from the files still offered, add an accessible replacement, or ask the owner to restore access. An earlier selection does not preserve permission after access is withdrawn. Review the current selection before submitting; correcting another answer does not require uploading the same files again.

To test one node, open its Test run panel and supply the displayed input values. A Message node lists the system and upstream variables used across its reply choices, including sys.query when referenced. These sample values apply to that node test in both streaming and complete-result mode; they do not change the saved values of earlier nodes. A node with no inputs has an empty form. After checking the node output, run the complete workflow to verify its connections and branches.

Begin declares text, file or structured inputs.

For each file input, choose File processing. Extract text on submit is the default and parses the upload when the form is submitted. Keep originals for connected readers keeps the validated original upload for a connected FormEvidenceReader or ExcelProcessor to process later from its accepted file record. This setting applies to every file field on the Begin or UserFillUp step. Choose it when the workflow should control where and when the file is read. Both modes still require an upload available to the account running the workflow; keeping a file does not grant access or parse it by itself.

On an Agent step, Include chat attachments is on by default and automatically adds chat attachment text and images to that Agent’s prompt. Turn it off when the Agent should use only its bounded configured inputs; explicit {sys.files} references and visual file inputs still work. This does not change file permissions.

Use the add, edit, delete and move controls in its input list to manage fields; the canvas preview and user form follow the saved order. Message returns a result. Await response asks the user for more input in an interactive run. Switch evaluates explicit conditions such as equality, comparison, containment or emptiness; use it when a decision can be stated as a rule. Categorize uses its selected model to assign natural-language input to categories. Give categories clear names, descriptions and examples, and connect every relevant output branch. The model selected here may differ from the downstream generation model.

Review proposed changes

On an interactive Await response (UserFillUp) step, configure Issue review inputs with fixed connected Object outputs for the proposal and source records, and declare the scalar fields reviewers may correct. Leave all three settings empty for an ordinary form. The case owner sees each current value, proposal and missing value, then explicitly chooses Keep the proposed value, Enter another value, Dismiss the proposal or Report a missing item. No action is preselected. Corrections, rejections and evidence requests require a reason; issues left unanswered remain unresolved. An assigned reviewer can answer in Tasks, and the case owner can continue the same case to provide a requested clarification. These choices resolve factual record proposals; they are not business approval. Consequential release still requires ApprovalGate and a fresh approval.

When the workflow writes each issue itself as a question, the form shows a question card instead. The heading is the question, and the answer field appears directly under Your answer: a proposal you keep is sent as Keep the proposed value, any other answer as Enter another value, and a question you leave untouched stays open. Add a note is optional. If you cannot answer, choose I can’t answer — something is missing and say what is missing; the question stays open and your note is shown with it again. Source excerpts are folded until you open them, and a summary above Send my answers counts answered, waiting and open questions. When a workflow prepares its own proposal Object, each issue can also describe itself to the reviewer: a question (title), an optional heading for the answer field (label), up to eight short notes (notes) and up to four source excerpts (sources, each with label, quote and an optional page, sheet, row or column). The reviewer sees the question and notes above the value and can check each excerpt against the named page or cell of the original file. Excerpts are shown only when the case owner reviews; a form with an assigned reviewer accepts questions and notes but no excerpts. Notes and excerpts explain the issue; they do not prove the value, so check the original before keeping a proposal. When extraction changes an interpretation or separates an ambiguous grouping, compare each earlier proposal and the revised value with their cited passages and locations. Change the value or request evidence as needed. Your decision applies to the current field. An original-document location helps you find the record; it does not verify the field. If Keep the proposed value is unavailable, inspect the original, then use Enter another value and explain your correction. You may retain the same value if your own check supports it. Some comparisons show quotation previews and list additional citations. Open the listed source files to inspect the complete passages.

To assess parser output for a native record collection, configure Source assessment on Await response (UserFillUp) with the original whole-collection results_ref from StructuredExtraction or factual review, plus a lowercase purpose identifier. The assessment applies to that collection; it is not an assessment Object input. The response form must contain only one required Object input named dispositions, with no default. The reviewer must choose a disposition and give a reason for every listed source. Allow scoped use is unavailable for ineligible sources. This decision covers only the listed available parser output; it does not establish full-document completeness or business approval. The assigned reviewer opens the assessment in Tasks. To include original files from the case, configure Read-only review context and explicitly select earlier connected upload fields. Leave the general run-file sharing option off. The task links the selected originals for that reviewer and case. Ask the case owner for any other evidence you need. Allow scoped use applies only to eligible listed parser output; it grants no file access and is not business approval. After the reviewer submits the form, connect its accepted page through AcceptedFormReader and use that page with the same original collection in Data operations → Apply source-use decisions, using the same purpose. Every downstream native consumer that uses this scoped collection must set Source-use purpose to that same purpose in Data operations, ExcelProcessor or ApprovalGate. Pass the producer’s full results_ref where all rows are required; previews do not represent the whole collection. Missing, changed or inaccessible inputs remain held for review.

A PDF containing unreadable passages can be eligible for scoped use when every page has readable content and the remaining uncertainty is limited to passages. Inspect the affected pages before allowing use for the stated purpose, and explain why the available content is sufficient. Missing or wholly unreadable pages still require replacement or another reading attempt. This decision does not resolve uncertain facts or approve the business package.

Understand and resolve factual findings. Review questions concern reported uncertainty, an invalid value or a required fact that is missing; an unused optional field does not require an answer. Read the field label, review reason and, where available, the model explanation and source excerpt with its page or spreadsheet location. Check that the value has the right meaning for that field, not merely that the same words appear in the source. Keep the proposed value is available only when the value has suitable evidence and you can inspect the source. Otherwise use Enter another value with a reason and factual basis, Report a missing item, or leave it unanswered. Assigning a review task does not give access to the owner’s private source files; excerpts and source explanations may therefore be unavailable. Records still on hold lists findings that cannot be resolved by editing the fields on this page. Continuing or seeing no findings for the selected fields does not clear those holds. Ask the case owner or workflow author to address the source or remaining scope, then prepare a current review. For a native collection, select that collection directly; do not place it behind an Object issue proposal. Factual decisions keep unchanged source quotations, while a corrected field records the reviewer’s decision and reason. Other unresolved findings remain open. This review does not grant business approval. Base factual corrections on the original submitted evidence selected for this review. Do not edit calculated or other downstream values here; rerun those steps from the accepted source decisions. If the original evidence does not support a correction, request evidence or leave the question unanswered.

When a related source is available, the card shows the original file, its location and values already supported by that source. Use those details to find the record and check the missing field. If the record has no verified source location, it stays on hold until the case owner identifies it in the original documents or supplies a corrected source. If a card reports a problem reading the source or identifying the table, ask the case owner to check the named source and prepare a new review after it is resolved.

For workbook findings, a quotation may cover other rows or may not establish a field for the intended row. Check the original worksheet and correct the value only with a factual basis, or request evidence. The worksheet meaning or shared context may also remain unresolved and affect several fields. Verify the intended meaning in the original before correcting values, or request evidence.

When factual review shows Complete saved worksheet row, check the sheet and row and inspect every displayed cell, including its address, type, saved value, formula, number format and any merged ranges. An empty saved formula result remains empty; do not infer a value. Compare the displayed row with the original workbook. Correct a value only with a factual reason, reject the proposal, or request evidence. These are factual review decisions, not business approval.

If a factual review shows a whole-record schema rule, review the labeled current values and any available explanation. The rule applies to the whole record and does not identify one field as wrong. Make only changes supported by your review. Optional repair fields can remain unchanged; a field with a separate finding still needs its own decision. All changes are checked together after the final review page. If the record still does not meet the schema, it remains on hold and needs further evidence or help from the workflow author.

If your saved factual review is interrupted and Restart factual review is available, choose it to open page 1 with the saved extraction. Earlier answers remain in the case history. Use the new review to make the current decisions.

If an answer is too large to submit, keep the source reference and the reason for your decision, and shorten any repeated explanation. Check the run status before submitting again.

If a PDF recovery step failed to combine its saved results before the first page of factual review, Restart factual review can rebuild that page with the recovered records. The action uses the original files and saved extraction. Follow the current step in the run status and wait for the new review before answering. If the action reports an interruption, refresh the run and ask the workflow owner to check the recovery step in Run details.

To return to a pending review, open the saved run in Runs. If the review cannot be loaded, reopen the run before entering any decisions.

When only exceptions need review. In workflows configured to continue when a validated extraction has no findings, clean reads can proceed automatically; other UserFillUp forms keep their configured behavior. When source reading is uncertain, the review shows the source document number, reading scope, affected pages and reported limitations when you are authorized to see them. Check the affected source and request or provide corrected evidence when needed. Do not guess from an unreadable page or source section. Reprocess the affected workflow steps before relying on corrected results. Factual review and any configured business approval remain separate.

Select an item and use the full filename and page shown below the selector to locate it in the original. Add the reason and choose whether to reread the source or provide a clearer copy.

An accepted factual response can still leave a record or source control held. A valid Keep the proposed value, Enter another value or Dismiss the proposal closes that declared factual question; a rejection leaves its record held. A missing answer or Report a missing item still needs a response. If the form is complete but a hold remains, continue through the separate configured source assessment where present; otherwise ask the case owner or workflow author to repair the evidence or scope. Apply source-use decisions and any configured business approval as separate steps. A factual answer never grants approval.

When both factual review and source assessment are required, connect control outputs in prerequisite order: StructuredExtraction → factual UserFillUp → AcceptedFormReader → Apply issue decisions → source-assessment UserFillUp → AcceptedFormReader → Apply source-use decisions → calculation or output. Each step’s input settings select its data; a control connection only determines when the step starts. Do not route control to Apply source-use decisions before the source-assessment response has an accepted page. An earlier output can be selected as data without a shortcut control connection; configured business approval remains a separate step. Before a factual or source-assessment Await response (UserFillUp) step, use Data operations → Inspect review scope with the same whole-collection results_ref and select that later connected review form. Its counts let you route the case past that review when there is nothing for that reviewer to decide; keep source and other holds on their configured paths. Inspection is read-only: it does not change the collection, submit answers or grant business approval.

For native record proposals, use the exact same collection reference as the review proposal and its fixed source alias. A large review can arrive in consecutive numbered pages for the same current source revision. Review each page and choose Continue review to receive the next one; submit the final page to apply the collected decisions. The page number and progress label show whether more pages follow. Decisions are applied only after the final page is accepted. Confirmations and corrections are applied. A rejection records a completed decision but leaves its proposal and record unresolved and held; evidence requests and unselected issues have no final answer and need follow-up. If the review cannot finish within the available limits, reduce the intake or scope and start a new review. A changed source requires a new case and review; a supplementary file requested during an open Stage continues that existing case and is a separate action. The revised collection keeps original record identities and review history. Missing fields, changed receipts or sources, records from rejected proposals, evidence requests and unanswered issues remain unresolved until clarified and revalidated, even when the original value passed structural validation. Projection and filtering do not resolve an open decision. A corrected value records a review decision, not a source citation. When an unchanged record from one source is held or pending, its original source quotation remains attached, but the record still needs review. A quotation for the earlier value does not verify a corrected value; check the review history and supporting evidence. An assigned reviewer can use the authorized task and snapshot without access to the case owner’s private raw uploads; the workflow’s executing owner retains raw-source access. Factual review is not business approval.

After the final review page is accepted, add Apply issue decisions and connect the current accepted page from AcceptedFormReader. Its status and revision describe the result and review provenance and history; corrected_sources contains complete corrected source Objects by alias, preserving untouched data. unresolved_issue_ids identifies unanswered proposals, and invalidated_refs identifies reviewed record revisions in the current scope. Assign a value such as corrected_sources.<alias> to ordinary domain Loop state, and route unresolved issues to another clarification or evidence step. Original evidence receipts and history cannot be edited. Invalidated references do not revoke or regenerate generated artifacts; existing artifact-sharing permissions still apply, so review shared artifacts separately.

Choose files for an assigned reviewer

On Await response (UserFillUp), set Assignee email before selecting files. Open Files for the assigned reviewer; file selections are empty by default. Turn on Share all current-case input files to include every accepted upload from this case. Otherwise, choose fields under Selected input file fields: a field choice includes its accepted files, while a numbered choice such as file 0 selects one zero-based position. Use Selected generated files for connected Document Generator or spreadsheet exports and fixed CodeExec artifact_ids outputs. Loop collections are not available for this setting.

When an optional Begin file field may be empty, select that field first. If Replacement files when the Begin upload is empty appears, choose a connected file field from a named, assigned Await response (UserFillUp) form. Its accepted uploads are used only when the selected Begin field has no accepted files. Existing Begin uploads remain the evidence when present; the replacement does not add to or change them. If the needed file is unavailable, correct the field selection or request a new upload.

The files are copied as evidence for the named reviewer; sharing the agent does not grant access to its source files. The existing evidence limits still apply: at most 20 files, 20 MiB per file and 100 MiB combined. If a saved choice is unavailable, check that its source node is connected and configured as the required file field or export. At delivery, missing or changed accepted uploads and unavailable producer receipts hold the assignment; correct the source or submit the needed file again rather than expecting a different file to be substituted.

Assessment

  1. Add Assessment, choose a published decision model available to you, and provide parsed text, JSON, image input, or an earlier connected value as evidence. Raw files must be parsed first. Assessment currently supports the OpenAI catalogue and is unavailable for local-only evidence.

  2. Add Probability, Choice, or Score questions. Choice values are strings or booleans. A Score uses 2–10 ordered levels; its answers.<name>.score is the probability-weighted ordinal index from zero to the number of levels minus one. The separate confidence value describes model confidence. answers.<name>.probability gives a Probability result. Choice distributions follow the submitted choice order; Score distributions follow the configured level order. Use answers.<name>.probabilities to pass the full distribution to a connected step.

  3. Route status to human review before consequential actions. A refusal, low-confidence Choice or Score, or Probability strictly inside the configured uncertainty band sets review; values on the band boundaries are outside it. Refusal answers may omit other question fields, so check the status before using them. A Switch compares declared scalar fields, including an indexed probability; it cannot compare an entire object or array. Assessment does not approve actions. If the model is unavailable or access is removed, correct the selection or access and test again; the workflow does not substitute another model.

Loop and Iteration repeat a contained sequence for an array or until a condition is met. Specify the input item, outputs, termination condition and maximum count. Loop bodies use sequential steps or exclusive alternatives, not parallel branches. Reuse a prior result only when its step is guaranteed to run on that path; otherwise keep the value in declared loop state. In the following Switch, check exhaustion first and route it to a hold or follow-up step before any approval route. Keep external tool calls and retries bounded: an unbounded-looking design may consume tokens, time or provider quota before producing a useful answer. Variable assigner updates state; Variable aggregator gathers outputs from alternate branches. Check variable types at branch joins rather than assuming every branch produced the same field.

To keep a work queue in Loop state, declare a typed array (for example, array<string>) and initialize it with the pending items. Inside that same Loop, Variable Assigner can append or extend arrays, remove the first or last item, clear a value, copy a compatible value with Overwrite, set a fixed string, finite number, true/false value or object, and apply arithmetic to numeric state. When asking the workflow builder for arithmetic, specify a finite numeric constant and use a nonzero divisor. Target state declared by this Loop and use compatible value types; keep 0 and false as real values. Set the termination condition to stop when no work remains, choose a finite maximum, and route exhausted to a hold or follow-up so an unfinished queue is never treated as complete.

For a connected FormEvidenceReader that returns another page, enable Evidence pagination on its containing Loop. Set the Loop termination condition to the reader cursor state being empty; the first page is read before an initially empty cursor is checked. Use a terminal Variable assigner to copy that reader's next_cursor into the same string state on every page. A new pagination Loop starts with a Maximum count of 256 pages; raise it when needed, up to 4,096. This mode accepts only a sequential reader path, an optional tool-free structured Agent and an optional fixed CodeExec reducer; it does not permit user forms or external actions inside the page loop. If the Loop exits with exhausted, pages remain unread and the last cursor stays in Loop state. Route exhausted to a hold or follow-up. Increase the count and rerun if more pages should be read; if 4,096 pages are not enough, narrow the selected sources or review the remaining evidence. Never treat exhaustion or partial pages as complete evidence. Keep only bounded candidate facts and source references in Loop state, not full pages. Ordinary Loops start at 10 iterations. In the Loop editor, set Maximum count as high as 4,096 when the work needs more iterations. If the Loop reaches that maximum before its termination condition is met, route exhausted to a hold or follow-up and do not treat unfinished work as complete. If the hold message needs to explain retained-state capacity, include the Loop output capacity_exceeded; the reader cursor and prior state are preserved when that limit stops an update.

Research and generation

For a Documents write that must update an existing file, give Document storage (DocumentStorageAction) the revision (if_match) returned by a read. storage_path can name a full Documents path inside the configured root instead of path. A file picked in Documents retains its path and revision in the output when you choose Keep originals for connected readers. If the document changed or disappeared, the write returns storage_conflict and leaves it untouched. Read and review the current revision before deciding whether to save again.

For a model step with a preserved prompt or output schema, use the Model selector above the read-only configuration. Changing the model keeps the prompt and output schema; test the step with the new model before publishing.

Retrieved passages expose their exact source dataset, document and, when available, published generation IDs alongside source coordinates. Use these identifiers for Inspect source page; a citation number is not a document ID. If a result contains a heading but omits the requested table row or exception, inspect the original and relevant continuation pages. Check the heading and table boundaries before associating a later row with that heading. Missing search results do not prove that a rule is absent; source inspection does not establish that a regulation is current. Existing dataset permissions, tool allowlists and source-version checks still apply.

Variable aggregation selects the first available source in its configured order. In a branch or Loop, a component output is available only when its producing step ran in the current branch or Loop pass; an alternative that did not run or an earlier Loop iteration cannot supply a stale result. Configured globals and current case inputs remain eligible sources. Keep candidate component outputs in the same or an ancestor Loop scope. For a value needed outside the Loop or across iterations, declare a Loop output or keep the value in Loop state. If a required source is unavailable after a pause, run or collect that source in the resumed workflow before relying on it. Zero, false, empty text and empty lists or objects are valid values; only an unavailable value is skipped. Invalid arithmetic, division by zero or a list/type mismatch fails the assignment without replacing that variable with error text. Correct the input type or operation before retrying.

After cancelling a run, allow active tools to finish stopping before starting dependent work or deleting resources. If initialization fails, review the selected model, tool support and component settings. Ask an administrator to review the configuration if the displayed guidance is not enough.

An Agent with tools needs a model whose published configuration explicitly supports tool calling. Missing or disabled support stops the run with a configuration error. Select an available tool-capable model, or remove the tools if a plain model response is intended; ask an administrator to verify uncertain capabilities. If the selected model is unavailable, correct the model selection before creating a session. In Logs, inspect the tools actually called and their results; adding a tool alone does not guarantee that the model will use it. Temporary run logs are private to the executing account, even when the agent is shared. Sign in with the same account to inspect them promptly after a test.

The Retrieval node takes a query variable, selected dataset(s) or Memory, a threshold and final result limit. Inspect its retrieved passages in a test run before passing them to generation. As an Agent tool, Retrieval can be called when the model decides it is needed; a directly connected Retrieval node runs at its place in the graph. Both enforce current access. Select an available reranker if its extra latency is justified. If several datasets are searched together, use compatible embedding spaces and check per-dataset priority and metadata filters.

Inspect source page examines one physical page of an original PDF. Choose Dataset PDF for a verified original in an allowed dataset. Add the tool from an Agent node’s tool picker when the Agent should decide when to inspect, or use a standalone node for a fixed step. Set Allowed datasets explicitly; the account running the workflow must also have current access. Choose an available Vision model, or leave it blank for the configured default visible to the executing account. The tool does not provision a model or fall back to another one. A local-only dataset requires an already available local vision model. Local-only restrictions also apply to generated files copied into the workflow.

For a file supplied earlier through a connected Begin or assigned form, choose Accepted workflow PDF under Source. Select its Workflow file field, then choose current answers or accepted case history. At run time, provide a native source-selector Object from accepted evidence with the exact source_id, accepted_receipt_sha256, occurrence and position; do not type a filename or storage path. An Agent may supply the selector, page and optional focus, but cannot change the configured file field or scope. Repeated uploads remain separate occurrences and positions. The manifest supports up to 200 sources, and each original PDF is limited to 20 MiB.

Reading instructions are optional author configuration: enter plain text, up to 64,000 characters, before publishing. They start empty. The Agent can supply the permitted source selector, page and focus, but cannot change the published instructions, Output JSON Schema, model, source field or answer scope. Leave Output JSON Schema blank or enter null for the existing visual prose mode. To request structured data directly from the same authorized original page, enter a JSON Schema with "type":"object", for example {"type":"object","properties":{"heading":{"type":"string"}},"required":["heading"]}. Define the fields and how to report missing or unreadable evidence in your instructions and schema; do not ask the model to guess. Publish a new workflow version after changing these settings. A running workflow keeps its published configuration.

The schema must be valid JSON and JSON Schema, with at most 64,000 characters and 16 nesting levels; references and regular expressions are unsupported. Correct any editor error before publishing. An invalid saved draft reopens for correction instead of reusing the previous schema. A truncated response, invalid JSON or schema mismatch produces no usable structured reading. Check the reported problem and original page, narrow the requested fields if necessary, then correct and republish the configuration before retrying. The source and page still require an exact authorized selector; the schema does not find or choose a source automatically.

For a standalone Inspect source page node, connect its red On failure output when the workflow needs a technical recovery branch. A failed or truncated reading provides no usable page data; preserve earlier successful readings and retry only the affected source page. Inside a Loop, route failure to a separate terminal Variable assigner in that same Loop, then check its failure state before the next reading. Keep retries bounded and send unresolved technical failures to a clear follow-up; do not present them as missing accounting facts. Inspect Run details for the failed attempt. Correct an access denial or source mismatch before retrying.

At run time, provide the exact Dataset ID and Document ID for Dataset PDF mode. For either mode, provide a positive Physical PDF page counted from the start of the original file; printed page labels may differ. Pages above 100 are allowed. The verified original PDF must be no larger than 20 MiB. Focus instructions are optional and limited to 1,200 characters; use them to direct attention to visible details such as a nearby heading or table boundary. For Dataset PDF, Generation ID is optional: leaving it blank resolves the active published, verified PDF generation once; an explicitly supplied outdated ID is rejected rather than switched. The result identifies the exact original source and, as applicable, its generation or accepted receipt and SHA, physical page and page count, rendered-image and model provenance, with source provenance retained in result. With a schema, data contains the validated structured output and observation is empty; without a schema, observation contains fallible visual prose and data is empty. Validation checks the requested structure and value types. Check the reading against the source page; it cannot certify the whole document, unseen pages, accuracy, legal compliance or approval.

Preview shows planned inputs only; it does not read or render the source or call a model. Cancellation, an unverifiable accepted receipt, or a change to the source generation, published settings, model or locality policy during processing withholds usable observations and structured data. Agent access is checked again during inspection; if revoked, restore the permission and workflow state before retrying—changing models does not restore access. If inspection fails, confirm access to the dataset or accepted form source, choose the exact document or current accepted receipt selector, check the physical page against the PDF, and verify that the original is available and within 20 MiB. Check with an administrator that the selected or default vision model is available to your account and complies with the source locality policy. If the accepted field, answer scope or other tool settings changed, correct them and republish the workflow before inspecting again. If a pinned generation is outdated, select the current document generation or leave the optional ID blank. Use Stop workflow in the running conversation to cancel an inspection; a cancelled run returns no observation or structured data.

An Agent node selects a published chat model, system and user instructions, available tools, output type, context window, retry behavior and maximum tool/reflection rounds. Insert source-output variables rather than assuming the model has read a previous node. Where structured output is needed downstream, define its JSON schema and test invalid or missing fields. Add an external MCP tool only after connecting that server under Settings → MCP; select local Retrieval independently. A template chosen on the Agent generation node guides the writing format but is not evidence. A final Message node should present the answer and its usable citations. For structured output, Max retries also sets how many additional attempts follow a schema-validation failure. 0 means no correction attempt.

In Agent settings, select Skills or ask the AI workflow designer to use a listed published Skill. The workflow pins an exact published version. Private drafts and Skills you cannot currently use are unavailable; publish a draft through Skills first. A later publication does not change a bound version, and revoked access blocks its use. Preserve a saved binding when changing unrelated settings. To remove it, explicitly clear that Agent's Skill selection; to replace it, select a currently available published version. Skill guidance does not grant tools or permissions.

If an MCP tool is missing or an Agent reports that the selection is unavailable or outdated, open Settings → MCP and refresh the tool catalogue. For OAuth connections, use Discover tools from the saved connection. For anonymous or bearer connections, test and save the connection. Then reopen the Agent, remove and reselect the affected MCP server or tool, and save the workflow. An Agent uses the tool names and input schemas selected in its configuration and requires a fresh selection to adopt later server changes.

Transformation and actions

Document generation supports PDF, DOCX, TXT, Markdown and HTML; Excel export supports XLS, XLSX and CSV. Code nodes can also return .xls, .xlsx or .docx files saved under artifacts/; creating them depends on the libraries available in the configured sandbox. Generated documents, spreadsheets and Message attachments are private to the account that ran the workflow or node test. Sign in with that account and retain access to the agent to preview or download them; sharing the agent does not share its generated files. HTML downloads as a file. Save needed results before deleting the conversation or agent, because deletion removes its generated files unless another saved result still references them. If generation or storage fails, check the run error and retry after correcting it; a failed run does not provide a successful download.

Use the artifact Object output when a later step needs the generated file's ID, actual filename, MIME type and size without its contents. Word-source outputs also include the source-template pins; a committed render receipt adds its digest. The Object is available only after the file is saved and registered in the case. It is cleared if a later generation attempt fails. Use download to show the file to the user. File metadata does not grant access or approval; sharing and approval still check the current case and file permissions.

Document Generator and Message create PDFs from DOCX using the application’s Pandoc and LibreOffice. If a PDF export reports that a converter is unavailable, ask the installation operator to check the application server and its service account. If characters are missing, ask the operator to check that the required fonts are installed on that server. Retry after the problem is corrected.

If an older generated link is unavailable, use a copy previously saved in Files, or review the workflow before repeating generation and downloading the new result.

To download a Message result, select its Download file type and run the node or workflow. Markdown preserves the reply text and accents directly; other formats need the corresponding conversion support. A conversion or storage failure reports an error and does not provide a successful attachment. Check the run error, correct the format or ask your administrator to restore conversion/storage, then retry. Review the downloaded content before using it.

For XLSX, formula-like text is kept as text and empty cells inside a Markdown table stay in their original columns. Numeric values are exported as numbers; use text for identifiers that need leading zeros or more than 15 digits.

Text processing combines or splits text. List operation selects, filters, sorts or deduplicates arrays. Data operation selects, renames, removes or combines object fields. Combine returns one Object; the other operations return an array of objects. Validate records accepts one connected list of objects, or an Object whose items value is a list. Configure an object row schema and add only explicit text, decimal, date or exact-value-to-null normalizations and cross-field rules. Choose decimal separators, rounding and exact date formats yourself; the workflow does not infer a locale or guess an ambiguous date. The source_records output keeps the original rows, while records contains only valid normalized rows. Check status, result and issues; send needs_review to a safe review path and capacity_exceeded to a hold path. For scalar corrections, connect the native UserFillUp review to source_records and bind the proposed fields, when you connect ApplyDecisions.corrected_sources, set Record collection JSON Pointer to /records/items. Then apply accepted decisions with ApplyDecisions and run validation again. Do not use the prior validation result after a correction. A workflow Code node runs its saved Python or JavaScript script in the configured sandbox; only its named input values change at run time. Python calls main(**inputs), so each configured value is a named parameter. Use a synchronous main function and make its parameter names match the configured inputs, or accept additional names with **kwargs. JavaScript calls main(inputs) with one object keyed by the configured names. For example, Python can use def main(**inputs): return {'value': inputs.get('amount')}, while JavaScript can use function main(inputs) { return { value: inputs.amount ?? null }; }. Keep scripts within 65,536 UTF-8 bytes, Standard Code JSON inputs within 8 MiB and JSON results within 4 MiB. Captured stdout and stderr share an 8 MiB limit; the executor response is limited to 64 MiB. Create downloadable files from main with write_artifact(name, content), using a unique plain filename and UTF-8 text or bytes, not a path; do not create another output with the same filename. Supported outputs include CSV, CSS, DOCX, HTML, JPEG/JPG, JavaScript, JSON, Markdown/MD, PDF, PNG, Python, SVG, TXT, XLS and XLSX. Files created with this function are limited to 10 nonempty files, 10 MiB each and 32 MiB total; Raggy limits plain-text artifacts to 1 MiB per file; binary PDF, DOCX and spreadsheet files use the 10 MiB per-file limit. Use the node only for scripts reviewed by the workflow owner, and check the sandbox connection before testing. HTTP, SQL, browser and other installed tools need their own credentials and should be limited to intended destinations. Arbitrary custom crawler proxies are not supported.

Project record sources reads source text for selected scalar fields from a current native record collection. Choose exactly one whole-collection results_ref; the bounded records preview is not a collection input. Add 1–64 distinct JSON Pointer paths. The default required policy needs each selected path to resolve to a scalar for every selected record. Without selections_input, all active records are checked; an explicit Object with a selections list of distinct row_id/path pairs narrows the selection to those configured paths and rows. The present policy instead checks the requested paths across all active records, selects values that are present and scalar, and reports absent and non-scalar counts; leave selections_input empty. Review status, result, issues and coverage. Held rows, changed sources, incomplete source inventory or coverage, and capacity limits require review. Route needs_review to review and capacity_exceeded to a hold; a partial projection is not a complete collection. The result contains selected fields and source locations, not business approval or a substitute for the full records reference.

In a workflow definition, you can also select one collection accumulated by an earlier, connected Loop. Initialize an empty Object array and use Variable Assigner inside the Loop to append only results_ref from Structured Extraction configured for one current original. After the Loop finishes normally, set the collection input to a reference such as {LoopId@originals.0}. Indices start at zero, and the array can hold up to 16 distinct collections. If the selected upload has been removed or the Loop does not finish normally, route the resulting needs_review status to review.

Inside an ordinary Loop, you can queue one selection object per accepted upload in a declared Object array. Configure Structured Extraction for one current original, select the native assigned-form file field as its source, and set the selection input to the first queue item, such as {LoopId@pending.0}. Run extraction only when the queue has an item. Save its results_ref before removing that item. Send a missing selection or a needs_review result to review.

Collect current sources combines a full Begin extraction with the still-selected uploads from a completed correction Loop. For Original intake collection, select the extraction’s results_ref. For Correction collections, select the whole Object array built by the Loop. Start the array empty and append only native results_ref values from one-original extractions of the Loop’s correction uploads. The array can contain up to 15 correction collections. Connect the output results_ref to Project record sources or a source assessment. A missing extraction or changed source selection requires review. Source controls stay in the collection for the reviewer.

For a Code result containing several related values, select Object as the output type and optionally enter an Output schema. The schema describes the fields and their types; mark the fields that must always be returned as required. For example, {"type":"object","properties":{"done":{"type":"boolean"}},"required":["done"]} accepts {"done":true}. Return that object directly from main, without adding a wrapper named after the output. The variable picker then offers the declared fields under your output name, so later steps can use them individually. If a result does not match the schema, the Code step fails and follows its configured error route; correct the script or schema before trying again. Schemas are limited to 64,000 serialized characters and depth 16; schema references and regular-expression rules are not supported. Clear the schema when choosing another output type. Review and republish after changing a published Code schema.

Saving, publishing or testing code requires your own current Sandbox execution permission. An Operator with permission to run the agent can use fixed Code nodes from a published version approved by an authorized editor. Returning that editor to Operator, ending temporary design access or removing Sandbox execution permission preserves the approval of that fixed published program. Existing runs stay with their selected published version; later edits require a new publication and a new run. The Code tool offered to an AI model accepts newly generated scripts and always requires the signed-in runner’s own Sandbox execution permission. Published approval does not enable that tool for shared visitors, assigned-form continuations or background mail, channel and webhook runs.

To withdraw a published program’s approval, an account with agent configuration permission and edit access opens the agent’s Version history, selects the published version and chooses Revoke code approval. Enter a reason and confirm. The selected version records who revoked approval, when and why. Revocation cannot be undone; an authorized editor must review and publish a new version, then start a new run. Disabling or deleting the approving editor’s account suspends its approvals. Restoring an active account with a valid access policy can restore approvals that were never revoked.

If approval is revoked, the approving account is unavailable, or the run’s access or share is withdrawn, the run stops before its next code execution. A code refusal cannot be replaced by the node’s default output or error branch. An external request already in progress may still finish. Ask an administrator to review account access and an authorized editor to review the selected publication. Older code publications and runs without approval require review, republication and a new run. Resetting a workflow does not approve code. Review earlier external actions before repeating a run. Real webhook requests use the published workflow and its published security settings; publish changes before using them, and send a new request if the publication changes during a run.

Email uses one owned mailbox connection for Gmail, Graph-based Outlook or generic IMAP/SMTP. Choose the fixed Draft or Send action and an approved sending identity. Reply to the incoming mail trigger uses that trigger's message and mailbox; Reply mode chooses reply or reply-all. Draft storage can be private in ZASTRA or published into the server's Drafts folder when permitted. Drafts can create a review task and deadline. Supply recipients, subject, plain content and optional formatted content from direct values or earlier outputs; credentials do not belong in this node. Disabled actions reflect the selected connection's capabilities.

Mailbox action marks read/unread, moves, archives or deletes authorized messages through the same connection. A move requires its destination folder. With no explicit message IDs, the action uses the incoming trigger message. A model cannot execute arbitrary mailbox commands or operate a different owner's message.

Create task creates a task for the owner with an optional deadline. Document Generator produces a downloadable file from completed content. Put validation and review branches before actions with side effects. In the composer's dry run, Email, Mailbox action and Create task show planned results without mail changes or new tasks; unsupported tools are blocked. An external MCP error returned as tool text or an exhausted research budget does not automatically stop an Email node in a real run.

Document Generator waits for referenced streamed content to finish. A failed source, conversion or storage operation stops generation instead of creating a document containing an error message. Separate runs may use the same download filename. If generation fails, correct the source or restore conversion/storage and run again; a failed attempt is not a usable download.

Read owner-attested intermediate responses

In AcceptedFormReader, Assigned reviewer response remains the default. Choose Owner-attested response for a new intermediate UserFillUp answer submitted inline by the case owner. This identifies who supplied the response; it is not an independent review or approval. It does not read Begin answers, and only accepted inline responses backed by an owner receipt can be read. A required earlier response can be included from case history when it has that receipt; if it is unavailable, request a new response. If the accepted response or its case/form context is missing or stale, hold dependent work and check the current run. Reopen and answer its pending form if one is shown; if no form is pending or the run has ended, start a new run with current context and request a new response. Restart history at First page after a new answer or source change; never substitute an older answer.

To read a contextual form’s item family, choose Current form items in AcceptedFormReader and select the contextual form field. Use Page cursor to continue from the previous page, and check the page’s complete value before treating the item set as complete.

For Case history, the source selector also offers a form directly inside an earlier ordinary Loop when this reader is at the workflow root. Connect that Loop before the reader and keep Evidence pagination off. The Loop must finish normally before its history can be read; an unfinished or exhausted Loop is held. Nested Loops, disconnected forms and forms in a different sibling Loop are not added to this selection. When a form family was never issued, the native reader reports no response. Create records can retain that absence check only with an explicit empty occurrence selection; it does not confirm that business review is complete.

Read uploaded spreadsheet data

Add ExcelProcessor from the canvas tools and choose Read workbook. Connect it after a Begin file input or a UserFillUp file field, then select the actual declared file field by its displayed name. Each connected file field is listed separately. Parsed text outputs are not workbook sources. For worksheet mapping, per-upload output details, limits, formula-cache requirements and recovery steps, see Read uploaded spreadsheets.

Add FormEvidenceReader when a later step needs parsed records from accepted file answers. Select the connected Begin or UserFillUp file field and choose whether to read its latest submission to that field or all accepted submissions to that same field in the current case. When ExcelProcessor and FormEvidenceReader feed the same review, select the same file field and answer scope in both components. If a file cannot be matched to its accepted answer, stop and check the selected field and scope before continuing. In Read one page mode, the output is a bounded page; continue with a connected reader cursor or string Loop state until no cursor remains. Review unavailable sources and unknown or incomplete coverage before using records. See Read accepted form evidence for recovery guidance.

In FormEvidenceReader → Reading mode, choose Inventory accepted sources to list the configured accepted file field without reading its contents, parsing, OCR or a model call. Read one page remains the default; Save all accepted readings still performs reading. Inventory returns inventory and a metadata summary. It also returns the current manifest case identifier as read-only case_id metadata; this identifies the case only and is not proof of source contents, review or approval. Each entry in inventory.sources contains an exact source_selector, name, size, sha256 and format_hint with extension and mime_type. The hints and declared hash are metadata; they do not verify bytes, file type or document content. The output is marked metadata_only and evidence_only and does not claim a complete reading.

In FormEvidenceReader → Read one page, select a Vision reader and turn on Collect OCR evidence to check numbers against their positions on the upright source page. A connected Capture step with the same file field, scope and reader collects the evidence alongside vision. In each result, page.ocr lists entries by source_position (zero-based upload position) and page (one-based PDF page). Each entry contains an ocr object with image width, height, clockwise rotation and boxes [x0, y0, x1, y1, text] in pixels. A box contains at least one digit. Follow the next cursor even when a batch contains only OCR. Use this output for checks and pass only the reading text to model steps. If OCR returns state: unavailable, use the original page to verify affected values. The normal reading remains available. Publish the workflow and start a new run to collect OCR for new readings.

Inspect the listed upload when the reader cannot check a PDF’s page count. If the file is damaged, encrypted or contains a download error, open the original and upload a fresh, unlocked PDF. If the original opens and the check still fails, ask the workflow owner to investigate. The reader keeps valid sibling readings and marks each unresolved upload for review.

Use the chosen entry’s whole source_selector Object in Inspect source page, with the physical PDF page and the same configured accepted file field and answer scope. For ExcelProcessor, configure the same file field and scope; use the entry’s source_id and accepted_receipt_sha256 in its explicit Source selection when selecting workbooks. The selected reader verifies and reads the original. Inventory is not a parser page, saved capture, or pagination cursor. Choosing inventory clears and hides the parser, recovery model, cursor and source exclusions; inventory cannot use those settings. If a saved inventory configuration reports incompatible settings, switch to a reading mode and back to inventory, then save and republish.

When an ordinary Loop reads an intermediate form's latest accepted upload over several iterations, keep the form and native reader in that same Loop. Route later iterations directly to the reader, keeping its cursor and EvidenceBatch state, instead of asking for the form again. Request a new form answer only when new evidence is needed. Unsubmitted answers are unavailable to the reader.

For a review that needs spreadsheet cells alongside parsed text, set ExcelProcessor's optional Prepared evidence batch to the connected EvidenceBatch Prepare evidence step. Its FormEvidenceReader must use the same accepted file field and answer scope. ExcelProcessor includes stored values, formulas, saved formula results, formats and cell positions only for rows linked to fragments in the current batch; CSV/TSV values remain literal text. Large text cells are processed in smaller source-linked portions. A very large value may be omitted from the separate cell summary to keep the review within its input limit, so check the original cell before relying on a proposed value. The full spreadsheet is not sent to a Code node. A changed or mismatched upload, a row that exceeds the available evidence limit, or a formula without a saved result needs review. Check blank or missing cells in the original spreadsheet; only cells present in the saved workbook are provided. Choose the matching source and scope, save formulas in the spreadsheet application, or reduce or split rows that exceed the limit, then run the review again with current evidence.

The output coverage lists each selected source's workbook supplement as partial for spreadsheet sources or not_applicable for other formats. This describes only whether ExcelProcessor adds workbook context for that source; it does not report source completeness. An empty supplement does not establish that the source contains no relevant records.

With an explicit worksheet mapping, each prepared row batch also includes its mapped column headings and their source-cell references. Auto does not infer headings. Use the runtime mapping selector for layouts confirmed during the current run, and resolve uncertain column meanings through a review form before using the extracted values.

Browser downloads also require successful storage. If a run reports a download error, earlier files may already have been saved; check the destination folder before deliberately repeating browser actions.

When a browser task uploads a URL, use a public HTTP or HTTPS address that does not require a sign-in. Do not put a username, password or access token in the URL. If the page cannot be fetched or converted, no file is uploaded; provide a public direct link or upload the file yourself.

Process evidence in bounded batches

Add EvidenceBatch inside an ordinary Loop after a connected FormEvidenceReader. Declare three Loop variables: evidence_state as Object initialized to {}, evidence_cursor as String initialized to empty, and evidence_status as String initialized to ready. Configure FormEvidenceReader to use evidence_cursor. Add an EvidenceBatch Prepare evidence step with the reader's page output and evidence_state. Route prepare.status to the Agent only when it is ready; send every other status to review without invoking the Agent or committing. Connect model_input to a structured Agent, then add a second EvidenceBatch node in Commit response mode with the prepare node's batch, the same evidence_state, and the Agent's structured output.

For a reusable WorkflowModule, keep the module and its input preparation in this same Loop. In a CodeExec step, pass the prepare node's model_input as its only argument; the argument name is up to you. Return an Object matching the selected module version's pinned input schema. That schema must require evidence_batch_json as a string; preserve the prepared input exactly in that field and provide any other fields required by the module. The CodeExec output schema must match the pinned module input schema. Changed or mismatched evidence input is held for review. Select a published module version whose pinned output schema is a closed Object requiring exactly batch_id (string), records (array of Objects), and coverage (array of closed Objects requiring fragment_id (string) and examined (boolean)). Connect the module's result output directly to the EvidenceBatch commit response; do not wrap or rename the result. The prepare step's configured fragment and byte limits apply to this path too.

If a WorkflowModule reports an invalid structured output schema, open the module’s LLM step and select a valid object schema. Save and publish the corrected module before retrying.

After commit, assign the returned state, next_cursor and status together only when applied is true. For needs_review, capacity_exceeded or conflict, update only evidence_status and preserve the current evidence_state and evidence_cursor. If an exact retry reports no new append (applied is false), keep the current state and cursor. Stop the Loop when evidence_status is not ready; do not stop merely because the reader cursor is empty, since the current page may still contain local slices. Follow the configured native review or recovery route. If no such route is configured, keep the case held for the workflow owner; do not reset or restart it in a way that loses progress.

Set Maximum fragments per batch and the UTF-8 Model input budget on the Prepare node to fit the Agent's prompt. The defaults are 5 fragments and 49,152 bytes; allowed ranges are 1–100 fragments and 4,096–131,072 bytes. The matching Commit automatically uses these Prepare limits. If the Reader page contains no records, its source completeness is unknown: route it to review and do not commit or advance the cursor. The examined coverage acknowledgment means the Agent read every character of each selected slice only. It does not establish that a fact is certain, that the full source was read, or that a business decision was approved. Keep unresolved facts visible in the Agent's domain output and provide a review path.

If an upstream step provides a source-use context for this exact Reader page, configure Source-use context with a separate Object variable in the same Loop. EvidenceBatch checks that the context matches the current case, accepted files and page records, then adds each fragment's review state and permitted-use labels to the prepared analysis input. These labels describe workflow policy; they do not prove approval or determine a business result. The context counts toward the configured input budget. A missing, stale or mismatched context holds the batch for review; do not reuse it for a different page or case.

Set Accepted response sources on EvidenceBatch to every source used by its connected AcceptedFormReader authorities. Each reader’s source choice and the surrounding source-use context must match this list. To use owner-attested answers, choose Owner-attested response on each connected reader and include it here. This records that the case owner supplied the answer; it is not independent review or approval. In case history, only accepted responses with an owner receipt are available; if a required earlier response is unavailable, request a new answer.

Revalidation checks files attached to accepted responses. EvidenceBatch checks the latest accepted decision across the entire connected response history, including when an audit page contains no additional responses. If an attachment is missing or has changed, EvidenceBatch holds the existing batch. Restore access to the original file or collect a fresh response with the replacement, then revalidate before continuing.

Pass fixed extracted evidence to Code

In a Code node inside an ordinary Loop, add a fixed evidence input when a script needs an existing prepared EvidenceBatch. Select Current extracted evidence and choose a configured Prepare evidence step in the same Loop. Its source reader and authority are taken from that step. The Loop keeps the prepared state between iterations, so the Prepare step may be on another branch of that Loop. Do not use a pagination Loop for this option.

Enter a Python parameter name for the input. The value is a native-evidence-projection-v1 object: check status, iterate current.batch_ids and look up each batch in batch_store. Optionally select an Object variable from the same Loop and enter a static dotted path to a nested field. This context is fixed in the workflow configuration; debug runs cannot replace it. Require complete evidence is on by default. Leave Include history for review and Allow an uninitialized state off unless the script explicitly handles those cases. An uninitialized state has no facts; it does not mean the case is empty. When history is included, use current.batch_ids for current facts and treat older batches as audit history only.

The host supplies a read-only snapshot immediately before the saved Code script runs. This step does not parse files, call a model, approve evidence or change the EvidenceBatch. If the selected state or its proof changes or is unavailable, the workflow pauses for review. In the single-step debug form, provide only ordinary script arguments; the fixed evidence input is supplied by the host and has no override field. Check the run result and review the evidence state before continuing.

Use Data-only Code in a review Stage

In a fixed Code node, choose Data-only computation only for a calculation that belongs to a review Stage. Give the node one business Object output and an explicit Object schema. Connect ordinary inputs to the Stage checkpoint’s current input or to an earlier Data-only Object in the same Stage. For collection parameters, select the connected native results_ref from Structured Extraction or a supported Data Operations step; do not select a bounded records preview. Enter the purpose for using the selected source and keep evidence inputs empty. Standard Code remains the choice for other scripts.

For a fixed Data-only calculation using native record results, choose Compact records view in source projection and select the connected fixed Requirements Object. List every allowed path the requirements may choose and all identity, filter and join dependencies. A factual review in Await response can use the same optional record scope; when configured, it reviews those requirements, and otherwise it reviews whole rows. Data Operations → Inspect review scope can use a selected Requirements Object and its paths for read-only counts on a source assessment. Source-wide or unknown issues remain visible, and missing or uncertain business facts still need a reviewer response.

To join alternative native collection branches, configure a Variable aggregator group named results_ref with an Object output and connected native results_ref candidates. Connect this group to the Code collection input. The configured order selects the first current, non-null value; the original collection reference is retained. A changed selection or missing current branch execution holds the calculation. If an older saved join cannot be verified after an update, run the affected branch again in the same case before continuing.

In Source projection inputs, choose Selected source fields when the calculation needs selected scalar values together with their source quotations. Name the script parameter, select a connected native results_ref, and enter one JSON Pointer per line, such as /amount. Require every path keeps missing fields for review; Use present scalar fields selects only paths that exist as scalar values and reports missing or non-scalar fields. Keep parameter names distinct across all input groups. The host checks current source files, parser material and the configured use purpose before accepting a result. Changed or unavailable evidence holds the step. This input covers the selected cited fields, not an entire workbook or uncited document text. The calculation returns its declared Object; that Object is not a native results_ref collection. To limit field-readiness review, explicitly enable the option and list every selected field plus all identity, filter and join dependency paths. The combined list is limited to 64 distinct paths. Keep the option off for whole-row review; source-wide or unknown uncertainty still requires review.

Calculate from a complete uploaded workbook

In FormEvidenceReader, choose Save all accepted readings to read the entire selected file field before a later interpretation step. Use capture.status to continue when it is ready. If it is needs_review, check the listed filenames, upload positions and PDF page numbers. Replace a wrong or incomplete upload. If the original is readable, have the workflow owner check the reading method before retrying. The ready status means each upload has a saved reading and the reader found no missing or unusable whole PDF pages. Review any uncertain passages before using the results. To use these readings in a data-only computation, select the original connected file field under Saved source readings and use the same reading method in the form and reader.

With a recovery vision model configured, the reader attempts to resolve conflicting table readings before asking for review. If some cells remain unresolved, check those cells against the original page or obtain a clearer copy. The saved reading retains the corroborated cells and marks the remaining uncertainty.

With Save all accepted readings and a primary vision model selected, you can set an Alternate PDF vision model from the catalogue. For a new reading, it can reread an individual page if the primary model returns an incomplete or invalid reading or cannot read the page. The alternate provider receives that page. If the attempt fails, review the listed page before proceeding. Existing saved readings are retained when you change the setting. If the first reading contains unreadable spans, the alternate receives that transcription as well as the page. ZASTRA keeps the first reading and its unresolved spans if the alternate cannot fill them while preserving the surrounding text and table layout.

By default, a locally served primary vision model tries a page again after a malformed, truncated, empty or unreadable result before using a configured alternate. The reader can pass the page to the alternate sooner if earlier attempts have used the remaining retry slots. With no alternate configured, the local primary can retry a malformed reply twice. Review any pages that still need evidence.

When a vision model repeats the same text, ZASTRA can stop that reading and try the page again. If no complete reading is available, the saved reading may keep the readable text and mark the remaining span as [unreadable]. Compare the marked page with the original before relying on its contents. In the transcription, [code] stands for a barcode, QR code or similar pattern. Text printed beside the code can still appear in the reading.

When a financial table has amounts that do not reconcile or needs a closer check, the alternate model can reread the original page and inspect enlarged views of the same page. If the reading still cannot be verified, open the listed original page before using its values or provide a clearer source.

If the workflow offers a new reading revision for the same case, give the reason and confirm the retry. In the file form, keep the still-applicable originals selected. The reader can reuse usable pages already saved for the same originals and reread the unresolved pages. Replace an original when the file itself is incomplete or wrong.

To prepare a review when some files cannot be read, use the same form field and reading method in the current Stage. Under Source selection, choose the capture reader’s capture.saved_selection to include the saved readings. Compare the subset with the full accepted upload list and show which files still need attention. Keep interpretation on hold until the files required for it have readings.

Choose Saved source readings when the same computation needs both spreadsheets and documents. Select a connected FormEvidenceReader page output or a connected form file field set to preserve files. For a form field, put a reading step before the computation and set both to use the same reading method. Use Source selection if you need a subset. The input contains workbooks with saved cells and documents with saved readings, page locations and known reading gaps. Route incomplete pages for review. If a selected file has no saved reading or its access changes, check the file and the reading step before trying again.

In a fixed Data-only computation Code node, add a source input and choose Complete workbook under Input contents. Select the page output of an earlier connected FormEvidenceReader at workflow level in the same review Stage. This identifies the accepted files; the script receives the complete saved cells and worksheet inventory, including empty sheets, rather than the reader's current page preview. Use a distinct Python parameter name and keep the configured source-use purpose.

A computation can use complete-workbook inputs and native record inputs together. Give every input a distinct parameter name; permission and current-source checks apply to each input.

Leave Source selection blank to include all files in that reader's accepted scope. To select a subset, connect the Stage's input Object or an earlier Data-only Object in the same Stage, optionally at a nested path. Its value must contain sources: [{source_id, accepted_receipt_sha256}] using the current native source identities. Every selected file must be a supported workbook. If the upload field also contains PDFs or other documents, explicitly select only the workbooks; an unavailable or unsupported selected file holds the step.

The parameter contains status and workbooks. For each workbook, use source, worksheet_inventory, grid_rows and record_manifest; cell entries retain their coordinates, types, numeric zeroes, explicit blanks, formula text and available saved formula results. The step does not recalculate formulas or determine whether the workbook is financially or semantically complete. Recalculate, save and submit a corrected source file when saved results are missing or stale. A complete saved-cell read is not approval.

For an Excel array formula, every cell in its saved range is a formula result. The full cell record shows the range and the expression stored in its top-left cell. The compact workbook includes each member in its list of formula cells. If a member or its saved result is missing, recalculate and save the original workbook in the spreadsheet application, then select that revision in a new run. Excel What-If Analysis data tables also require a new export that supplies ordinary source cells.

Workbook evidence retains the original text of cell values, including accented characters and symbols saved as XML character references. If an older reading shows different text, open the original spreadsheet and start a fresh reading of that revision before applying decisions.

Save and reopen the node to verify its mode, source and selection. Changing the input mode clears the incompatible settings for that input. An unavailable saved source remains configured for correction. Missing or changed files, revoked access, cancellation and capacity limits hold the step without substituting a partial preview. Correct the source, access or selection and follow the Stage's review route before retrying. The same Sandbox execution and source-access permissions apply. Use a native record output when later steps need cited records; a plain calculation Object does not become a native collection or a quoted-field projection source by itself.

Data-only computation can combine four complete earlier results of up to 16 MiB each. Its combined input allowance is just over 64 MiB, including field names and JSON structure; each result remains limited to 16 MiB. More inputs share the same total allowance. If a limit is reached, review the selected scope or restructure the calculation before retrying. The step never truncates its data or presents a partial result as complete. Each data-only input value and result supports up to 1,000,000 JSON values and 32 nesting levels; all inputs also share the total complexity limit.

The Stage checks the selected inputs again before the result can be used. If a source is missing, changed, held or needs review, follow the Stage’s review route and correct the source or decision there before resuming. Do not treat a partial collection as a complete result. Use a current account with Sandbox execution permission to save, publish or test the fixed Code node.

Return a native record collection from Code

For a fixed Data-only Code node in a review Stage, set Result format to Native record collection when later steps need a complete native collection. Keep one business Object output. Configure record_schema for each record's data Object and, if needed, program_fields as distinct JSON Pointers for fields supplied by the fixed program. Settings are limited to 64 KiB. The result protocol is supplied automatically; do not rename or set the read-only results_ref output.

Return an Object containing records and dispositions. Each record needs a unique key, its data, and a provenance list. Each provenance entry names a target JSON Pointer and either a source (input, item_id, source_path, with relation copy or derived) or an explicitly configured program field (relation program). Use the materialized row's row_id for collection items, material_item_id for projected fields, and data for an approved-data item. Every input item needs one disposition: used, excluded or held, its related record_keys, and a reason_code. Do not omit items merely because they produce no record. A copied value must match its selected source value and type. Calculations and program fields do not become original source quotations, and unresolved input remains unresolved.

For a complete-workbook input, use each record_manifest entry's record_id as item_id for its corresponding grid_rows row. A cell value path addresses the actual saved row, for example /cells/0/v; a formula path addresses f. Also return one disposition for workbook:<source_id> to account for that workbook's inventory, even when it has no saved rows. Account for every saved row as well; do not invent records for an empty workbook. A downstream operation requiring business records may keep an empty collection for review. Copied cell values retain their exact types and a quotation of the normalized saved cell with its actual row location; they do not assert a printed page or business approval.

Connect the resulting results_ref to complete collection inputs, supported Data Operations or spreadsheet export. Use the business Object only when a typed JSON result is appropriate. Save and reopen the node to check the schema and connections. A native record result allows at most 10,000 records within the existing result-size limits; exceeding a limit holds the step without publishing a partial collection. Missing, changed, revoked or inaccessible inputs also hold it. Resolve the reported source or review problem before trying again.

Native record output can use independent approved JSON files, approved reference data and current packages without native collection dependencies. A current approval package that itself depends on native collections is held in this mode; use an ordinary typed JSON result for that approved-package read. Route historical snapshot_ready separately: it records earlier approval and does not establish current facts or an actual corporate event.

For scripts using a native collection, each record retains its data, review state and issues. Each citation keeps its quotation (quote), field path (path), offsets and page or cell location (source_locator). Shared source details are in summary.materialization_view.citation_descriptors: match the citation’s descriptor_ref to an entry’s id, then read its fields. Keep this table with the citations when returning review data. A citation reference identifies source details; it does not confirm a fact or approve a business action.

Author a Code calculation plan

In Code mode, keep Single script for an existing one-script step. Choose Calculation plan only after selecting Python and Data-only computation. Switching modes asks before clearing the current script or plan. A plan contains ordered steps; each step is one fixed Python module with a synchronous main function, named argument bindings and an Object output schema. Use source: "input" for an existing named workflow, collection, source-projection or approved-data input, or source: "step" for an earlier step result. The final outputs object selects the values returned by the Code node. The editor shows the external input names that must be wired above it. Keep names unique across ordinary, collection, source-projection and approved-data inputs.

The plan shape is fixed. For example, the second step can receive the whole result of the first step:


{

  "version": 1,

  "steps": [

    {

      "id": "step_a",

      "script": "def main(context):\n    return context",

      "arguments": {

        "context": {"source": "input", "name": "context", "path": []}

      },

      "output_schema": {"type": "object"}

    },

    {

      "id": "step_b",

      "script": "def main(value):\n    return value",

      "arguments": {

        "value": {"source": "step", "name": "step_a", "path": []}

      },

      "output_schema": {"type": "object"}

    }

  ],

  "outputs": {

    "result": {"source": "step", "name": "step_b", "path": []}

  }

}

Use only earlier-step references and static path lists of object keys or non-negative array indexes. The plan itself does not branch or repeat between steps; a Python module can use ordinary Python control flow, including loops, subject to the whole-plan limits. Binding expressions, dynamic targets, imports between steps, Skill-package execution, file paths and external actions are not available. Skills remain inert unless an explicitly authorized native workflow step runs authored code. A plan supports at most 8 steps, 98,304 UTF-8 bytes per script, 393,216 source bytes total, 65,536 metadata bytes, 64 MiB of retained working data, and 16 MiB per step and final result; one deadline covers the whole plan. Return compact objects. The editor checks the plan structure and sizes, while execution support is decided by the configured sandbox manager. If a manager does not support plans, the run reports that limitation without switching to single-script execution. Ask the installation administrator to enable a plan-capable manager, then review and test the plan again before publishing a new version and starting a new run.

Each step's schema is checked before its result can feed a later step. If any step fails, is cancelled or exceeds a limit, the plan returns no partial output. Correct the code, binding, schema, source or sandbox configuration and run the entire plan again with current inputs. Do not resume from an internal step. A completed calculation does not replace a form, factual review or business approval. Keep those as separate workflow steps. The account saving, publishing or testing the fixed code needs Sandbox execution permission; operators can execute only the currently approved published version.

If a run reports that it exceeds saved-state capacity, ask the workflow owner to reduce repeated data, narrow the fields returned by calculation steps or divide processing into smaller runs. Keep the original sources and all facts needed for the intended result; a preview or partial output is not a complete result. After changing the workflow, start a new run and obtain the required reviews again. If the system stops before saving a new state, inspect earlier generated files and decisions before restarting; do not assume that the interrupted run is complete or resumable.

Read approved evidence

Add Read approved evidence when an agent needs a previously reviewed JSON configuration, such as client mappings or processing rules. First attach the JSON file to a Task approval and complete its review. In the node, choose the approved attachment by its task title, filename and revision. Give each selected file a unique, readable Reference name. For several files, select an earlier text or single-choice field whose answer matches one of those names; for one file, the selector can remain empty. An empty file selection is an unfinished configuration.

Use a UTF-8 JSON object, with room below the 1 MiB limit for its approval metadata. This reader does not parse PDFs or spreadsheets, execute instructions in a file or choose the latest configuration automatically. Check status before using data: ready supplies the selected object and its approval provenance; held supplies no data. Route a hold to review and check the selected revision, file format, reference name and current access. The running account needs access to that approval evidence and permission to use Tasks; sharing an agent alone does not grant it. Published visitor runs cannot use this reader.

Validate the selected settings against the current client, period and intended use before processing. Approval of reusable settings does not approve a new dossier or its results. To replace settings, approve the new file, select that revision in the designer, review the change and publish for new runs. Existing runs retain their published selection; do not assume a replacement changes them.

Local-only restrictions still apply after approval and to later derived results. If a copied attachment's permitted processing cannot be confirmed, subsequent model steps must also use an available local model. Approval does not permit sending that evidence to an external model. If a model step is blocked, select a permitted local model or ask your administrator to check the source's handling policy.

Ingestion pipeline nodes

Upload one sample file for a pipeline Test run. The File node reads that uploaded file; when the same pipeline processes a dataset, it reads the selected stored document. If the File node reports that an upload is missing, upload the sample again before retrying. Check the task result and logs before queuing another test.

A dataset can use a custom pipeline instead of a built-in parser. Its File input reads a supplied document; Parser extracts text/layout according to the file type; Chunker defines boundaries; optional Transformer stages enrich content or metadata; Indexer writes the result to the dataset's search engine. Test-run one document and examine chunks, page/source identity, metadata and logs before assigning the pipeline to a large dataset. A pipeline change applies to subsequently processed files until older files are deliberately reprocessed.

For exact output, select a strict template on the Agent node. It supplies the schema; structured contains validated data and content the deterministic rendered text. Connect the latter to Email or Message. Standalone structured output is also schema-validated. See templates and structured output.

For structured output, the complete selected input, instructions, schema and any correction attempt must fit the model context. If they do not fit, the Agent stops instead of analyzing shortened evidence. Reduce the selected input or conversation history, process smaller batches, simplify the schema, or choose a model with a larger context before retrying. Turning off Include chat attachments excludes automatically added attachments; explicitly referenced files still count toward the input.

For EML or Outlook MSG input, choose the Email parser and select the fields needed by later nodes. To pass attachment data downstream, use JSON output and include Attachments; binary payloads are Base64-encoded and marked payload_encoding: "base64". Text output lists an attachment's name, type and size without printing its binary data. The same 30 MB message, 20-attachment and 20 MB combined attachment-data limits apply. If an attachment is missing, check the parser warning and task logs; upload it separately with a suitable parser if needed. Test the actual pipeline output and preserve the email identity when using attachment content.

Edit node values and inspect pipeline results

Open the question-rewriting node’s settings, edit its values and save the workflow; run a sample to confirm that the edited values are used. For a Boolean global variable, choose true or false with its Boolean control instead of entering a quoted text value. Where an output schema is optional, configure the fields needed by downstream nodes and test missing values.

A pipeline test result can be plain text or a list of chunks. Inspect text directly; inspect each chunk and its source information when a chunk list is returned. A text result does not imply that chunks were indexed. Queued documents are waiting for processing; inspect their status and logs before submitting duplicates.

Extract structured records from accepted files

When a Loop or Iteration retries workbook extraction within the same run, the step can reuse workbook analysis it already completed for the same accepted files and settings. Route a changed or unresolved source to review before continuing.

If an issue review reports that Structured Extraction stopped, check the extraction step's Issues output for the reason. Use the extraction status and the presence of a results reference to decide which branch can continue.

When required fields are missing, automatic completion can use records with verified primary citations. The results can contain completed records alongside records held for review because they lack primary citations. Check those held records against the original evidence before approving them.

A spreadsheet containing only column headings is read as a blank template, not as transaction data. Check those headings when configuring the output template. Completely blank sheets contain no readable evidence.

For spreadsheets with data, extraction carries relevant headings, titles, units and notes with later data windows as citable source context. All source rows remain available. If headings or notes disagree about how to interpret part of a worksheet, review the indicated range against the original workbook. Records that depend on that range stay held while extraction continues for other rows. If needed context cannot fit within the configured limits, adjust the model or extraction settings in an updated workflow before another run.

Document tables. Where the reading method can recognize a table, extraction keeps each data row intact with the available column headings and nearby context needed to interpret it, such as titles, units and notes. If the required headings, context or grouping cannot be retained within the configured limits, the affected table section remains unresolved for review. Check the original table and notes before confirming a value; do not rely on a partial row. For scanned PDFs or difficult tables, choose an available Vision reading method or, where practical, provide a source format that preserves the table structure. This context counts toward the configured input and fragment limits.

Add Structured extraction after a connected Begin file field or Await response (UserFillUp) file field. Choose the actual field, a reading method, an available chat model, optional published skill bindings, literal instructions, an Object record schema and advanced limits. Choose maximum batches and maximum model calls as processing and cost settings. Each batch is a source-text window; the model-call limit includes schema-repair and subdivision retry requests. These settings do not approve incomplete output or change separate record-count or export limits. For Begin, current files are the files submitted to that field in the current case. For Await response, Current submission means the latest submission to the selected field; Case history means all submissions to that same field in the current case. It does not combine different fields. Keep the source field and scope consistent with any other reader in the workflow. For wide spreadsheet rows, the input limit applies to the whole request, including the row and its context. Review any capacity issue before approving coverage. If the model reply is truncated during workbook structure analysis, review the capacity issue before retrying or approving coverage.

Turn on Require a record for each detected table row when you need one source-cited record for every populated data row in the detected tables. Leave it off for selective extraction such as totals only. In Check rows in, choose Workbooks only to check populated data rows in confirmed worksheet regions. Choose Detected document tables and workbooks to check those worksheet rows and detected tables in other documents. Review source coverage separately for tables the reader did not detect and for any values that remain uncertain. If the step reports a row coverage gap, check the affected locations in the original files and the reading method or extraction instructions. If the status lists only some locations, it shows how many findings are listed and how many were saved. Use the source names and locations shown to begin reviewing the originals, and give the workflow owner the run link to investigate the remaining findings. Route an empty results reference to the extraction recovery path. The step can retry missed rows using their original context and keep the records it already found. Unresolved gaps or several records citing the same data row hold the results. Check duplicate records at the reported source location; the step does not reread an already represented row to resolve duplicates. A single cited record with uncertain values remains available for factual review.

If a focused PDF reread still leaves a row without a usable record, the step can reread that row on its own. Check the quoted evidence in that specific row and any cells explicitly shared with it.

Configure review models under Optional task models for difficult extraction. A Source-quality review model can recheck an empty focused reading. When table rows remain missing or cannot be assigned unambiguously, an available semantic review model, or source-quality review model, can reread the complete affected section. This complete section review also applies when the interpretation of the workbook remains unresolved. A replacement must account for all required rows and retain earlier supported facts. Otherwise the earlier results and coverage hold remain. If a review separates workbook rows that were grouped together, check the fields marked for factual review against the original worksheet. An earlier shared value can appear on several affected rows while its owner remains uncertain. Independent readings can run at the same time. Open Run details and check any remaining reported source locations before retrying. New review requests consume model tokens.

If the workflow offers a consent form to retry a coverage gap in the same case, keep the applicable originals selected and provide the reason for retrying. ZASTRA can reuse completed model replies when their source, instructions and model settings still match, and checks the records again. ZASTRA can also reuse a model’s review reply when it is reviewing the same saved reply with the same instructions. ZASTRA can also reuse a worksheet layout follow-up when the same earlier reply and request are available. ZASTRA can also reuse a completed citation correction when the same saved reply and exact citation request still apply. Changed inputs can require new model calls. If the worksheet layout is clear and the existing rows pass validation, ZASTRA first rereads just the missing rows. Conflicting observations can still need a review of the wider worksheet section. When a focused retry recovers some missing rows, ZASTRA keeps the rows it can match to the source. If a focused PDF or worksheet retry still leaves a row without a usable record, ZASTRA can reread that row on its own. The workflow stays on hold while required rows are still missing. Resolve uncertain values in factual review when that step becomes available. If a field is flagged because its citation comes from a different row, use evidence for the intended row to confirm or correct the field, or request the missing evidence. For a focused workbook retry, keep the same original, worksheet selection and recorded structure. If any of those changed, review the new source before continuing.

If a model reply exceeds the space available for an extraction result, ZASTRA can retry the affected source in smaller windows. Open Run details to see whether extraction recovered or still needs review.

To process selected originals separately during repeated reviews, choose One currently selected original and connect a source selection from the same form field. Its Object must contain sources with exactly one item containing the native source_id and accepted_receipt_sha256. Get these values from accepted source evidence. Keep earlier originals selected on the form to continue using their results. If a file is removed from the current selection or access changes, hold dependent work and review the current files. Use the separate approval step for business decisions.

Source selection (optional): Select an earlier connected Object to read only particular accepted files from the chosen field and scope. It must contain sources, an array of objects with each file’s exact source_id and accepted_receipt_sha256 from native source metadata. Leave the setting unset to read all accepted files. An explicit empty list pauses for review without reading files or calling the model. Duplicate, foreign or outdated receipt selections are rejected. Unselected files remain listed as not_selected in coverage; they are not parsed and do not count as read. Selected-source completion does not establish complete coverage of the whole upload collection. Selection grants no additional file access, permitted use or approval. If the source manifest or selection changes during extraction or reuse, the result cannot be accepted; review the current sources and follow the Stage revision process before retrying.

To revisit specific saved PDF pages, add record_ids to every selected source in a separate extraction step. Use the IDs from the current saved reading and include all saved records on each chosen page so their headings and other context stay together. This step reuses the saved reading. Its results cover only the selected pages. If the selection is outdated, incomplete or unavailable, refresh it from the current reading before retrying. Use the ordinary file selection to read a replacement document.

For particular rows in a saved spreadsheet, add workbook_record_ids to the workbook entry. Use distinct IDs from the current saved reading for rows that still need interpretation. Other rows can provide structure and heading context. They are excluded from the primary extraction batches. You can select PDF table rows with table_rows on other entries in the same step. Use a separate step for saved PDF page recovery with record_ids. Review the selected rows together with the rest of the case evidence.

To limit workbook structure discovery too, add workbook_context_record_ids to the same entry. Include every primary row plus the saved rows needed to interpret it, such as headings, notes and the original rows that anchor merged cells. If the required context is uncertain, omit this key to use the complete saved workbook.

If a selected workbook is missing a merged cell's anchor row, the extraction pauses before sending any model requests for that step. Use the workbook named in the error to correct its context selection, then retry.

When reviewing reread PDF table rows, check the cited row in the original. Headings and cells that span that row can explain its values. For workbook findings, check the cited worksheet cells against the row and its headings. If the proposed value came from an unrelated row or cell, the form can show other excerpts to help identify the intended record. Check those excerpts in the original, then enter a supported correction or request evidence.

In Fields that need evidence on their worksheet row, select fields such as transaction dates that should come from each workbook row. A merged cell that covers the row can supply the value. Leave fields such as a reporting date that applies to the entire sheet out of this selection. If a selected value is held for review, use the workbook name, worksheet and row shown with the excerpt to find the original value. Enter a supported correction or request evidence.

For a Retained source collection, select the connected collection and the exact sources for this extraction. If a source assessment applies, set the same Source use purpose and select only sources the reviewer allowed for that purpose. If a selected source is on hold, review or replace it before trying again. Set Replacement upload when no original files to a connected file field in a named assignee’s form. The replacement is used when the optional Begin upload is empty.

To check coverage for specific PDF data rows, turn on Require a record for each detected table row and supply table_rows in that PDF’s Source selection entry. For each table, provide record_id from the saved reading, its table number within that record, and a rows list. Count tables and physical rows from 1, including headings in the numbering. Choose populated data rows. Save the readings for all selected files first and use the same reading method. Extraction still reads the selected files and keeps their context. The row check and focused reread use the chosen rows. Pages with no selected rows are still read as documents. A single transaction confirmation can retain its line-item breakdown as part of one observation. A selection that no longer matches the reading holds the step. If the run reports missing selected rows, ask the workflow author to review the run before requesting another extraction. Review coverage for everything outside the selection separately.

To configure an automatic second pass, use the first extraction's saved_pdf_retry as the Source selection for a second extraction. Run that step only when the selection contains sources. It retries saved PDF passages that have readable text and no quoted observation. Other passages from the same page can clarify the reading, for example by supplying column headings. Review unresolved findings and check overall coverage before relying on the results.

Use Data operations → Add recovered records to bring previously missing observations into the same case. Connect the current original or reviewed collection first and the targeted retry collection second, using both results_ref outputs. Both inputs must use the same accepted sources and record schema. Exact repeats keep the original records and their decisions. Verified observations remain available for review when individual retry items lack primary evidence. Ask the workflow owner to check those holds in Run details. If the step returns no combined collection, have the workflow owner address the conflict or refresh the source selection before factual review. Check overall source coverage before approval.

Large source readings can take time. Follow the run status; elapsed time alone does not mean the model has failed. Use Stop workflow to cancel a reading you no longer need. If reading is interrupted, inspect the explanation and check that the previous execution has ended before consenting to a new Stage revision. Incomplete or unconfirmed results remain unavailable for accounting or other downstream actions. If the configured alternate model completes an interrupted reading, check the resulting reading report and any remaining items for review.

When the model provider reports a temporary service outage, structured extraction can retry the affected request once in the same run. If the run still needs attention, open Run details and follow the recovery instructions before resubmitting the case. If an interrupted revision followed a completed extraction with coverage gaps, a later retry can still reuse matching replies from that completed extraction. The retry checks the accepted sources and model settings again.

During structured record extraction, if a model request stops returning progress, the current extraction can close that request and retry only the affected source-text window with a stronger model tier already configured and available for that step. Completed extraction work is preserved, and existing factual reviews or business approvals remain unchanged. This recovery applies only while the accepted sources, extraction settings and access remain current. If no eligible higher tier is configured and available, or a source, model setting or permission changes, the affected work remains interrupted or needs attention. Check the current run status and follow its recovery instructions; do not resubmit blindly or assume a cancelled run will resume.

If the model omits a required simple field without reporting uncertainty in the source, extraction can make one focused follow-up using the same source to fill only the missing field. Existing records and citations are kept. If the source is unclear or does not establish a value, the field remains for the usual factual review; no value is guessed. If the follow-up cannot complete, extraction stops for operational attention and existing readings are retained. This follow-up may use the most capable model configured for the workflow and can consume additional model tokens.

During full-page Vision reading, progress counts pages that have finished. Pages can finish in a different order, but results and citations keep the document’s original page order. If a page cannot be read, check the reported page before retrying. An incomplete reading does not confirm that the whole document has been read. If a page-reading request stops returning data, ZASTRA can close that request and retry the same page once. This retry does not mean that the page was read successfully. If the second attempt fails, inspect the reported page and the current run status before taking further action. Do not submit the dossier again while its original run is still active.

If the connection to the Vision model fails again on one page, structured extraction keeps the pages it could read and flags the incomplete source for review. Check the affected page in the original PDF and supply the missing evidence through the workflow’s review step.

Output allowance: The model output allowance controls the size of the reply; it is separate from the amount of source context that fits in a request. A larger output allowance does not make more source text fit. Use only an allowance supported by the selected model. If the necessary context cannot fit within the configured limits, keep the affected section unresolved. To change the model or extraction settings, publish an updated workflow and start a new case; existing cases keep the settings of their workflow version.

The reading method controls how source files are read, separately from the chat model that turns the resulting text into records. Changing the chat model does not change or reread a PDF. For scanned PDFs or difficult tables, choose an available Vision model as the reading method. Plain Text does not perform OCR; DeepDOC uses a separate OCR path. A new Stage revision can reuse a completed reading of the same accepted files. To change the reading method or Vision model for a case, publish an updated workflow and start a new case; existing cases keep the settings of their workflow version.

When extraction can confirm that a reply is too large to use, it may retry with smaller portions of the selected sources within the configured limits. Replies whose completion cannot be confirmed are not used; if extraction cannot finish, the collection remains held for review. An empty results_ref is not a successful empty result. These retries stay within the current extraction and do not restart the whole Stage.

To extract replacement documents after a stage revision, set Source scope to Files from revision consent. Add a file field to the unassigned owner form selected by Revise stage and choose that field in Structured extraction. Use a Switch on Stage checkpoint → revision_origin and route correction to this extraction step. The step reads files uploaded with the consent for the active revision. If a file is missing or belongs to a different response, route the case to review and ask the owner for a new correction. Keep source assessment and document approval in their configured steps.

Start a new Stage revision to retry the whole extraction with the owner’s consent. Put Structured extraction and Switch inside Stage checkpoint → Stage components. Route an empty results_ref to an unassigned Await response (UserFillUp) form outside the Stage, with a Boolean consent field and a separate reason field. Before consenting, check the selected source and scope, model, extraction settings and previous run, and explain the reason for another revision. Keep that form, its AcceptedFormReader, and ReviseStage outside the Stage. Configure the reader for owner-attested responses. In ReviseStage, use the same Stage checkpoint as its checkpoint reference, set Revised current Object to that checkpoint’s current input Object when only retrying extraction, and select the owner’s reader plus its consent and reason fields. The accepted page supplies consent; it does not replace the business input. Route a non-empty needs_review collection to factual review; never route an empty reference to Object review. Consent does not show that an earlier extraction succeeded. No whole-extraction retry is automatic, and the checkpoint policy applies. An existing case keeps the settings of the workflow version that started it. To change these limits or other extraction settings, publish an updated workflow and start a new case; existing runs retain their frozen limits.

The output proposes records with source citations. A citation shows where a proposal came from; it does not establish that the value is true or approved. A complete status means traversal and extraction checks finished within the configured scope. Check coverage and issues; unknown coverage, missing or unreadable files, ambiguous values and held records need review. Do not treat successful extraction as business approval.

Show issues.reading_report in the runner’s language (issues.reading_report.en, .fr, .de or .id) in the recovery form’s Guidance question, so the explanation stays visible beside the retry consent. If the report is unavailable, use the reason shown by the preceding workflow step. The report is informational: it does not clear held facts or source-use decisions and does not approve output. Ask the runner to inspect the named originals. If the workflow offers a retry, the runner reviews it and gives consent through the case form to retry in a new revision of the same case, reusing the case files; the runner may instead provide corrected copies. Keep uncertain facts for factual or source review, and complete the configured package approval before relying on the output.

The workflow may automatically retry citation checks within its configured validation retries. For a workbook field that requires row evidence, it can look for the value in the same worksheet row or in a merged cell that covers that row. If a quotation is still missing, matches several passages, or cannot be linked to the required row, open the original source to verify the value or request evidence.

Connect the whole-collection results_ref to native Data operations when a later step must process all records. The records output is only the bounded current-page preview; never use that preview as the collection total. A held or capacity-limited collection cannot produce an approved partial total. If a file is missing or unreadable, verify the selected field, scope, account access and reading method. If completion is uncertain, check the current case in Runs before deciding whether to continue or start a new run.

If a document used in an open review has changed or become unavailable, start a new case with current copies. The existing case keeps its history, and answers based on the stale source are not applied. Ordinary supplementary documents can still be added to the same case through the Stage’s document intake.

Excel and CSV export

To create one file for each partition, enable Export separate files by partition on an ExcelProcessor → Output node. Supply one to twenty lowercase keys, each mapped to a row grid or named-sheet object, or map every key to a native collection handle; do not mix these input types. For native handles, build the mapping from the business Object of a guarded Data-only Code node in the same Stage. Configure its collection inputs by selecting the connected native results_ref sources; do not type a reference-shaped JSON value as a substitute. Choose one XLSX, XLS or CSV format and enter a fixed filename. The generated files use that filename’s stem followed by --key; a dynamic filename is not available. Connect the download output to a later Message for file delivery. For an approval, connect artifact_ids to Approval gate → Generated files. If the Stage holds or any partition fails, it does not provide IDs for a partial set; correct the source or partition in the Stage and resume the review.

A partitioned export in a Stage can finish successfully without creating a file when the connected Data-only calculation finds no applicable partitions. For example, a case may have no movements for that export. Keep the batch's artifact_ids connected to the approval; do not add a dummy or header-only file. An export that has not run or has failed does not count as a completed empty batch.

For a filename supplied by the workflow, choose Filename from connected string output (optional) and select an earlier text output or a string Loop variable. This works for new exports and source-template filling. The selected value must be nonempty text; a missing or blank value stops generation. The file keeps the chosen export format. In a Loop, supply a different name for each partition. Leave this selector empty to use the fixed filename.

Add Excel export from the canvas tools. Select Data variable, choose XLSX, legacy XLS or CSV and set a filename. Choose XLS only when the recipient needs the older Excel format; export creates a new workbook and does not edit or preserve an existing workbook template. The data variable must resolve to structured JSON: an array of row objects, an array of row arrays, or an object whose keys are sheet names and values are row arrays. A row object supplies column headings; for an array of row arrays, include your own header row if needed. Nested cell values are exported as JSON text. Use strings for identifiers or dates that must remain text.

For XLS and XLSX exports, Column number formats from object output optionally selects an earlier Object that maps exact exported worksheet names to arrays in exported column order. Each array entry is an Excel number-format string taken from the template or reference, or null for General. Leaving the reference empty keeps General; sheets without an entry also keep General. Numeric date serials need the date format required by the template. Formatting preserves numeric values and does not parse text into dates or numbers. Every selected sheet’s array must match its exported column count, including columns with blank cells. Use at most 20 sheets and 256 columns per sheet, with format strings up to 255 characters and no control characters. CSV and the read operation do not accept this setting; choosing CSV or switching away from export clears the reference. Source XLSX template filling continues to use its template formatting. An unknown sheet, wrong array length, invalid format value or unavailable reference stops export; correct the upstream Object and selection, rerun, then check the downloaded workbook’s displayed dates, numbers and cell types before using it.

For a native collection, select its current results_ref as the source to export all current valid records; do not select the bounded records preview when the full collection is required. You can also provide an explicit Object mapping worksheet names to collection references. In the collection-column mapping, enter each output column name and its JSON Pointer path. For template filling, column order and names must match the source template's configured headers exactly; ordinary exports use the names and order you configure. Leave the mapping empty to keep the record fields. A missing mapped field, held record, issue, changed source or unavailable reference stops generation. Native exports retain the full collection in the generated file; the data output is only a bounded preview with row counts and record inputs. XLSX, XLS and CSV use the existing export formats and limits: up to 100,000 output rows across all worksheets and files, including header rows, 256 columns, 100,000 cells and 20 MB. XLS workbooks are also limited to 65,536 rows per worksheet. CSV supports one worksheet. Exports do not execute formulas, and generated files remain private to the executing owner. Narrow or correct the selected collection if a limit is reached.

If the workflow includes a Saved source readings worksheet, download the workbook to review the readings alongside their source pages or worksheet rows. Long readings and interpretations can span several numbered parts. Read those parts in order. Use the Source coverage worksheet when available to see which submitted files have saved readings. In a final review workbook, use Interpretation and Linked observations to trace how a reading was used. When Review findings groups repeated issues, use Occurrences to see how many records are affected. Check the scope and the affected records and evidence before answering the review. If the workbook export is held, check the selected source readings and your access to them in the current workflow run before retrying.

For exports fed by a Data-only Code result or a native collection, data is a bounded preview with row counts, not the complete result. Use download for the full generated file. Later calculations that need every row must use the original Code business result or the collection’s results_ref; never use the preview.

For example, an Agent with structured output can return {"rows":[{"reference":"00123","amount":100}]}. Set the export variable to {Agent:Analysis@structured.rows}. To create multiple sheets, supply an object such as {"Invoices":[{"reference":"00123"}],"Review":[{"note":"Check amount"}]} and choose XLSX. CSV accepts one sheet and fails when given several.

Connect a Message after the export and insert its download output, for example {ExcelProcessor:Export@download}. The result shows a download button for the file. The file is stored under the executing owner’s account; current sign-in is required to download it. An empty row array produces a valid empty workbook. Text cells remain text, and formula-like CSV text is prefixed with an apostrophe. Exports do not run formulas. For package verification, use the component’s sha256 output and compare it with a checksum calculated from the downloaded file. Review generated data before using it elsewhere.

A workflow export accepts up to 100,000 output rows in total across all sheets and files, including header rows, 256 columns, 100,000 cells and 32,767 characters per cell. The export has a 20 MB budget that includes worksheet structure as well as cell data. XLS workbooks are also limited to 65,536 rows per worksheet. CSV supports one sheet. If the export stops, check Logs, correct the data reference or split a large selection into smaller exports, then rerun. If storage remains unavailable, contact your administrator.

Fill an XLSX source template

Choose Fill XLSX source template in ExcelProcessor and select an owned source template. The template fixes the workbook and its policy; each run supplies transform_data as rows keyed by the exact configured headers or as arrays with the exact configured width. Connect the generated download output to a Message. The node binds the selected template and policy versions, so changed or unavailable source versions stop the run. Create a new source template to change the workbook or policy. Source templates are not writing templates and are not offered in chat or document-writing selectors. See Fill an XLSX source template for workbook setup, policy fields, validation limits and access.

To fill a source template from a native collection, select its current results_ref or provide an explicit worksheet-to-reference Object. Configure the collection columns as {name, path} entries, where path is a JSON Pointer into each record. The selected names and their order must exactly match the template headers. An empty mapping keeps the record fields. Missing mapped values, held records, issues, a changed source or an unavailable reference hold the operation; no partial workbook is presented as complete. XLSX template filling uses exactly its configured worksheet; additional worksheet references are rejected. The source-template policy's row limits and field-validation rules apply. The generated download contains the full output, while data shows only a bounded preview. Keep template-header spelling exact and review the downloaded file before using it.

When source data comes from a Data-only Code result or a native collection, the template-fill data output is a bounded preview with row counts; download contains the complete workbook. Use the original Code business result or the collection’s results_ref for later calculations that need all rows, never the preview.

The AI workflow designer can prepare this operation when your owned source template is offered for the workflow. Choose the intended template and describe the rows to fill in its configured worksheet. The result is XLSX; legacy XLS is available only for a new generic export.

Custom integration actions

Use Data source action to read, create/push or update records in a configured custom API integration. Select an available source and one defined action. Provide its input values as JSON or a workflow reference matching the displayed input schema. The AI agent builder can prepare this node from a plain-language request and the actions available to you. An action-only source does not need a dataset. In Test, writes produce a request preview; the result output contains the planned request and planned is true. Production reads run directly. Writes require the owner to enable writes and automated writes on the source, plus Execute writes in production on this node. Only owners can execute writes; shared company access grants reads. A source marked local only also restricts the workflow models. Check Recent action receipts on the source or Data sources after failures. An uncertain write is never automatically retried: verify the external system before deliberately running it again. See custom API integrations for AI setup, expert configuration, permissions, ingestion and incremental monitoring.

Read data with SQL

Enter the database name, hostname, numeric port, username and password separately. Connection strings, connection URIs and automatic server credentials are not accepted. MySQL, MariaDB, OceanBase and PostgreSQL use verified TLS with the configured hostname. Trino requires the supported driver, HTTPS and an explicit username and password; enter its database as catalog.schema. SQL Server and IBM Db2 currently report that secure transport is unavailable: choose a supported database or ask an administrator for an approved HTTPS integration. For certificate failures, ask the administrator to install the issuing CA and verify the server name; do not disable certificate verification.

Public destinations are available by default. For a private SQL destination, an administrator must grant the workflow owner the exact Workflow SQL origin, including protocol, hostname and port. Test connection instead uses the signed-in editor’s grant. Connector grants do not apply to workflows. Loopback, metadata and application control addresses remain blocked. See network access for data sources for administration and recovery.

For an HTTP request, supply credentials explicitly in its headers and leave Proxy empty. Public HTTP and HTTPS destinations use the configured hostname; private destinations require a separate Workflow HTTP grant for the workflow owner and exact origin. Redirects are not followed; enter the final approved destination directly.

If a request fails, check the URL, credentials and timeout. For certificate or network access errors, ask an administrator to check certificate trust and the workflow’s network grant. Check whether earlier external actions completed before retrying.

Configure SQL with a dedicated database login that can SELECT only the intended tables or views. Do not grant data changes, schema changes, file export, administration or custom routine execution. This also limits what a shared workflow can do with inputs supplied by other users.

The SQL tool accepts read-only SELECT queries, including joins, subqueries, read-only common table expressions and unions, with common aggregate, text and date functions. Writes, database commands, exports, locking queries, optimizer hints and custom or side-effect routines are rejected before connecting. A request can contain up to 16 queries and 65,536 characters; semicolons inside quoted values remain part of the value. Unsupported database-specific syntax or functions produce an error: rewrite the query using common SELECT expressions and check the database login’s read permissions. MySQL-family and PostgreSQL connections also request read-only transactions; use a read-only database login for every database type.

In a fixed query, insert workflow references where values belong, for example WHERE name = '{sys.query}' or WHERE id = {Begin@id}. Values are bound separately from SQL, including quotes and semicolons in the input; a quoted reference can also supply JSON text. References cannot supply table names, column names or SQL fragments. If the entire SQL input is a reference such as {sys.query}, its value is treated as a complete query and validated as read-only. A shared runner can read all data that the configured database login permits: fixed query text is not an access boundary. Restrict the login to appropriate views, roles or database row permissions.

Run and tool limits

These limits apply to every run. A higher value entered in a node setting is reduced to the limit.

Item Limit
Workflow run Up to 2,000 steps and 4 hours per run. A run that reaches either limit stops with an error; split the work into smaller runs or reduce Loop repetitions.
Agent Up to 50 tool rounds and 10 retries.
Browser Public websites only; private and internal addresses are refused. Up to 50 steps and 15 minutes, and up to 20 downloaded files and 200 MB in total. Each run starts with a fresh browser: sign-ins and cookies are not kept between runs. The former Chromium sandbox and persist-session settings are no longer offered. When you stop a Browser step, ZASTRA closes its browser session before releasing the run. Review any files already saved to the destination before starting again.
HTTP request Responses up to 10 MB; a larger response stops the step with an error.
SQL Each statement can run for up to 120 seconds and return up to 10,000 rows. Filter or aggregate in the query to stay within these limits.
Email Up to 20 recipients per message, and up to 10 sent messages and 50 recipients per run.

A webhook trigger needs a configured secret: with token, basic or JWT authentication, an empty secret or password rejects every request. A JWT must include an expiry time (exp). An IP allow-list is checked against the real address of the calling system, so enter the addresses from which the sender actually connects.

With token, basic or JWT authentication, the agent cannot be published until the secret or password is filled in.

When a limit stops a step, inspect the run log, adjust the workflow and start a new run. First check whether earlier external actions, such as sent messages, already completed.

Context-guided responses

On Await response (UserFillUp), open Context for this response. Choose a connected Object output and, when needed, add each Object key or array index in order to show a nested part. Add a required Choices field with no fixed choices as the item selector. Add other Choices or Multiple choices fields with no fixed choices, then assign each one a choice-set name. Save and reopen the form to check its bindings and preview. Context cannot be combined with assigned review details, issue review or source assessment. Choose only an upstream Object output from a data-only Code node in the same root StageCheckpoint as this form; neither node may be inside a Loop. The selector lists eligible sources. Use exact Object keys (1–128 characters, without * or control characters) and integer array indices from 0 to 1,000,000, with at most 16 path steps.

The response shows readable item names, explanations and any review table. Select the item before answering its dependent fields. Changing the item clears earlier answers and consent so you can answer the new item from the beginning; uploaded files stay attached. Required fields and consent remain visible. Other optional questions are available under Other optional questions. The selection and response do not approve a business decision. Contextual response forms are unassigned; assigned forms without response context continue through their existing review flow.

If the context is invalid or unavailable, refresh the task and try again. If it remains unavailable, ask the workflow owner to check the connected source and form setup. A context with no selectable items keeps the workflow on hold; it is not a completed review. After a server reports an invalid answer, correct that field and submit again; other answers for the same task remain available.

Assigned approvals in Tasks

In Create task, choose Task purpose > Request approval to send the task description as a fixed review submission. Set distinct reviewer account emails in order and optional approved-result recipient emails. Include the complete review evidence and conditions in the description. Attach eligible connected outputs from Document Generator, an ExcelProcessor configured for output, or a fixed Code step; other generated files are not eligible. Test previews without creating requests. An actual run returns an approval ID and pending state; finish with a message directing reviewers to Tasks. Submission does not pause/resume the private agent run and does not authorize subsequent sends. Tasks performs the sequential decisions and final result delivery independently. Ask Raggy or open the approval task to verify actual completion. See assigned approvals.

When a workflow creates files inside a Loop, use Generated files from a Loop to collect the variable outputs. Declare an array<string> Loop variable, initialize it with any earlier generated file IDs that must be included, append each eligible generator’s doc_id output with Variable assigner, and select that variable in Create task after the Loop completes. You can also select fixed outputs from connected generators; both selections are checked together and may contain at most 20 generated files. Each ID is checked against the current workflow case and eligible output. Files saved by an earlier step in the same case can remain eligible after the workflow resumes.

Run the complete workflow to submit a real approval request. A component preview creates nothing; a live isolated component test cannot submit approval work. Retries within one admitted workflow execution reuse its request, while a later conversation turn creates a fresh request and requires fresh decisions. Human decisions require a signed-in browser account; API keys and delegated agent credentials cannot record them.

Document page breaks and flow diagrams

For PDF and DOCX content, put <!-- pagebreak --> on its own paragraph to start a new page. A digirag-flow fenced block renders a flow diagram from labels and connectors. Code examples inside another code fence remain literal. Use the following structure in the document content; Raggy can prepare it from an ordinary description.


{"nodes":[{"id":"request","label":"Request","row":0,"column":0},{"id":"review","label":"Review","row":1,"column":0},{"id":"decision","label":"Decision","row":1,"column":1}],"edges":[{"source":"request","target":"review"},{"source":"review","target":"decision"}]}

Give every node a unique identifier and grid position. Rows run from 0 to 5; columns from 0 to 2. A diagram supports up to 16 nodes and 32 connectors. Node labels may contain up to 120 characters; connector labels up to 60 characters and two short lines. Use a compact grid with several columns. A diagram too tall for a document page is rejected; spread it across columns or split it. URLs, external images and executable code are not diagram inputs. A document may contain up to 20 diagrams and 100 layout blocks. Preview the result to check the order, labels and return paths.

The diagram reserves space for connector labels. If labels still overlap steps or each other, generation asks you to shorten the labels, rearrange the steps or split the diagram. Correct that layout and try again; inspect the rendered result before sharing it.

Fill an existing Word master

Select Document generator → Output mode → Word source template, choose an owned saved master and map its named fields with explicit upstream references or fixed typed values. Choose DOCX or PDF and connect download to Message. The selected source hash must still match; missing required fields, wrong types or unavailable owner access stop generation. The master's formatting and signature areas are retained without Markdown decorations. No clauses, loops or approvals are inferred. Use the template's authoring preview and inspect every generated page. See Word source templates for preparation, schema, permissions, limits, PDF conversion and recovery.

You can supply individual field mappings or one connected Values object from an earlier step. The Object must match the selected Word schema; omitted optional fields stay absent, and null is allowed only where the schema permits it. For the filename, select a fixed name or a connected String without a folder or path; the chosen output format determines its extension. Switching input modes clears the previous mappings. See the Word source template instructions for validation and recovery.

If the master has conditional table rows, map every selector listed in conditional_fields to an explicit Boolean decision. Not mapped leaves the required choice absent and generation stops; it does not mean false. The master includes or omits the whole row and does not infer a choice from missing facts.

For a workflow check of a generated Word file, connect Render receipt reader to the matching Document generator and select its DOCX output. The reader checks the private render evidence against the selected template version and the current workflow decisions, including every supplied Object field, then returns a status and receipt fingerprint, not the receipt contents. Ready confirms that the render evidence matches the current inputs; it does not approve the document's business content. Review the generated pages and keep approval as a separate workflow step. A held result means the evidence could not be verified or the inputs changed after generation. Route it to review, update the document if needed, and run the check again instead of treating it as success.

Wait for a business approval

If preparation is on hold and the workflow provides a review workbook, open it to see which settings or evidence are missing. Use verified settings from the target system to complete the approved reference, then run the affected step again.

Use Approval gate when the same private workflow run must wait for a human decision before it continues. This is different from Create task, which submits a request and returns while the workflow continues. Save and publish the workflow, then run it in a private session. The approval gate cannot be used from a shared visitor session.

Set the review title and include the complete material and conditions in the description. Add active reviewer account emails in their decision order; every reviewer must approve the same revision. Add recipients only when they should receive the approved result. Set the gate deadline in minutes; 0 means no gate expiry. Choose Share input files only when the current case's submitted files belong in the review.

Optionally attach exact connected outputs from Document Generator, a supported ExcelProcessor export, or a fixed Code step. For a variable collection, select a connected Loop string-array state containing eligible generated-file references. Optionally connect one upstream Object as Review data; the gate freezes its complete JSON with the review and rejects material that exceeds the review limit. Select up to 20 connected outputs as Inputs that affect this review so changes to those sources can make the decision stale. Changes outside declared native inputs cannot be guaranteed to be detected.

To attach selected dataset originals, connect a Data-only Object under Dataset file selection. Use a files list of entries with the exact published filename and a source containing kind set to dataset_document, dataset_id, document_id, source_generation_id and sha256. Use an empty list when no dataset originals are needed. The run owner needs access to each published version. Reviewers see only the files selected for the approval. If a file is unavailable or its name or version changes, update the selection and submit a new review.

Use Expected file counts when an earlier Data-only step determines how many files the review should contain. Connect an Object with whole numbers for generated and dataset, using zero for a group with no files. The approval checks the collected files before sharing them. If the numbers differ, check the file generation and the dataset selection before submitting a new review.

An Approval gate can review completed Data-only Code results from earlier revision Stages. Select the connected results as Review data or Inputs that affect this review. The results, their source evidence and your access must remain current when the package is submitted and when its decision is used. If a result or source changes, follow the configured correction route and obtain a new decision for the updated package.

For corrected work after a reviewer returns a submission, connect the earlier Approval gate → submission output as Previous returned submission. This creates a new same-case revision and requires the reviewers to decide again; it does not copy earlier decisions.

Connect the gate's Approved, Returned, Cancelled, Superseded, Expired and Stale ports to the steps intended for each result. An unconnected result ends at the gate. Only Approved releases the package and approved_data; other results expose their outcome and submission reference without approved material. A pending review leaves the workflow waiting in the same Explore session; reviewers decide from Tasks. Check that session for its current status and inspect its result after it resumes. If the result is stale or interrupted, do not use the old package: correct the inputs and submit a fresh review, or start a new session if the run cannot continue. Previewing or testing the component does not submit a review. Arbitrary code or external actions do not validate gate freshness automatically.

The waiting case remains in Runs. Reopen it there to check its status, or use New run to begin another case without interrupting this review. Reviewers use Tasks to approve or return the review; the requester uses its cancellation action in Tasks to cancel the review task. Stop output only ends the active stream. If your account is allowed and Stop workflow is available, it permanently ends the saved run, including one waiting for review; it does not cancel the review task itself. The run cannot be resumed, so start a new run for further work.

For a focused downstream clarification, use the gate's review Object output to check the current revision, effective result and reviewer comments. This information is not an approval and does not release data. After a correction, submit a fresh revision and wait for its review; use package or approved_data only when that revision is approved.

Read the current approval package

In Read approved evidence, use ApprovalGate package to select one connected package from this same case, then choose Package freshness. Current case is the default: approved inputs and declared dependencies must still match this case, and a current read returns ready. For current use, confirm that the approved inputs still bind unchanged source bytes, the current native collection revision and accepted factual-review receipts. Drift or an unresolved factual decision requires a fresh review and approval. A stop, lost access or technical verification or availability failure releases no approved payload. For later adoption, signing, filing or audit records, explicitly choose Approved historical snapshot; it reads that exact earlier approved version even after later evidence is added. This setting is saved in the workflow and cannot be changed by case answers. Historical reads return snapshot_ready with the approval, revision and snapshot in provenance and current_case_verified=false; route this separately from ready. It records what was approved then, not today’s facts or whether an event occurred. References or handles embedded in that snapshot remain historical and cannot authorize current use; verify them against current case evidence separately. Both modes require current access to the original case and its approved evidence. Leave Approved JSON filename empty to read the frozen structured package data, or enter one exact filename to select a single approved JSON attachment. Package mode and reusable approved-file pins cannot be selected together. A held read releases no data. Check access, the connected package and its approval status; returned, cancelled, expired, superseded, altered or inaccessible packages remain unavailable in either mode. Treat returned data as case input and validate its business meaning before acting.

Revise a returned workflow stage

Place Stage checkpoint before the connected components that must be regenerated together. Select the current input Object, the actual stage components, an optional Approval gate inside that stage, and either a limit of 1 to 5 revisions or owner-confirmed continuation without a fixed count. Each continued revision still requires the case owner’s explicit consent, a non-empty reason and the configured returned approval. Publish the workflow with this policy; an existing case keeps the policy of its published version. Edit and publish a new version before using a different policy for new cases. When a returned correction must refresh source facts, include the root unassigned UserFillUp intake form, configured root Structured Extraction, Apply source-use, factual review and downstream outputs in the stage. Set extraction to read the case history from the same file field used by the intake form. A checkpoint does not prove that a document or all required source pages are complete, and it does not waive unreadable, truncated or unresolved evidence.

In a Switch, use Stage checkpoint → revision_origin to distinguish initial, readiness and correction. Use the correction value to select your Stage-correction branch. Route a missing or unrecognised value to a review or hold step.

In the selected Approval gate, set Previous returned submission to Stage checkpoint → previous_submission. Connect the gate’s Returned route to an unassigned root UserFillUp form after the checkpoint. Include the owner’s correction, a Boolean consent field and a separate text reason field. Then connect a current AcceptedFormReader configured for owner-attested answers, and use that reader in Revise stage. Select the checkpoint, revised current Object, consent field and reason field there. A root assigned UserFillUp configured for factual issue review, without exception fallbacks, may be a Stage member. An assigned form with computed review details may also belong to the Stage: select a protected root data-only Code output, using an Object for a root form or an array of Objects for packets in an ordinary Loop. Include that Loop, its start and its complete body in the same Stage; keep the computations at root. Ordinary assigned forms without this review configuration and assigned source-assessment forms remain unsupported Stage members. Do not place assigned forms on the correction route between the Stage and Revise stage. The case owner’s revision consent must come from a separate unassigned root form outside the Stage.

For repeated assigned review, include its case-history AcceptedFormReader and source form in the same root Stage. The reader may select that fixed form before its next delivery and reads only actual accepted responses from the current case. An empty history supplies no answer or approval. Rebuild the current review from the complete accepted history. After a correction or keep-open request and the owner’s explicit continuation consent, issue a fresh review; retain earlier responses and unaffected work. Send changed outputs through a new approval decision.

Revise stage ends this branch; leave its outputs unconnected and do not draw a back edge. Once the owner’s accepted consent is available, the workflow resumes automatically at the selected Stage checkpoint and regenerates its selected components. A returned submission without that consent does not regenerate the stage. If no new file is attached to the same intake field, earlier files remain in case history; upload additions through that field and review the fresh extraction and source-use decision before relying on it. Keep the earlier approval and its output as the earlier version; send every regenerated result through a new approval decision before relying on it.

For new exports inside the stage, use ExcelProcessor → Output and choose XLSX, XLS or CSV. For a saved workbook, use ExcelProcessor → Fill an XLSX source template and select a current template that you own. Keep this step at workflow root, outside a Loop. Each corrected revision creates a fresh workbook from the selected template, retaining its existing layout and formatting. If the selected template or its filling rules have changed or are no longer available, refresh the list, select the current owned template again and review the field mappings before retrying. Only templates available to the workflow owner can be selected.

For an editable Word document in the stage, configure Document Generator with a Word source template that you own and select DOCX output. Set a fixed filename or choose one connected filename input, and map the template’s named values to the current stage input or earlier stage results. Keep the generator at workflow root, outside a Loop, with zero retries and no exception fallback. Once configured, select it in Stage checkpoint → Stage components. A returned correction creates a fresh document from the selected master, preserving its layout and retaining the earlier document as a previous version. If the master, filling rules, permissions or required values have changed, correct the selection or mappings and obtain a new approval; do not rely on the earlier file. Content-generated documents, PDF output, Render receipt reader remain outside the regenerating stage. Word generation uses the current values; configure source refresh as a separate Stage step and review its source coverage.

For a PDF review report in the stage, configure Document Generator without a Word template and select PDF. In Content, select one connected String output containing the report, up to 2 MiB, and provide a fixed filename or a connected filename input. Place the generator at the workflow root and add it under Stage components. Set zero retries and leave the fallback empty. Connect its file to the approval for that stage. After a revision, review the new report before approving the replacement package. If the report fails to generate, check its content and the local document converter before retrying the stage.

To export structured data, select JSON in Document Generator. In Content, select one connected Object and set a fixed filename or a connected filename input. The export accepts up to 1 MiB of finite JSON. The file keeps the source’s locality restrictions. To include it in a revisable stage, add the generator under Stage components, set zero retries and leave the fallback empty. Review and approve the new file after each revision. If the export fails, check the connected type and data size before retrying.

Word document packages

Choose Document Generator → Output mode → Word document package to create a selected set of DOCX documents in one Stage. Keep the component at workflow root, outside a Loop, with zero retries and no fallback. Add it to Stage checkpoint → Stage components once its inputs are configured.

Under Document catalogue, enter a unique Entry key, select an owned Word master, and click Add document. Add at most 20 entries. Keys start with a letter and contain letters, numbers or underscores, up to 64 characters. Use the same keys in the prepared package data. Expand Required master fields to check each template’s required values. Changing a master updates its source and field-policy selection; review the prepared values afterwards. If a saved master has changed, choose Use current master explicitly.

Select Package data from the owning Stage input or from a data-only calculation in that Stage. Provide every catalogue key. An included entry has include: true, a values Object matching its master and a distinct filename; an excluded entry has only include: false. Applicability and clause choices must be established before generation. Select a non-empty receipt-anchor array under Render receipt context for those prepared values.

Connect artifact_ids to the approval step’s Selected generated files. This selects the complete current package. artifacts provides file details and batch_manifest lists included and excluded entries. The package is available only after every included document succeeds. Explicitly excluding all entries records an empty completed package and creates no file. The approval’s shared limit remains 20 files and 100 MiB across the package and any other selected files; each file is limited to 20 MiB.

For one generated document, artifact includes its file ID, filename, type, size and sha256 checksum. For a package, each artifacts entry includes the same details; download metadata also includes the checksum. Use it to compare the exact generated file bytes when preparing attachment lists or checking a downloaded copy. The Word master has its own source checksum. File access and approval still require their usual checks.

If a master, required value, permission or publication fails, inspect the run and its generated files before a deliberate retry. A partially generated package is not released for approval. Correct the inputs and use the Stage correction path to obtain a new package and review; retain earlier documents as history. Review the generated pages before approving the business content.

Match and calculate records

For document binding, use Select keys to retain the named fields needed by the destination, Rename keys when it expects different field names, and Copy keys to add field aliases without removing their sources. Enter literal field names. Copy keys can use the same source more than once and copies nested values independently. Values keep their types, including 0, false and null; missing optional sources stay absent. Destinations must be unique and cannot overwrite existing fields. Rename keys also requires unique sources; neither operation cascades or forms cycles. A collision returns no partial result, so select or correct the source fields first. These operations accept 1–16 native Object or record-list inputs, up to 256 field names or name pairs, with each name no longer than 256 characters. They support at most 10,000 records, 1 MB of combined input and 4 MB of results; narrow or split larger inputs if a limit is reached. Incomplete mappings can be saved as drafts, but configure all required names and inputs before publishing or running.

In Data operations → Match records, connect exactly two record lists in order: left first, right second. Each input can be a list or an Object containing an items list. Set a JSON Pointer to the list when it is nested. Add one to eight key pairs; each pair names the left and right JSON Pointer to compare. Select the expected cardinality, the output field that will hold the right row, and whether unmatched rows on each side require review. Add field comparisons when a match must also pass exact equality or inequality checks.

Identity deduplication is optional and must use fields that identify an occurrence in the records themselves. Choose Report duplicates to hold duplicate identities for review, or Suppress identical records only when the full records are identical. Conflicting records with the same configured identity are held without choosing a winner. Do not use filenames or matching amounts as identity rules. The source_left and source_right outputs retain every input row. matched_left and matched_right retain eligible source rows once each, while records contains one output per matched pair. A one-to-many match therefore creates several paired rows; use the once-per-source outputs for left- or right-side totals.

In Data operations → Calculate records, connect exactly one list or Object with an items list. Choose row mode for a calculation chain on each row, or group mode to group by up to eight JSON Pointers. Declare basis fields explicitly, such as unit, currency or period fields that must be present on every row and stay constant within each group; an empty list deliberately declares unitless input. Add named calculations in order and choose an operation and typed operands: an input field, a decimal literal or an earlier calculation. Group sums and products can reduce one input field across all contributors; other group operations use literals and earlier results. Group count counts supplied rows. Set decimal places and rounding for decimal calculations. Add comparisons with an explicit non-negative tolerance when results need a check. Inputs use canonical decimal text; normalize locale-formatted numbers first with Validate records. Minimum and maximum accept 1–16 operands in row mode. In group mode, choose either one input field to compare across all rows or 1–16 literals and earlier calculations; do not mix a field with scalar operands. Set their decimal places and rounding as for other calculations.

Both operations preserve original source rows and report issues for review. Connect needs_review or capacity_exceeded to a review or hold path, and correct original evidence through the existing review and decision steps before rerunning. Matching is limited to 10,000 rows per input and 10,000 output pairs; calculations accept up to 10,000 input rows. A ready status applies only to the rows supplied to the component. It does not prove that the case contains every required source or that a business rule is correct. Review the input scope, configured keys or calculation basis, unmatched rows, diagnostics and output before using a result.

These native operations also accept results_ref. Validate records and Calculate records take one full collection reference; Match records takes two, left then right. Configure keys, cardinality, duplicate handling, grouping and basis fields explicitly. A collection reference processes all eligible rows, not only the visible page preview. Pass the producing operation's own results_ref to the next native operation; do not pass its generic result or bounded records preview when all rows are needed. ready applies only to the supplied collection and selected operation; it does not prove all required evidence is present or a business rule is correct. Holds, issues or capacity limits require review and cannot be treated as a partial total. Route an empty results_ref to the branch configured for results that need review or further work. Resuming a saved form preserves the empty reference.

Project a complete record collection

In Data operations → Project records, connect exactly one whole-collection native results_ref; a bounded records preview or ordinary inline object is not a substitute. Choose keep, select_keys, rename_keys or copy_keys, then add up to 32 typed predicates on JSON Pointer paths. Comparisons use exact JSON scalar types and literal values; they are never interpolated. Membership predicates accept 1–100 scalar values. Missing, null or structured comparison values are held for review unless an explicit presence or null test applies. A known-false predicate excludes a valid row, while rows already held upstream always remain held. Missing projected fields or destination collisions hold the original row. Renamed and copied fields retain their source lineage. Check the exact input, selected, excluded, upstream-held and projection-held counts; a held or capacity-limited collection is not a complete approved total. The results_ref represents the full collection; records is only a bounded preview page.

Create literal records

In Data operations → Create records, configure an Object record_schema and 1–100 records. Enter values as literal JSON; these values are never interpolated or generated by a model. To bind a form answer, add a bindings entry with a distinct field, an exact reader-page reference such as {AcceptedFormReaderID@page}, and the answer identifier shown by that reader. A binding cannot replace a literal field. Keep each record to 32 bindings, use at most 16 unique reader IDs, and keep the complete options JSON within 64 KiB.

Bindings use accepted UserFillUp answers available through the configured owner-attested or assigned-reviewer reader in the same case. A Current reader uses the latest accepted response. For repeated review packets, choose Case history, leave History page at First page, and set form_selection_input to a connected Object output. That Object contains {"selections":[{"input":"{AcceptedFormReaderID@page}","occurrences":[1,3]}]}. List every bound reader explicitly and use actual occurrence numbers in ascending order; gaps are allowed. An explicit empty history selection ([]) creates no rows for that history but retains its currentness checks. A missing selection never means all history. A configured record can expand one history family and include current answers; separate histories require separate record entries. The operation supports up to 200 native responses in total and reads the complete selected family within a 2 MiB history bound.

To use every accepted response, set "form_selection_mode":"all_accepted" instead of form_selection_input. Every bound reader must use Case history at First page. The operation selects the complete accepted history itself, including an empty history; a pending latest response or a capacity limit stops processing. This setting never changes the meaning of an explicit empty occurrence selection. Separate history families still need separate configured record entries.

To create records from a single AcceptedFormReader, enable Create records from these responses on that reader. Enter the Object schema and the record mappings. Each mapping uses field with either answer or metadata and takes its input from the selected form. Keep the reader on First page. For Case history, set form_selection_mode to all_accepted. Connect results_ref as a native collection input and use record_status to route cases requiring review. The page output still provides the accepted response. If a response is pending, stale or over the configured limits, resolve the issue and read the current response again. Use the workflow’s separate approval step for business decisions.

To include the review details frozen with an assigned response, use a binding such as {"field":"review_basis","input":"{AcceptedFormReaderID@page}","metadata":"review_details"}. Use either answer or metadata in each binding. Review details are available only from assigned-reviewer responses and may be explicitly null. They are the saved information shown for that response; including them does not approve the facts or the business decision. Changes to the response, its review details or access require a fresh read.

In Data operations → Create records, define an Object field for the item and use Add an accepted item to choose the earlier current-items reader page and target field. This adds the accepted item metadata to the configured record; the selector offers readers with no configured page cursor. Check complete when deciding whether the displayed page covers the full item set.

For a form repeated inside an ordinary Loop, place the history reader after that Loop has finished normally. An exhausted, unfinished or changed Loop cannot supply historical records. New or changed responses, a pending latest response, or changed access stop reuse; refresh the reader and occurrence selection before continuing. Receipt validation establishes who submitted the response, not business approval. These bindings do not grant access to private uploads. For initial intake, start with an empty Begin, place UserFillUp after it and bind through its reader rather than directly from Begin.

A missing required value remains as a held singleton record for review; it is not dropped or filled by a model. Use the existing factual review and ApplyDecisions steps to correct or confirm the record. Factual review does not approve a business decision. Use the operation’s full results_ref downstream when every created record is required; records and other record lists are bounded previews. Review holds and issues before relying on a result.

Approved data in calculations

Connect an Approved evidence reader before the Code step and configure its approval reference and selected data. In Code, choose Data-only computation and add an Approved data input. Give it a script parameter name and select the reader's data output. Use distinct names across ordinary, collection and approved data inputs. You can configure up to sixteen approved data inputs and sixty-four named inputs in total. Declare an Object output schema.

The calculation receives the reader result, including its status, data and provenance. Check its status and use only the selected approval scope. A historical snapshot does not establish current-case approval. An unavailable source, changed approval or lost access holds the calculation; restore access or select the correct approved version and deliberately resume the review. Entering approval details as ordinary values does not grant access.

These checks also apply to later calculations and exports that use the result. Keep approved JSON resources small and focused; limits apply across a calculation and the earlier steps it depends on. If a dependency limit stops a workflow, reduce the referenced inputs and templates or divide the work into smaller review scopes.

Approved dataset references

To propose a reusable reference, prepare the complete JSON bundle and upload it as a document in the target dataset. After its source generation is published, open that document’s evidence details and copy that exact JSON generation to Task approval evidence. Attach the copied JSON evidence to a Task approval; you may also copy supporting source documents as separate evidence. Describe the bundle scope, assign reviewers, and submit the task through Tasks. Reviewers decide in the existing Tasks screen; copied evidence is not approved by itself. If the bundle generation is no longer published or available, refresh the dataset document and submit a new review. Dataset owners open Approved dataset references on the dataset’s files page. After the Task approval is approved, select the JSON evidence copied from the exact dataset bundle document, enter its payload JSON Schema, and register the reference. Supporting source evidence is optional and is not registered as the bundle. Registration makes a version available for owner activation; it does not make it current. Review its key, scope, dates, schema and source lineage. Enter a reason to activate a version or revoke the current version. Refresh the list after a conflict and inspect the current head before repeating the change. A change or revocation holds workflows that use the reference until an authorized user refreshes the reference and completes any required review. For a global reference, its scope inputs are {}, so no scope bindings are needed. For a scoped reference, bind each declared scope key to the exact current value. Leave coverage empty only when the reference is undated; dated references use their declared coverage bounds.

Use the Reference approval mode selector to choose Production or Simulation before listing or changing references. References and Task approval attachments are isolated by mode: register a reference only from a Task approval in the matching mode, and activate it in that mode. Simulation references can be used only by workflows explicitly configured for simulation; they never authorize production. A maintainer-configured workflow creates simulation approvals; the standard Task approval request form has no simulation switch.

In Read approved evidence, select a dataset, enter the exact reference key and schema identity/version, and add each exact scope key and bind its value to a connected scalar output; for dated references, bind both Coverage start and Coverage end to connected date values. Leave coverage empty only for an undated reference. The reader uses only the active approved version and holds when the version, scope, coverage, access or schema does not match. Dataset reference mode cannot be combined with package or pinned-file modes. Never use scope metadata to grant access; dataset and Task approval permissions still apply.

List accepted files without reading their contents

In a fixed Data-only computation Code node, add a source input and choose Accepted file inventory. Select a file field from an earlier connected Begin or assigned form. Choose Latest submission for the current accepted upload selection, or All accepted submissions for that field's accepted history in this case. Give the input a distinct Python parameter name. Save and reopen the node to verify the selection.

The parameter contains sources, source_count, the case binding and source selector. Each source includes its accepted identity, filename, media type when available, size and receipt hash. This input does not open the file, parse a document, validate its contents or confirm business approval. Use a document reader, a complete-workbook input and the appropriate review steps when contents or cited records are needed. This metadata-only input cannot provide native record-output evidence.

You may use inventory values in explicitly declared program-derived record fields. Configure those target fields in program_fields. Do not select the inventory as evidence for copying, source-based derivation, citations or source dispositions. The stored calculation still depends on the accepted file selection: changed acceptance, withdrawn files or lost access can hold later use. A computed inventory field does not verify document contents or approve a business decision.

The inventory includes the whole selected field history, up to 200 accepted source receipts within the current form and material limits. It never truncates an oversized selection. Empty, unvisited, unavailable or changed selections hold the step; an empty inventory does not prove that an optional upload was explicitly left empty. Configure that accepted no-file answer as a separate branch. Revoked access, retired files, cancellation or a changed source version also prevent publication and export. Correct the input or access and follow the Stage's review route before retrying.

Declared MCP read

Use this component to run a fixed information request in a private, published workflow that you own. In Admin, open MCP read responses, select the connected account and server, and inspect the tool definition. An administrator can declare a tool after verifying that it only retrieves information. Copy the server ID, tool name and current declaration version into the component. Enter a small JSON request using public values you are authorized to send. The component sends only the published literal arguments. Review them before publishing.

Test returns preview. A successful live call returns received and the provider’s structured response. Treat it as material to check against the original source. Route an empty result or unavailable to review. After a connection, tool or declaration changes, recheck access and update the version before publishing again.

Receipt photographs

Choose DeepDOC for local OCR of a JPEG or PNG photograph. The reader can report traversal of one complete, decodable image frame and locate its reading on the photograph. Open the original and check names, dates, decimal separators, amounts and all edges. A cropped line can be missing even when the frame was read. Retake a blurred or incomplete photograph. Split a multi-frame submission into separate visible originals and retain their provenance.

If you select a vision model for a second reading, the reader applies the photo’s saved orientation and shows transparent areas against white. Select a single JPEG or PNG frame. If the file contains several frames or its contents do not match its extension, export the intended frame as a separate image and retain the original.

Validated XML downloads

In a privately published Stage, connect a fixed data-only Code step that returns XML text to Document generator. Select XML and enter the computed text reference in the format shown in the field and the SHA-256 of the installed XSD. Enter an exact filename ending in .xml, or select the filename from the same Code step and enter the reference to its filename field in the same result object. An installation administrator sets RAGFLOW_XML_SCHEMA_DIR to an absolute, administrator-controlled directory readable by the workflow service and puts the standalone XSD there as <sha256>.xsd. Use the 64 lowercase hexadecimal characters of its SHA-256 digest. The directory and file must be regular local paths without links. The generator accepts UTF-8 XML up to 7,000,000 bytes and a schema up to 2 MiB. Imports, includes, DTDs and processing instructions are unsupported. If the file is missing, the digest changes or the XML fails validation, verify the installed schema and correct the source data before starting a new run.

In the memory picker, search by name or scroll for additional results. A saved selection still requires access to that memory. Memory capacity counts stored text and embeddings, including forgotten messages. With FIFO, forgotten messages are removed first, followed by the oldest messages. A batch larger than the entire memory requires a smaller submission or more capacity. If a write is queued for retry, check its outcome before submitting it again. The structured JSON editor follows the application language.