# Task Sending Multiple Emails

**URL:** <https://forums.knack.com/t/task-sending-multiple-emails/13386>\
**Category:** Get Answers\
**Created:** [November 10, 2022, 7:13pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386 "2022-11-10T19:13:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott4](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@Scott4](https://forums.knack.com/u/Scott4)\
**Post date:** [November 10, 2022, 7:13pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/1 "2022-11-10T19:13:47Z")

</div>

I setup a task to email the users when a particular field called “attorney feedback” is blank. The task ran properly but ended up sending multiple emails to each user for every single record that was blank. I just need to send 1 email if any of the fields are blank. I am trying to alert attorneys when they have records in the system that are not completed but I only want the system to send 1 alert.

Is this possible to limit it to 1 email even if there are multiple records?

---

<div class="post-metadata">

**Author:** ![BradStevens](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/bradstevens/32/140_2.png) [@BradStevens](https://forums.knack.com/u/BradStevens)\
**Post date:** [November 10, 2022, 9:09pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/2 "2022-11-10T21:09:50Z")

</div>

Hey @Scott4 - yes, the trick is to set the task on the User object:

- Add a Count field on the User object to count connected ‘Feedback’ items that have blank fields.
- the email trigger is if the Count is higher than 0.
- your email can also include the number of Feedback records needing attention.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![Scott4](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@Scott4](https://forums.knack.com/u/Scott4)\
**Post date:** [November 10, 2022, 10:32pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/3 "2022-11-10T22:32:10Z")

</div>

How do I add a count field on the user object?

---

<div class="post-metadata">

**Author:** ![Scott4](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@Scott4](https://forums.knack.com/u/Scott4)\
**Post date:** [November 10, 2022, 10:34pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/4 "2022-11-10T22:34:06Z")

</div>

Ok I found where to add the count field but I have users connected to multiple tables so isn’t that going to count for all tables?

---

<div class="post-metadata">

**Author:** ![Scott4](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@Scott4](https://forums.knack.com/u/Scott4)\
**Post date:** [November 10, 2022, 10:38pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/5 "2022-11-10T22:38:13Z")

</div>

Ok, so I figured out adding the count to the user object but when I try to define the task email, I cannot find a count option on the drop down? Thanks for your help on this by the way.

---

<div class="post-metadata">

**Author:** ![Scott4](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@Scott4](https://forums.knack.com/u/Scott4)\
**Post date:** [November 10, 2022, 10:56pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/6 "2022-11-10T22:56:32Z")

</div>

Disregard. I think I have it figured out. Thank you so much for helping with this!

---

<div class="post-metadata">

**Author:** ![BradStevens](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/bradstevens/32/140_2.png) [@BradStevens](https://forums.knack.com/u/BradStevens)\
**Post date:** [November 10, 2022, 11:00pm UTC](https://forums.knack.com/t/task-sending-multiple-emails/13386/7 "2022-11-10T23:00:23Z")

</div>

I reckon you’ve found the ‘When’ filters in the Task Action - the count field should be there.
