> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/technical-reference/workflow-execution.md).

# Workflow Execution

Understand how data moves through a workflow, how nested runs behave, and what happens when execution fails or pauses.

* [Execution Order and Node Dependencies](/technical-reference/workflow-execution/execution-order-and-node-dependencies.md)
* [Inputs, Outputs, and Variable References](/technical-reference/workflow-execution/inputs-outputs-and-variable-references.md)
* [Data Types, Lists, Missing Values, and Empty Results](/technical-reference/workflow-execution/data-types-lists-missing-values-and-empty-results.md)
* [Branches, Conditions, and Routing](/technical-reference/workflow-execution/branches-conditions-and-routing.md)
* [Loops: Item Mapping, Concurrency, and Result Order](/technical-reference/workflow-execution/loops-item-mapping-concurrency-and-result-order.md)
* [Loop Failures and Partial Results](/technical-reference/workflow-execution/loop-failures-and-partial-results.md)
* [StackAI Project and Beta Nodes](/technical-reference/workflow-execution/stackai-project-and-beta-nodes.md)
* [Nested Workflow Inputs, Outputs, and Identity](/technical-reference/workflow-execution/nested-workflow-inputs-outputs-and-identity.md)
* [Nested Workflow Version and Environment Selection](/technical-reference/workflow-execution/nested-workflow-version-and-environment-selection.md)
* [Timeouts and Execution Limits](/technical-reference/workflow-execution/timeouts-and-execution-limits.md)
* [Retries, Fallbacks, and Error Branches](/technical-reference/workflow-execution/retries-fallbacks-and-error-branches.md)
* [External Side Effects and Safe Retries](/technical-reference/workflow-execution/external-side-effects-and-safe-retries.md)
* [Paused Runs, Human Input, and Resumption](/technical-reference/workflow-execution/paused-runs-human-input-and-resumption.md)
* [Cancellation and Run Status](/technical-reference/workflow-execution/cancellation-and-run-status.md)
* [Batch Execution and Per-Item Results](/technical-reference/workflow-execution/batch-execution-and-per-item-results.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/technical-reference/workflow-execution.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
