# Auto assign new Tickets to Agent or Group based on Sender/Customer Email Address

**URL:** https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647
**Category:** Technical assistance
**Created:** [November 23, 2018, 5:17pm UTC](https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647 "2018-11-23T17:17:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hgemmer](https://community.zammad.org/letter_avatar_proxy/v4/letter/h/3bc359/32.png) [@hgemmer](https://community.zammad.org/u/hgemmer)
#### Post date: [November 23, 2018, 5:17pm UTC](https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647/1 "2018-11-23T17:17:22Z")

</div>

That little feature would make our live much easier 🙂

Infos:

```
Used Zammad version: 2.7.x
Used Zammad installation source: DEB
Operating system: Debian GNU/Linux 9 (stretch)
Browser + version: Firefox 

```

Expected behavior:

```
Auto assign new Ticket to Agents or Group based on Sender/Customer Email Address.

```

Actual behavior:

```
New to Zammad and can not find a solution for this in the documentation nor within the community.

```

Thanks to all, Harald

---

<div class="post-metadata">

### Author: ![edneymatias](https://community.zammad.org/user_avatar/community.zammad.org/edneymatias/32/582_2.png) [@edneymatias](https://community.zammad.org/u/edneymatias)
#### Post date: [November 24, 2018, 1:59am UTC](https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647/2 "2018-11-24T01:59:36Z")

</div>

Hi! I think you can user filters on e-mail channel configuration to assign new tickets to groups and even agents. Later on, you can use triggers to do the same thing based on ticket update. Finally you can use scheduled jobs to run batch updates on tickets.

---

<div class="post-metadata">

### Author: ![hgemmer](https://community.zammad.org/letter_avatar_proxy/v4/letter/h/3bc359/32.png) [@hgemmer](https://community.zammad.org/u/hgemmer)
#### Post date: [November 24, 2018, 10:46am UTC](https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647/3 "2018-11-24T10:46:21Z")

</div>

Dear Matias, thanks for the answer. My first tries did go in that direction. But this approach is a bit complicated and would generate a lot of work to maintain it. What I am looking for, is a way to assign each customer to a group that contains agents or direct to a single agent. This would create a auto dispatching system, saves time and speeds up replies.

---

<div class="post-metadata">

### Author: ![edneymatias](https://community.zammad.org/user_avatar/community.zammad.org/edneymatias/32/582_2.png) [@edneymatias](https://community.zammad.org/u/edneymatias)
#### Post date: [November 25, 2018, 12:59pm UTC](https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647/4 "2018-11-25T12:59:35Z")

</div>

Hi! I don’t know if I got you right but I understand you want to route customer tickets to a given group or set of groups depending on the given customer. It’s seems to me a job for e-mail filters at first. I do this actually, I have a couple of VIP clients that I assign to a priority group with dedicated agents.

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [March 25, 2019, 12:59pm UTC](https://community.zammad.org/t/auto-assign-new-tickets-to-agent-or-group-based-on-sender-customer-email-address/1647/5 "2019-03-25T12:59:37Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
