Automation #2- Create recurring tickets using Schedules
This is a monthly series where we pick some common use cases that have been either discussed or most asked about in our community and explain how they can be achieved using one of the automation capabilities in Zoho Desk.
Creating recurring tickets for tasks like system updates, firewall checks, unused data clearance and others is one of the most sort after action in Zoho Desk. In this month's topic, we will discuss how you can use a combination of custom functions and the recently launched feature called "Schedule" to create recurring tickets in Zoho Desk.
To achieve this, you need to write a custom script first, let's see how you can do that:
- Go to Setup > Workflows under Automation
- In the left panel under Workflows click Custom Functions
- Click New Custom Function > Write your own
- Give a name to your custom function
- Add a description
In the Deluge field, add the following script:
recordValue = {"subject" : "Create ticket", "departmentId":"168XXXXXXXXXXXXXX044",
"contactId":"1689XXXXXXXXXXXXXX005"};
response = zoho.desk.create(641XXXXXX, "tickets", recordValue);
Note: The Department ID and the Contact ID has to be updated based on your setup.
You can fetch these IDs from the URL or by making the following API calls for Dept ID and Contact ID.
Click Save
With the custom script in place, follow these steps to create a schedule for your ticket creation.
- Go to Setup > Schedules under Automation.
- On the Schedules page, click New Schedule in the upper-right corner.
- In the Add Schedule page, do the following:
Click the Execute On field to specify the date and time at which the function should be executed.
- Set the schedule frequency from under the Repeat drop-down field.

You can execute the schedule either once (select, Never) or on an hourly, daily, weekly, monthly, or yearly basis. - Select the Custom option to run the schedule either on any specific hour/day/week/month/year along with recurring frequency and end point.

- Click Associate Function and choose the custom function that you created earlier to be associated with the schedule.

- Click Save.
This should help you create recurring tickets in Zoho Desk. If you have any questions, please leave them as comments below.
Sticky Posts
Zoho Desk Virtual Meetup: US Central, October 5 - 7, 2021
After the interactive Virtual Meetups in the other regions, we are starting with the US Central and Midwest regions from October 5 to October 7, 2021. The dates for other regions will be announced soon. At this event, we will explore the topics which
Register for Zoho Desk Beta Community
With the start of the year, we have decided to take a small step in making the life of our customers a little easier. We now have easy access to all our upcoming features and a faster way to request for beta access. We open betas for some of our features
Ask the Experts 10: A 5-hour online Q&A on Zoho Desk Best Practices
Welcome to Zoho Desk's Ask the Experts session! This is a monthly discussion on our forums; wherein a panel of experts will take on questions specific to topics related to Zoho Desk. The panel will be available for a 5-hour period and will answer any questions posted here. Let's begin the year learning some best practices from our experts. In this month's ATE we are opening the floor to questions on how to use Zoho Desk the best way. If you have a business use case but not sure if Workflow is
Share your Zoho Desk story with us!
Tell us how you use Zoho Desk for your business and inspire others with your story. Be it a simple workflow rule that helps you navigate complex processes or a macro that saves your team a lot of time; share it here and help the community learn and grow with shared knowledge.
Ask the Experts 7: A 5-hour online Q&A on Telephony and Call Module
Welcome to Ask the Experts session! This is a monthly discussion in forums; each session, a panel of experts will take questions on specific topics related to Zoho Desk. The panel will be available for a 5-hour period and answer any questions posted here. In this month's Ask the Experts, we will take questions on everything related to Telephony and the Call Module in Zoho Desk. We will discuss the following aspects: Integration with different Telephony vendors Routing calls to agents Converting
Zoho Pagesense Resources
Zoho SalesIQ Resources
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Desk Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.