> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://regiostech.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Inserting Steps Between Existing Logic

# How to Insert Steps Between Existing Logic
The advanced logic builder allows you to insert new steps between existing ones without rebuilding your flow.

Between two connected steps in the flowchart, a "**Then (+)**" option will be seen. This allows you to place a new step directly in between.


![Screenshot of the "Then (+)" option](https://storage.crisp.chat/users/helpdesk/website/-/d/1/3/e/d13e90de659a8800/screenshot-2026-03-26-at-11414_1t3xdps.png =700x567)
# You can use this to:
* Add additional filtering logic without restarting your setup
* Refine existing conditions by inserting another "Check if" step
* Adjust logic flow without breaking existing “Then” and “Otherwise” paths

# How it works
* Locate the connection line between two steps
* Click the “**Then (+)**” (insert between) button
* Choose the step you want to insert (e.g., Check if, Apply discount)
* The new step is automatically linked into the flow


![Screenshot of the "Insert Between" options](https://storage.crisp.chat/users/helpdesk/website/-/d/1/3/e/d13e90de659a8800/screenshot-2026-03-26-at-11453_1inlktw.png =700x619)

The logic will now pass through the newly inserted step before continuing.

# Example

If your flow is:
* Check if (Customer tag) → Apply discount
You can insert a new condition:
* Check if (Customer tag) → Check if (Cart value) → Apply discount
This allows more precise control without recreating the entire logic.

# Important Behavior
* The inserted step inherits the position in the flow and does not remove existing steps
* Existing “Then” and “Otherwise” branches remain intact
* If the inserted step includes conditions, you must define its “Then” (and optionally “Otherwise”) to avoid a Missing step error

# Understanding Then / Otherwise Paths
When inserting a step, it becomes part of an existing branch. Each step follows a condition → outcome structure:
* **Check if → Then**
The flow continues here when the condition is met.
* **Check if → Otherwise**
The flow continues here when the condition is not met.
* **Buy X → Then**
The flow continues here when the purchase requirement is met.
* **Buy X → Otherwise**
The flow continues here when the requirement is not met.

When you insert a step using **“Then (+)”**, you are placing it inside the **“Then” path of the previous step**. The flow will pass through the new step before continuing.

If the inserted step has its own condition, you must define its **Then** (and optionally **Otherwise**) paths to complete the logic.

