• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
Solution home App Resources Zendesk

Zendesk : Bulk ticket updates

Modified on: Sun, Nov 20, 2016 at 8:53 PM

Updating a batch of existing tickets



There can be various situation where tickets of a certain type, belonging to one organisation, or applied of a certain tags, need to be updated. Whether is a reassignment, a broadcasting comment, or simply closing these tickets, updating each ticket one by one can be taxing upon your Zendesk API limits each day.


With Bulk ticket updates action, you will be able to save on your API usage, as well as making your recipes look better more efficient. Here are a few simple steps on how you can do so.


1) Obtain a Tickets List Item Data Pill


The Bulk Ticket Updates action requires a number of TicketID concatenated by commas in order to work. If you'd like to auto-generate a list of those tickets under a specific filter, simply perform a Search Tickets action.

G0meoxJEDyJeaJD4Itd91u7_lr6ejhGkFQ.png



2) Listing tickets in a comma separated format


With its output, you can now use Workato's formula mode to extract its Ticket ID in a comma separated structure. First. Click on the formula mode on beside the field. 

4mK7HFQnouJAWWNCaIqzTSAQN1g8kwdJhw.png



Then, simply drag the Tickets data pill from your Search ticket action. The Tickets datapill will be the one accompanied by a List symbol (one with multiple stripes). 


I_h3bXaeNsJsmdLtXhdMJZZVQQigvyZYzQ.png



Next, we are going to use the .pluck() formula to assist us in getting the Ticket IDs of all of the tickets. Simply copy and paste the following Formula below and place it right after the data pill in the field : 

.pluck('TicketID')

 


It should now look like this :  

pqOVUE72WBGvc9kUI_FIxxWe1vCFRII0Ig.png


3) Specify the fields to update

With this, you can now specify the fields that you'd like to update with. In this example, we are closing all tickets that has tag 'completed'. 

8hmRD2VOYNZwahDdWmwbkoNg2ixzw2bRsA.png



You have now successfully automated a long, repetitive work in only two simple Workato steps!

UCWKGcYfKdaAO8ehXs-zsdCZQj071_omdQ.png




Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Still can't find your solution?

    Visit our forums to search for answers, or post your own questions.

    Documentation
    Developer's Library
    Tutorials
    eBooks
    Product Hour
    Product Blog
    Workato Blog
    Product updates
    Customer Stories
    © Workato 2022   Privacy   Terms   +1 (844) 469-6752
    • Documentation
    • Workato Blog
    • Product Blog
    • Solutions
    • Forums
    • Tickets
    • Log in
    • Return to Workato
    Article views count