> For the complete documentation index, see [llms.txt](https://docs.decisionrules.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decisionrules.io/doc/rules/rule-flow/rule-flow-convertor.md).

# Rule Flow Convertor

The **Rule Flow Converter** allows you to **convert an existing Rule Flow into a Decision Flow**, making it easy to take advantage of all the advanced features of Decision Flow.

Decision Flow offers **greater flexibility, more node types, and powerful decision logic**, enabling scenarios that go beyond the capabilities of Rule Flow. By converting your Rule Flows, you can continue using your existing logic while unlocking these enhanced possibilities.

Learn more about [Decision Flow](/doc/rules/flow/decision-flow.md)

### How it Works

When you run the conversion:

* A new **Decision Flow** rule is created.
* The new rule inherits the same **input/output model, name, version, description, status, and audit log settings** as the original Rule Flow.
* If the Rule Flow contains any rules without defined aliases, the converter will automatically generate them.

### Where to Find It

The **Convert to Decision Flow** button is available directly in the **Rule Flow Designer**.

<div data-full-width="false"><figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2FyF6ylpGAmHBs5n0canuY%2Fimage.png?alt=media&amp;token=bceecbe7-b893-4023-aab7-e44f5e49ea04" alt=""><figcaption></figcaption></figure></div>

### Availability

The **Convert to Decision Flow** option is visible only if the user has the necessary **permission to create rules**.

This option is **disabled** if:

* The user has reached their rule limits.
* Decision Flow is not enabled in the current plan.
* The Rule Flow contains warnings or errors.
* The Rule Flow has not been saved.
* The Rule Flow is locked.

### Conversion Mapping

During conversion, nodes are mapped as follows (Rule Flow -> Decision Flow):

* **Start** → **Start node**
* **Rule** → **Business Rule node**
* **End** → **Assign node**


---

# 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.decisionrules.io/doc/rules/rule-flow/rule-flow-convertor.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.
