> For the complete documentation index, see [llms.txt](https://docs.powerfulform.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerfulform.com/email-notifications/admin-emails-with-conditions.md).

# Route Admin email by answer

Send each submission to the right person, based on what the visitor selected in the form.

{% hint style="info" %}
**Dynamic email notification** is available on Premium plans and above. See [Plans and billing](/settings/plans-and-billing.md).
{% endhint %}

**Example:** "Web Dev" goes to `web@yourstore.com`, "Support" goes to `support@yourstore.com`, and "Sale" goes to `sale@yourstore.com`.

## 🔍 How It Works

```
Visitor picks an option 
→ A hidden field holds the matching email 
→ App sends the admin email to that address
```

For example:

If the user selects “Web Dev”, the email will go to `web@example.com`\
If the user selects “Sales”, the email will go to `sales@example.com`\
If the user selects “Support”, it will go to `support@example.com`

You need two things: a **question** (the visitor picks an option) and a **Hidden field** (holds the email address for each option).

## 🔧 How to Set It

### **1. Add the question**

\
Add a field with options, such as a Checkbox or Dropdown: *"Who do you want to contact?"* with options **Web Dev**, **Support**, **Sale**.

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-63481798e726c9f5378dc197a4bdd05aca1477d8%2Fscreenshot-mail-mail-notification-admin-emails-with-conditions-1.png?alt=media" alt=""><figcaption></figcaption></figure>

### **2. Add a Hidden field**

* Add a **Hidden** element to form > select **Data type** > **Dynamic value**

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-1e74636a43c8fe91913a9a63524a8802bd992cdf%2Fscreenshot-mail-mail-notification-admin-emails-with-conditions-2.png?alt=media" alt=""><figcaption></figcaption></figure>

* Match each option to an email

In the Hidden field, set **When** to your question. For each option, choose it under **is** and type one email under **then value**.

<table data-header-hidden><thead><tr><th width="331.13330078125"></th><th></th></tr></thead><tbody><tr><td>When <em>Who do you want to contact?</em></td><td>then value</td></tr><tr><td>is <strong>Web Dev</strong></td><td><code>web@yourstore.com</code></td></tr><tr><td>is <strong>Support</strong></td><td><code>support@yourstore.com</code></td></tr><tr><td>is <strong>Sale</strong></td><td><code>sale@yourstore.com</code></td></tr></tbody></table>

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-901b4717e6394322ca170507b1124075af250f34%2Fscreenshot-mail-mail-notification-admin-emails-with-conditions-3.png?alt=media" alt=""><figcaption></figcaption></figure>

### 3.Turn on dynamic email

* From **Elements** tab, move to **Mail** > **Admin email**
* Tick on checkbox **Also send to dynamic email** > **Select email’s element** in dropdown
* select the **Hidden** element you just created

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-1750e9db8b187b8765600a1f1cbab39dc75c4f91%2Fscreenshot-mail-mail-notification-admin-emails-with-conditions-4.png?alt=media" alt=""><figcaption></figcaption></figure>

### 4. Save it

Click **Save**, then submit the form once to test it.

> **⚠️ One email per value.**
>
> Each option can only send to **one** email address. Two addresses in one value (like `a@store.com, b@store.com`) won't work. To notify more people, add one email per option, or add the extra person to the regular **Email** field, which receives every submission.

## 📋 Good to Know

<table><thead><tr><th width="236.13330078125">Situation</th><th>What happens</th></tr></thead><tbody><tr><td>A rule matches</td><td>Email goes to that address</td></tr><tr><td>No rule matches</td><td>No routed email is sent</td></tr><tr><td>Regular admin email is also set</td><td>Those addresses still get every submission</td></tr></tbody></table>

## 🎥 Tutorial video

{% embed url="<https://www.youtube.com/watch?v=cYCJcKwMAwo>" %}

<br>

## 🛠️ Not Working?

* **No email arrived:** Check that **Also send to dynamic email** is ticked and points to the **Hidden** field.
* **Wrong person got it:** Check that the option under **is** matches the question's option exactly.
* **Nothing sent for one option:** Make sure that option has a rule with an email under **then value**.

## Next steps

* [Admin email notification](/email-notifications/admin-notification.md) — the basic setup.
* [Set logic conditions for form](/build-your-form/conditional-logic.md) — the same idea on fields.
* [Contact support](/help/contact-support.md) — if it still does not work.
