> For the complete documentation index, see [llms.txt](https://claimlane-docs.gitbook.io/claimlane-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://claimlane-docs.gitbook.io/claimlane-docs/troubleshooting-and-faqs/how-to-set-up-and-use-internal-conditional-tags.md).

# How to Set Up and Use Internal Conditional Tags

> **Important:** This guide applies only to **internal tags**, not flow tags.

### **1. Open Settings**

From the Claimlane inbox:

1. Look at the **bottom-left corner**.
2. Click **Settings**.

<figure><img src="/files/rnnjW4uc1kVCPnmWtF49" alt=""><figcaption></figcaption></figure>

***

### **2. Go to Your Datasource**

1. In the left menu, find **Self-service portals**.
2. Select the **datasource** you want to work with.
3. Click **Datasource** to open its configuration.

<figure><img src="/files/bMkmytk0QUIzPHfkhTy2" alt=""><figcaption></figcaption></figure>

***

### **3. Open Internal Tags**

Inside the datasource:

1. Go to **General tags**.
2. Select **Internal tags**.

This is where all the internal tags are created and managed.

<figure><img src="/files/hPEPZrv827Svl7IlYNoc" alt=""><figcaption></figcaption></figure>

***

### **4. Create Your First Tag (Single Select)**

The **first tag in the chain must always be Single Select**.\
This is your “root” selection the first choice shown.

Example: A tag named **root**.

1. Click the tag name to edit it.
2. Set **Tag type** to **Single select**.
3. Click **Manage options**.
4. Add each option you want to display (e.g., 1–2–3–4–5–6–7).

<figure><img src="/files/dmCxGBQuf5tzdwguKmwV" alt=""><figcaption></figcaption></figure>

***

### **5. Create All Other Tags as Conditional Single Select**

Every tag after the first must be a **Conditional single select**.

For example:

* **1st option** → Conditional single select
* **Last option** → Conditional single select
* Any additional options → Conditional single select

This ensures that each option only appears when its parent option is selected.

<figure><img src="/files/AauMWozXcJzLpXqawgWQ" alt=""><figcaption></figcaption></figure>

***

### **6. Set Up Tag Mapping**

Once your internal tags are created:

1. Go to **Tag mapping** (bottom of the left menu).
2. You will see your first tag (e.g., **root**).
3. For each option inside your root tag, you can select which internal tag should appear under it.

This is where you choose what displays under each selection.

Example:

* If user selects **1**, show the tag **1st option**

<figure><img src="/files/olNP4n2HgmWNjnSSR6eS" alt=""><figcaption></figcaption></figure>

* Then if we select 1st option we show last option

<figure><img src="/files/TuLXZ6v2omdi44pajRKf" alt=""><figcaption></figcaption></figure>

* So on and so forth until you reach the last option you need

<figure><img src="/files/O79pmrHt01QWb8d5oFmM" alt=""><figcaption></figcaption></figure>

***

### **7. Build as Simple or Complex as Needed**

Conditional tags allow you to create:

* Simple two-step selections
* Multi-level decision trees
* Complex conditional structures for large product catalogs

There are no limits to how many nested conditional tags you use  just keep the first tag as **Single select** and all subsequent ones as **Conditional single select**.
