Recent searches
No recent searches
How do you set a view to filter by "from" email address?
Answered
Posted Dec 18, 2015
How do you set a View to filter by "from" email address of non-agents / non-admins?
Filtering by Description, which limits to three characters, is a highly risky method and not all emails I want to filter have a unique 3 word phrase.
0
8
8 comments
Serge Payette
Hi Spencer,
If I get this right, you'd like to have a View which where Requester e-mail addresses would be displayed. Did I get this right ? If so, here's one way to get this done:
First you'll need to create a custom ticket field to capture requester e-mail addr. Then, you'll create a URL Target so that requester e-mail addr will send to your Zendesk system. The next step will then be to create a Trigger rule so that requester e-mail addr will be added to tickets upon meeting certain conditions (the below example will get this done for any Incident ticket being updated, however you may prefer to add this action to an already existing rule). Last but not least, you'll create a new View where the newly created ticket field will be added in order to be displayed.
Here's how to get this done:
1- Ticket Field (Field type "Text" (capture small text))
For agents:
cust_email
*Upon creating the new field, you'll need to edit it right after to capture the "Custom field ID" (top left corner) which will be required in the next step.
2- URL target
Title:
cust_email_addr
URL: https://COMPANY.zendesk.com/api/v2/tickets/{{ticket.id}}.json+?ticket[custom_fields][<insert Custom field ID here>]={{ticket.requester.email}}
example:
https://moderatorserge.zendesk.com/api/v2/tickets/{{ticket.id}}.json+?ticket[custom_fields][29535557]={{ticket.requester.email}}
Method:
PUT
Attribute Name:
"value"
Basic Auth:
Username/token
token value (taken from >admin >API >Active API tokens)
3- Trigger
Meet all of the following conditions:
Ticket:Type Is Incident
Ticket Is... Updated
Perform these actions:
Notifications: Notify target cust_email_addr (which is the target created above).
Message: value
4- View
Add the new ticket field - cust_email - to the View column table, you can "Group" or "Order" by as you wish.
Hope this helps
Serge
0
Jessie Schutz
Hey Serge! Thanks for the amazingly in-depth answer! :D
0
Spencer Hill
Thank you for your time Serge.
Unfortunately I don't believe this answers my question.
I'm not looking to display the Request email. Rather I'm trying to filter it from a view.
Ex. Navigate to Settings > View > edit any View > Click the "+" symbol under "Meet all of the following conditions:" > Choose "Ticket Requester" > Choose "Is" > And you'll see a list that ONLY displays Agents. I need to choose anyone who has emailed us.
0
Serge Payette
Spencer,
OK, I see what you're looking for. Seems like a system limitation as selecting "Requester" or "Assignee" gives the same options to choose from. Actually, looks rather like a system bug as this Agent Guide link clearly states that "Requester" should be available from the pull-down menu:
Let's see what Support has to say about this. If no response by next business day, I'd suggest to open a formal support request with Zendesk Product Support group.
Rgds
Serge
0
ZZ Graeme Carmichael
Pretty sure that is by design.
There is a similar request where Erin and Kristof offer some workarounds.
0
Serge Payette
Thanks for the info @Graeme, indeed that's a similar request. Let's hope that this answers Spencer's needs.
Nonetheless though, as per my previous post, the documentation does specify that "Requester" should be available from "Ticket: Requester" condition. However, I only see that option when I'm selecting "Ticket: Assignee".
Rgds
Serge
0
Greg Gunewardena
Just wanted to say thanks for your solution to this Serge. Much appreciated.
0
Jessie Schutz
Welcome to the Community, Greg! I'm glad you found this helpful. :)
0