# Multi Case Helper

<figure><img src="https://291121471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McrRFZHYH27bqKzOVDd%2Fuploads%2F1j314bqLKVXibmE6weel%2Fimage.png?alt=media&#x26;token=2b97f656-aad8-4bdf-9510-f8ef98fc8aa7" alt="" width="215"><figcaption></figcaption></figure>

## Overview

With the Multi Case Helper, you can route the Flow path based on the specific value of some field, variable, etc.

## Actions

The **Multi Case Helper** has only one default action - **Select case decision**.

The label of the corresponding arrow needs to match the test case value so that its Flow path is taken. You can add as many arrows as you like.

## Example

Let's imagine a Flow that takes data from a form and based on a select field in the form should either create a payment in Stripe, create a new deal in a CRM such as HubSpot, or create a new ticket in a system such as Zendesk.

The Multi Case Helper in that case takes the field as the test case value:&#x20;

<figure><img src="https://291121471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McrRFZHYH27bqKzOVDd%2Fuploads%2FHaL2TszrG0AvezvRNJxA%2Fimage.png?alt=media&#x26;token=d917f0ee-124b-468a-be09-4db1c2cf04c2" alt="" width="563"><figcaption></figcaption></figure>

Based on that value of `{{ inquiry_type }}` it will follow one of the three arrows to the next step of the Flow:

![Flow paths after Multi Case Helper](https://291121471-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McrRFZHYH27bqKzOVDd%2Fuploads%2Fajj4rr2KbQqhWvqMVbit%2Fimage.png?alt=media\&token=4dea21e5-1e9a-46bc-aeac-a306330007d3)

## Defaulting to a Case

Q: Is there a **standard (default)** action possible with the Multi Case Helper?

A: It is possible to add in the Multi Case Helper e.g.:

```django
{% if reference == ‘value1‘ or reference == ‘value2‘ or .. %}
{{ reference }}
{% else %}
default
{% endif %}
```

Then three arrows need to be created with the following names:

* value1
* value2
* default

Thus, the flow route defaults to `default` whenever none of the other arrows match.
