# How to send out email to set of Users that meet a criteria?

**URL:** <https://forum.bubble.io/t/how-to-send-out-email-to-set-of-users-that-meet-a-criteria/2037>\
**Category:** Uncategorized\
**Created:** [March 18, 2016, 2:31am UTC](https://forum.bubble.io/t/how-to-send-out-email-to-set-of-users-that-meet-a-criteria/2037 "2016-03-18T02:31:00Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![rhinoted](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rhinoted/32/8352_2.png) [@rhinoted](https://forum.bubble.io/u/rhinoted)\
**Post date:** [January 6, 2017, 2:00pm UTC](https://forum.bubble.io/t/how-to-send-out-email-to-set-of-users-that-meet-a-criteria/2037/21 "2017-01-06T14:00:25Z")

</div>

I use it as a match system:

every user has a wish list of items and list of items that sells.

any item has an attached list of “users wishlisting that item”

when somebody create a new sell, if the item exists, all the user in the item’s “users wishlisting that item” within a certain range are notified instantly via email.

---

<div class="post-metadata">

**Author:** ![artisans](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@artisans](https://forum.bubble.io/u/artisans)\
**Post date:** [March 12, 2021, 2:50pm UTC](https://forum.bubble.io/t/how-to-send-out-email-to-set-of-users-that-meet-a-criteria/2037/22 "2021-03-12T14:50:17Z")

</div>

Hey Nigel !

When I create the workflow “schedule API workflow” I don’t have the field “UserId” which is necessary if I understood well.

 ![Capture d’écran 2021-03-12 à 14.49.22](https://us1.discourse-cdn.com/bubble/original/3X/a/9/a92b4c7f3b14a8782780227237fb4ca32197ada9.png)

Thanks Nigel  
Virginia

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [March 12, 2021, 3:21pm UTC](https://forum.bubble.io/t/how-to-send-out-email-to-set-of-users-that-meet-a-criteria/2037/23 "2021-03-12T15:21:36Z")

</div>

The User will be sent to your sendmail workflow so you can pick up any field on the User there.

[Previous page](https://forum.bubble.io/t/how-to-send-out-email-to-set-of-users-that-meet-a-criteria/2037.md?page=1)
