> 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/workflow-builder/utils-logic-and-others.md).

# Utils, Logic, and Others

This section covers utility nodes for data processing, logic nodes for controlling workflow flow, and bonus features for advanced use cases.

Use these nodes to add branching, loops, code execution, and other programmatic control to your workflows.

### In this section

<table data-view="cards"><thead><tr><th>Topic</th><th data-card-target data-type="content-ref">Page</th></tr></thead><tbody><tr><td><strong>Utils</strong><br>Helper nodes for common data tasks — custom API calls, shared memory, delays, and more.</td><td><a href="/spaces/FSlso1Kjob5CLDrh0dVn/pages/Zof3etLdRGP6MmrBNvi8">/spaces/FSlso1Kjob5CLDrh0dVn/pages/Zof3etLdRGP6MmrBNvi8</a></td></tr><tr><td><strong>Logic</strong><br>Control flow nodes — conditionals, loops, routing, and code execution.</td><td><a href="/spaces/FSlso1Kjob5CLDrh0dVn/pages/jTibWaU8CBxAS1LD4AsN">/spaces/FSlso1Kjob5CLDrh0dVn/pages/jTibWaU8CBxAS1LD4AsN</a></td></tr><tr><td><strong>Bonus Features</strong><br>Additional workflow tools including sharing, skipping, and replacing nodes.</td><td><a href="/spaces/FSlso1Kjob5CLDrh0dVn/pages/YgEf5lz1TntnvwDC7GW4">/spaces/FSlso1Kjob5CLDrh0dVn/pages/YgEf5lz1TntnvwDC7GW4</a></td></tr></tbody></table>

### Start with what your workflow needs

* Need to branch based on a condition? Start with [**If/Else Node**](/workflow-builder/utils-logic-and-others/logic/if-else-node.md).
* Need to run custom code? Use [**Code Node**](/workflow-builder/utils-logic-and-others/logic/code-node.md)**.**
* Need to call an external API? Use [**Custom API**](/workflow-builder/utils-logic-and-others/utils/custom-api.md).
* Need to iterate over a list? Use [**Loop Subflow**](/workflow-builder/utils-logic-and-others/logic/loop-subflow.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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stackai.com/workflow-builder/utils-logic-and-others.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
