# Using the Omni Flow flow control

The **Omni Flow** flow control allows you to extract information from prior sources on the journey (including information extracted from the [**Omni Channel** message activity](#using-the-omni-channel-message-activity) and MO messages retrieved by the [**Omni Entry** entry source](#using-the-omni-entry-entry-source)) and use it to split your journey and populate fields in subsequent activities. To successfully include the **Omni Flow** flow control in your journey, you must:

1. [Add the Omni Flow flow control to the journey itself](#adding-the-omni-flow-flow-control-to-your-journey)
2. [Configure the Omni Flow flow control](#configuring-the-omni-flow-flow-control)


## Adding the Omni Flow flow control to your journey

To add the Omni Flow flow control to your Salesforce Journey:

1. Navigate to or create the journey to which you'd like to add the Omni Flow flow control.If you are creating a journey, ensure you select a **Multi-Step** journey.
![Omni Channel Multi Step](/assets/omnicon-multi-step.54b65870f46b6d4b1a69fb2196c0b0ba8c93656de855f1ec4639fa0dcaa9f06e.2a64585d.png)
2. Locate the Omni Flow flow control under the **Flow Control** category of the **ACTIVITIES** section on the left side of the screen.
![Omni Flow activity](/assets/omnicon-flow-activity.66cf0502a2bf233d29b63ddb269f6363c0fad6614f42515bb5f5c130f7b39094.2a64585d.png)
3. Click and drag the Omnichannel flow control to the appropriate space on your journey. It must be placed directly after an **Omni Entry** entry source (if it is to process information extracted from MO messages delivered in response to messages sent on another journey) or a combination of an **Omni Channel** messaging activity and a **Wait Until Event** control (if it is to extract responses/information from the **Omni Channel** activity).
![Omni Flow drag](/assets/omnicon-flow-place-control.7bc2abb4cdf2eee9c929155d35f495871038e369b264b5ece767ac2ffd04df3e.2a64585d.png)


After it has been added to your journey, you must configure the Omni Flow flow control.

## Configuring the Omni Flow flow control

To configure the Omni Flow flow control in your Salesforce Journey:

1. Double-click the Omni Flow flow control that is included in your journey. The first page of the Omni Flow flow control configuration wizard is displayed.
![Omni Flow configure](/assets/omnicon-flow-configure.e546e9b40ed34a02c4cb0623ad0eccba2d1ed8ce778724844a398184615c88a8.2a64585d.png)
2. Select whether you want to split the flow of your journey **By keyword** or **By delivery status**.
![Omni Flow split](/assets/omnicon-flow-split-method.b93c9fef2dc951fd8421996000aecba439d6601c4d7543403c181a658835a1d6.2a64585d.png)
3. Add your first path, which should be different than the *Default path*. Click **Add path**.
![Omni Flow add path](/assets/omnicon-flow-add-path.20a06d0cca6680c9cfd1394f57ea792b41e681b2eb8ea53b46661263bafc4be6.2a64585d.png)
4. Define either a keyword (or keywords) or a delivery status (or statuses) to associate with this path, depending on the selection you made in the previous step. First, populate the field, then click **Add keyword** or **Add delivery status**.
![Omni Flow add value](/assets/omnicon-flow-add-keyword.5bc23d078ba39807daa43ae2283172934d2b21be73cde4669e7ed2714a0d7492.2a64585d.png)
5. Add as many additional paths (with unique keywords or delivery statuses) as your solution requires by using the same method in the previous step.
To rename a path, click the pencil icon and enter the new name into the editable field.
![Omni Flow name change](/assets/omnicon-flow-rename.45fa951385645babd6c32787e2288d4fc036852dee5c1454a2e53c8277f9fcba.2a64585d.png)
6. When you are done adding paths, click **Done**.


## A note on Wait Until Event

As discussed in previous sections, you may include an **Omni Flow** flow control directly after a combination of a **Omni Channel** activity and a **Wait Until Event** control.

In order for this configuration to function properly, you must configure the **Wait Until Event** control to listen for the API event that is automatically created by the **Omni Channel** activity. This will provide the subsequent **Omni Flow** control with the appropriate pieces of data that will allow it to direct the path based on status or keywords.