# Add steps and conditions to a flow

Add steps to a Mimeo flow: send an email, start a sequence, wait, wait until something happens, branch on a condition or prune.

Steps are what a [flow](https://mimeohq.com/docs/usage/flows) does after its trigger, run top to bottom. On the flow's diagram, hover where the step should go, click **+**, pick a type and fill in its settings. Click any step later to change it.

## The steps

| Step | What it does |
| --- | --- |
| **Send email** | Sends one email from your library, then moves on. |
| **Start sequence** | Starts a [sequence](https://mimeohq.com/docs/usage/sequences) and waits here until it finishes. |
| **Wait** | Holds the person for a set time, such as 2 days. |
| **Gate** | Holds the person until something happens, with an optional time limit. |
| **If / else** | Splits the path on a condition. |
| **Add tag**, **Remove tag** | Puts a tag on the person or takes one off. |
| **Set field** | Writes a value to one of their custom fields. |
| **Fire event** | Fires an event that other flows can start on. |
| **Exit** | Ends the person's run here. |
| **Prune** | Unsubscribes people who stayed quiet. |

## Wait until something happens with a gate

A gate holds people until an event happens or a condition becomes true. Under **How long to wait**, choose **Give up after a while** and the gate gets two paths: **Criteria met** for people who did it, and **Gave up** for people who didn't.

Example, an abandoned checkout: the flow starts on a checkout event, then a gate waits up to a day for the purchase. Put a reminder email on the **Gave up** path and leave **Criteria met** empty, so only people who never bought get it.

## Branch on a condition

An **If / else** step checks a condition under **Split on** and sends people down **Yes** or **No**. Conditions can check tags, fields, events, opens and clicks, purchases, subscriptions and [segments](https://mimeohq.com/docs/usage/segments). Both paths meet again below the step, unless you end one with an **Exit**.

## Unsubscribe quiet people with prune

A **Prune** step unsubscribes the person from everything, as the unsubscribe link does. Anyone who opened or clicked since entering the flow is skipped. Use it after a [No opens or clicks trigger](https://mimeohq.com/docs/usage/flows/triggers), a last-chance email and a wait.

> [!CAUTION]
> Prune unsubscribes real people. Click **Preview who qualifies** on the trigger, and rehearse the flow, before you turn it on.

<!-- cards -->

- [Test and turn on a flow](https://mimeohq.com/docs/usage/flows/test-and-launch): Rehearse it on a real person, then go live.
- [Choose what starts a flow](https://mimeohq.com/docs/usage/flows/triggers): The four triggers and repeat runs.
- [Write an email](https://mimeohq.com/docs/usage/emails): Create the emails your steps send.

---

This is the Markdown copy of https://mimeohq.com/docs/usage/flows/steps.
