# Multiple recipients based on user role

**URL:** <https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131>\
**Category:** Get Help\
**Tags:** notifications, conditional-notifications, user-roles, gravity-flow\
**Created:** [May 13, 2021, 8:00pm UTC](https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131 "2021-05-13T20:00:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpa](https://avatars.discourse-cdn.com/v4/letter/k/ebca7d/32.png) [@kpa](https://community.gravityforms.com/u/kpa)\
**Post date:** [May 13, 2021, 8:00pm UTC](https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131/1 "2021-05-13T20:00:12Z")

</div>

Hi! I would like to send email notifications to all users with a certain user role. For example:

If I ask in the form “Do you want to stay in a hotel?” and it is answered by yes, the email notification should go to all people who have the user role “hotel”.

How can I achieve this? Is there something similar like {admin\_email}? For example, using the user role name which would be for the user role hotel {hotel\_email}?

Many thanks!

---

<div class="post-metadata">

**Author:** ![user60887a9f7f4cd926](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user60887a9f7f4cd926/32/2840_2.png) [@user60887a9f7f4cd926](https://community.gravityforms.com/u/user60887a9f7f4cd926)\
**Post date:** [May 14, 2021, 2:32pm UTC](https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131/2 "2021-05-14T14:32:54Z")

</div>

Hi Kpa,

You can do this by using conditional logic on the email/notification on the setting.

You can add if user input includes hotel, send to email user role with hotel.

Thanks

---

<div class="post-metadata">

**Author:** ![kpa](https://avatars.discourse-cdn.com/v4/letter/k/ebca7d/32.png) [@kpa](https://community.gravityforms.com/u/kpa)\
**Post date:** [May 19, 2021, 6:41pm UTC](https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131/3 "2021-05-19T18:41:19Z")

</div>

HI Ericson, thanks for your suggestion! My problem is that I have approximately 30 users with a special role (‘hotel-owner’) and want to send the notification to all of them if certain conditions are fulfilled - not to a certain logged-in user. Unfortunately, I have not found any solution to this. I justed solved it by copying/pasting all the email addresses of the user with the role ‘hotel-owner’, but that is not really practicable as I need to change it manually if there is a user-role change.

---

<div class="post-metadata">

**Author:** ![JamieO](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/jamieo/32/2521_2.png) [@JamieO](https://community.gravityforms.com/u/JamieO)\
**Post date:** [May 27, 2021, 4:12am UTC](https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131/4 "2021-05-27T04:12:20Z")

</div>

> [@kpa](#):
>
> I have approximately 30 users with a special role (‘hotel-owner’) and want to send the notification to all of them if certain conditions are fulfilled - not to a certain logged-in user.

Setting up the notification via a [Gravity Flow](https://gravityflow.io) Step will provide you with an option to send it based on the role, in which case every user with that role will get a separate copy of the notification. Along with the condition - to determine if the step should execute based on value(s) in the entry - that probably provides you a very simple setup pattern.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/7/7eb00aa910b234e6843075824cfd40498481ee82.png)

Gravity Flow also helps you standardize what might be an email intensive process for the form submitter or those hotel owners to action. With step types such as [approvals for verifying bookings](https://docs.gravityflow.io/article/22-approval-process) or [user input for quote/estimates](https://docs.gravityflow.io/article/23-configuring-user-input-step), or delayed payment processing with the Gravity Forms and [Flow Stripe extension](https://gravityflow.io/downloads/stripe/).

Cheers,  
Jamie

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 5, 2022, 8:34am UTC](https://community.gravityforms.com/t/multiple-recipients-based-on-user-role/9131/5 "2022-01-05T08:34:46Z")

</div>


