Creating Schedules in Automation

Creating Schedules in Automation

Schedules are automated user-defined actions, which can be performed through Functions either at a particular time or on a recurring basis. User-defined actions enable creating unique scheduling situations that can be executed periodically based on your requirements.

You can now schedule a Function such that it is executed automatically on a daily, weekly or monthly intervals.

Schedules allows to integrate your CRM data with your company’s website/intranet, any third-party applications or other Zoho Apps. For example, using schedules you can

  • Periodically sync up your contacts with other applications
  • Push your CRM Data to your legacy system for data-back up purposes.
  • Alert the users about any idle leads or deals.
Availability
Permission Required
Users with Manage Workflow permission in their profile can access this feature.



Create Schedules

To create a custom schedule
    1. Go to Setup > Automation > Schedules.
    2. Click Create your First Schedule.
    3. In the  Create New Schedule page, do the following:
      • Enter a name and description to the Schedule for easy identification.
      • Now choose the Function to be associated with the schedule. You can write your own Function using our Deluge Script Editor based on your requirements. The Function will be executed automatically on the scheduled date, time and frequency. See also Choose Function
      • Choose an Execution Start date and Execution time to which the Function should be executed.
      • Set schedule frequency from the available drop-down list.
        You can execute the custom action either once or on a daily, weekly, monthly or yearly basis with specific date/time and recurring frequency. See also Set Schedule Frequency
      • Choose the End point of the schedule.
        You can stop the custom action either after executing it once, or till a specific date or the number of times it has to be executed.
    4. Click Save.
Note
  • User-defined CRM variables can also be used in the Custom schedule. When you create a Function to be associated with the schedule, you can select the CRM variable as an argument.

Set Schedule Frequency

You can set schedule frequency either once or on a daily, weekly, monthly, or yearly basis with specific date/time and recurring frequency.

To set the schedule frequency

  1. Choose the schedule frequency as either Once, Daily, Weekly, Monthly or Yearly, in the Frequency field. For example, if you choose to set frequency on a monthly basis, then the scheduled Function will be executed on a monthly interval.
  2. Choose the option Custom from the drop-down list to run the custom action either on any specific day/month/year along with recurring frequency for your schedule. For example, if you choose to run the schedule every month, you can repeat the schedule on any specific day of the month.
  3. Use the Run Now option in the schedule configuration page to manually trigger the scheduled function whenever required.

Note
  • You are allowed to trigger the schedule manually only twice per day.

Choose Function

Every schedule should be associated with a Function. Using our Deluge Script Editor, you can write your own Function and schedule it to execute periodically.
See also Deluge Script - Reference Guide.

Failed Schedules

All the failed schedules will be logged and displayed under the Failure tab in the Schedules configuration page. These data will be available as long as they are present in the CRM Audit logs.

Edit Schedules

You can edit the existing custom schedules whenever required. Only the users with manage workflow permissions can edit schedules.

To edit a schedule

  1. Go to Setup > Automation > Schedules.
  2. Select the required schedule from the list and click the Edit icon.
  3. Edit and update the changes as per your requirements.

Delete Schedules

To delete a schedule

  1. Go to Setup > Automation > Schedules.
  2. Choose the required schedule that you want to delete and click the Delete icon.
Points to Remember

  • Every organization can have only 10 active schedules.
  • You are not allowed to duplicate a schedule name.
  • The start date of a Schedule should not exceed 1 year from the current date.
  • Every schedule execution details will be logged in CRM Audit Logs.
  • Function should not exceed two hundred thousand lines of execution.
  • Function should run within span of 5 mins.
  • Use Integration tasks whenever possible.

    • Related Articles

    • Creating Sandbox

      Creating  sandbox account CRM admins can create multiple sandboxes in one account to test different configurations independently. While creating a sandbox you need to do the following: 1. Choose the sandbox type: There are two types of sandboxes to ...
    • Creating Deals

      In Zoho CRM, you can create deals by: Entering data in the deal details form: You can manually fill in the Deal details gathered from various external sources. Importing deals from external sources : You can gather data through various sources and ...
    • Creating Webhooks

      Webhooks facilitates communication with third-party applications by sending instant web notifications every time an event occurs in Zoho CRM. With Webhooks, you can configure HTTP URLs and associate them in workflow rules to automate the entire ...
    • Marketing Automation - An Overview

      As part of the marketing automation, Zoho CRM provides Campaign management, Email marketing, and Web Forms (to generate leads, contacts, and cases) which are useful for integrating your organization's sales and marketing activities. With the Zoho CRM ...
    • Creating Workflow Tasks

      Workflow Tasks are among the actions associated to a workflow rule. A task is an activity that is assigned to a user. When you associate a workflow task to a workflow rule, it is automatically assigned to the user when the rule is triggered for the ...