> For the complete documentation index, see [llms.txt](https://swallow-1.gitbook.io/swallow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://swallow-1.gitbook.io/swallow/build/step-builder/ordering-step-blocks.md).

# Ordering step blocks

The chronology of steps in your builder is important. Step blocks read from all the steps above them in the journey.

All builds will begin with an 'Input' step, and finish with an 'Output' step. What steps you add in-between is totally up to you.

You can drag-and-drop steps to change their order:

<figure><img src="/files/wEMz9mh6UAlt5Q9TWqQy" alt="" width="375"><figcaption><p>Changing the order of steps</p></figcaption></figure>

As an example, if you were designing a very simple product and you're only using the data inputted by a customer in your pricing model, you can add a single Enrichment 'Transform' step reformat all your data inputs within a single step.

<figure><img src="/files/jGjYrKGP7oicWx8SgVHi" alt="" width="375"><figcaption><p>A list of data transformations being carried out in a single 'Transform' step</p></figcaption></figure>

However, if you plan to further enrich or ingest data that will need cleaning up or standardising (enriching customer inputs with additional inputs from a third-party, for example), you'd need to add further 'Transform' steps sequentially after those new inputs are stored.

<figure><img src="/files/vc6jiq7zedXrp6RDLTln" alt="" width="375"><figcaption><p>Multiple 'Transform' steps in a process, after each new set of inputs is added</p></figcaption></figure>

<br>


---

# 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://swallow-1.gitbook.io/swallow/build/step-builder/ordering-step-blocks.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.
