Table of Contents

Purpose

Zoho People offer you a great online workflow automation tool that automates all your HR processes, by eliminating most of the manual administrative work. You can preset and customize the workflow process and full access control to the administrative processes will be given. Workflow in Zoho People consists of a set of Trigger Process such as Create, Edit, Create or Edit, Field Update, Approve, Reject, Delete and Date Based Action. A rule is executed based on a Trigger Process and Criteria, thereby the Workflow gets triggered by the automated process of sending Mail Alerts, Checklist and Webhook list.

Benefits of Workflow

  • Criteria - It helps to define the Workflow. You can also configure multiple criteria for every Workflow according to the need.
  • Trigger Process - It helps to trigger the Workflow based on the Criteria and Execute based on Action such as Create, Edit, Create or Edit, Field Update, Approve, Reject, Delete and Execute based on Date. The whole process is executed through actions such as Mail Alerts, Checklist, Webhook list, and Custom Functions.
  • Date Based Action - Reminders now are replaced with this feature. Using date based execution option, you can pick a date field from a record and define the day and time for the rule to gets triggered.
  • Time-Based Action - It helps to execute the Workflow when given a specific execution time. Alerts, tasks and updates using Webhooks will be scheduled and triggered based on a specified time.

Trigger Process

A workflow will be executed based on an Action. There are six different actions which needs to be configured in order for the workflow to be triggered. Default workflow action will be Create.

For example, if you select the Action as Create and the form as Employee, the configured workflow process (Mail Alert, Checklist and Webhook) will be triggered whenever a new record is added in the Employee form.

Create: Workflow process will be executed when a new record is created.

Edit: Workflow process will be executed when an existing record is edited.

Create or Edit: Workflow process will be executed when a record is either created or edited.

Field Update: Executes the workflow when a specific field or more than one field gets updated.

Approve: Workflow process will be executed when a record is approved.

Reject: Workflow process will be executed when a record is rejected.

Delete: Workflow process will be executed when a record is deleted.

Criteria

Defining criteria will totally control the workflow process and makes it much easier. You can set one or more criteria to meet the requirement conditions in order for the records to be filtered and trigger the workflow execution. You can configure multiple different criteria for each workflow process for a specific form.

Actions

The workflow includes three different individual processes to be executed when an action is triggered. Based on the Action and the configuration setup, the selected processes will be triggered simultaneously. The three different processes are Mail Alerts, Checklist, and Webhook. You need to configure each process individually. i.e. for Mail Alerts, you need to configure the template, for Checklist, you need to configure the tasks and for the webhook, you need to configure the API and parameters individually and then you have to associate each process to the workflow rule.

Configuration of Workflow

The workflow system is fully automated and all it needs is just a one-time configuration setup. Please follow the steps below to configure a Workflow process.

  • From your home page, go to Settings > Automation > Workflow  > Add Workflow
  • Select the respective form from the drop-down list for which the workflow is to be configured
  • Name the Rule
  • Select the status checkbox for the rule to be Active and provide a description
  • Select the Trigger process - Here you have options like Create, Edit, Create or Edit, Approve, Reject etc. Here, if you select Field Update, the workflow will be executed when a specific field or more than one field is updated. Further, there are two options in Field Updates - 1.Execute the rule when any one of the selected fields is updated. 2.Execute the rule when all of the selected fields are updated.
  • Set criteria if needed. Here there are options like System Fields and Form Fields. System Fields (Role, Department, Designation and Location) is default for all forms whereas Form Fields will list all the fields belonging to the selected form and these fields will differ based on the form selection.
  • Under Action, you have options like Mail Alerts, Checklists, Field Updates, Webhooks, Custom Functions etc. from which you can choose
  • Click the Folder icon to list the pre-defined templates that has been configured for the particular form
  • To create a new template, click the + icon
  • Select one or more templates

  • Click Save

 

Example scenario for Workflow process

Let's consider this use case: A new employee is joining your organization. The 'New Joinee' process includes different tasks that have to be assigned to individuals or group of members by an HR executive. Below are few example tasks.

  • Sending a Welcome email to all organization members.
  • Notifying Admin Department to provide laptops, Desk Phone etc.,
  • Informing IT Department to configure system and the desk phone for the new joinee.
  • Communicating to the Manager of the employee to allocate a place.
  • Informing the Finance Team to enroll benefit plans for the new joinee.

All these can be done with the help of workflow. Click here to know how you can automate your entire onboarding process with the help of workflows.

Example scenario for Field Update

Let's consider this scenario:  As soon as an employee changes the Marital status as Married in the employee form, you can have an email sent automatically to wish him/her. A workflow can be configured for this purpose. 

To configure Field Update:

  • From your home page, go to Settings > Automation > Workflow
  • Click Add Workflow
  • Select Employee in the Form name
  • Select Field Update under Action
  • Click 'Execute the rule when any one of the selected fields is updated'
  • Select the Marital Status option from the drop-down list 
  • Click Set Criteria 
  • Select the criteria as  'Marital Status', Contains (under the second tab) Married (under the third tab)
  • Under 'Mail Alerts', select an existing email template or click on the + icon to create a new one 

  • Click Save

Date Based Action

Reminders can be created using the 'Date Based Action' option. This date based execution option lets you pick a date field from a record in the form and allows you to define the day and time for the rule to be triggered.

  • From your home page, go to Settings > Automation > Workflow  > Add Workflow
  • Select Form Name.The form you select should contain the respective date field for the workflow to get triggered
  • Provide Workflow Name
  • Select the status checkbox for the rule to be Active and provide a description
  • Choose Action as Execute based on Date
  • Select respective Field Name. All of the date fields in the form for which the rule is being created will be listed
  • Choose On, Before or After or Until from the drop-down list to set the Date of Execution
  • Select the appropriate Time of Execution in which the email has to be sent
  • Select the Execution Occurrence as One Time or Occurring Every Month or Occurring Every Year
  • Under Actions click the folder icon to map a mail alert 

  • Click Save

Date of Execution

  • On - Workflow gets executed on that particular date and time.
  • After - Workflow gets executed after the selected date and time.
  • Before - Workflow gets executed after the selected date and time.
  • Until - Workflow gets executed based on the start date until the end date. The start date drop-down list has four options:On,Before,After and Today and the number of days should be provided and the end date drop-down list has three options: After,Before and On and the number of days should be provided.

Example scenario for Date Based Action - Contract Expiry Date

Let's consider this scenario: Reminding your employees on their contract expiry date before a month through Email.

To configure Date Based Action:

  • From your home page, go to Settings > Automation >  Workflow > Add Workflow
  • Select Employee in Form Name
  • Provide Workflow Name as 'Reminding employees on their contract expiry date'
  • Select the status checkbox for the rule to be Active and provide a description
  • Choose Action asExecute based on Date
  • In Date of Execution drop-down list, select Before and type number one in Month
  • Select 09.00 AM as Time of Execution
  • Select Execution Cycle as One Time
  • Under Actions click the folder icon to map a mail alert
  • Click Save
Note: Contract Expiry Date is not a default date field in Employee form. You need to customize your Employee form to add Contract Expiry Date.

Example scenario for Date Based Action - Training date and time

Let's consider this scenario: Reminding your employees until their training date and time through Email.

  • From your home page, go to Settings > Automation > Workflow
  • Select Training in Form Name
  • Provide 'Reminding employees on their training date and time' as Workflow Name
  • Select the status checkbox for the rule to be Active and provide description
  • Choose Trigger Process as Execute based on Date
  • Select Start date in the Field Name drop-down list
  • In Date of Execution drop-down list, select Until
  • Select Before from the Start Date drop-down list and provide value fifteen in the number of days box
  • Select On from the End Date drop-down list
  • Select 09.00 AM as Time of Execution
  • Under Actions click folder icon to map a mail alert(Training date and time) 

  • Click Save

Example scenario for Date Based Action - Confirmation of new employees after six months along with the Confirmation Letter

Let's consider this scenario where you would like to send the Confirmation Letter to employees after six months of their joining in the Organization. You can configure a workflow by setting a mail notification to be sent along with the confirmation letter as attachment to all employees after six months of their joining date.

  • From your home page, go to Settings > Automation > Workflow > Add Workflow
  • Select Employee form in Form Name

  • Provide 'Automatic confirmation mail' as Workflow Name
  • Select the status checkbox for the rule to be Active and provide description as Automatic confirmation mail after 6 months service in the company
  • Choose Trigger Process as Execute based on Date
  • Select 'Date of Joining' under 'Field Name' 
  • Provide Date of Execution as After 6 Months 0 Days
  • Select 09.00 AM as Time of Execution
  • Select One-Time from Execution Occurrence drop-down list
  • Under Actions, click + icon to create a new mail alert

     TipClick here to know more about creating Record templates and here to know about Mail Merge templates

  • Give a name for the mail alert - for Eg- Confirmation of Employees
  • Give 'From' and 'To' - for 'To' you can select all the Roles under the 'Roles' option if you would the email to be sent to all employees
  • Give CC, BCC and Reply to if needed
  • Enter a Subject - For eg - 'Confirmation Letter'
  • Under 'Message', click on 'Create New template'
  • With the help of available merge fields, type a message

    For eg - Dear ${FirstName} ${LastName}

    Attached is your confirmation letter. We congratulate you for getting confirmed in your job and wish you all success.

    Regards

    HR Team

  • Under 'Attachments', you have two options - a. To select a template from 'Record Templates' and b. To select a template from 'Mail Merge Templates'

 

  • Make the selection appropriately and click Save
  • In the workflow, click on 'Save'

​Now a workflow has been created. After completion of six months from the Date of Joining, an email will be sent to employees with the Confirmation Letter as the attachment.

Time-Based Action

Time-Based Action: Executes the workflow when given a specific execution time. This is useful when you need to configure email alerts to be sent even minutes before the event. 

Note: Time-Based Action feature is available only for Standard/Premium/Enterprise plan users and when the plan is downgraded to Free plan, the Time-Based Action configuration will not get triggered.

Example scenario for Time-Based Action - Visa Expiry Date

Let's consider this scenario: Reminding your employees on their visa expiry date. When you provide specific execution time in the Time-Based Action, an one-time alert mail will be sent to the employee.

To configure Time-Based Action:

  • From your home page, go to Settings > Automation > Workflow
  • Click Add Workflow
  • Select Employee in the Form name
  • Select Create or edit under Action
  • Click Add Time-Based Action
  • Select the required Visa Expiry Date option in Execution Time
  • Click on the 'Mail Alert' to map an existing email template or click on the + icon to create a new template 

  • Click Save

Note:

  • Execution Time contains four options. Type the required number in the first box, choose any one option in the second drop-down list for Minutes, Hours, Days, Months and Years, select any one option in the third drop-down list for After and Before and then choose the required option in the fourth drop-down list.
  • Rule Trigger Date is possible only after the rule is triggered. Thereby, the After option is only available for Rule Trigger Date.

 

Example scenario for Time-Based Action - Training date and time

Let's consider this scenario: Reminding your employees on their training date and time. When you provide execution training time and date in Time Based Action, an email can be sent to the employees. 

To configure Time-Based Action:

  • From your home page, go to Settings (gear icon)> Workflow under Automation > Add Workflow
  • Select Registration in the Form name. 
  • Provide Workflow Name. Eg - Reminder for Training
  • Select the status checkbox for the rule to be Active and provide description
  • Choose Trigger Process as Execute based on Action
  • Select Create or Edit under Action
  • Click Add Time Based Action
  • Provide a Name and provide Execution Time as 1 Hour Before Date and Time of Training
  • Click folder icon in Mail Alert and select the name of the mail alert or click + to configure a new email alert
  • Click Save

Note: In the fourth drop-down list of Execution Time, only the date fields of the specific form will be listed. If you want to add more date fields, please add it manually in the Form Customization page after selecting the specific form.