Recent searches
No recent searches
Python or Javascript to Check if Organization Already Has a Ticket Open
Posted Nov 16, 2023
My small team uses Zendesk to provide customer-facing tech support. I need to create an Internal Note into a ticket or send an email whenever a ticket is created that is from an Organization that already has an open/pending ticket with us.
The plan is to create a zap using Zapier to trigger an action when a new ticket is created within an organization and that organization already has at least one open ticket. The purpose of this is to notify my agents if that organization already has an open ticket that might be assigned to a different agent or is under a different requester within the same org. From my understanding, there is no way to do this natively in Zendesk. See: https://support.zendesk.com/hc/en-us/community/posts/4701558012314-Trigger-that-send-email-if-organization-or-user-already-has-a-ticket-open?input_string=Python%20or%20Javascript%20to%20Check%20if%20Organization%20Already.
So I'm looking to use Zapier and I will need to use either Python or Javascript to access the API. I am not fluent in coding whatsoever so we were wondering if there is already code out there for this or if someone could tell me how to write it.
Basically when a new ticket is created within one of our Views, I want to check the organization of that ticket and if there is already an existing open or pending ticket for that org then send an email to the assignee or create an internal note (or something of that nature).
Would anyone be able to explore how to write this with me?
0
0 comments