Scheduled Workflows enable you to run periodic tasks to automate workflows. Workflows are executed even in your absence. Now that the tasks are automated, you can spend more time on your business operations. Here are some examples where Scheduled Workflows would be useful
- Send email to customer and account manager, 2 days before the invoice due date, if the invoice hasn’t been paid until that date.
- Escalate a ticket to support manager if the ticket is open for more than 4 hours.
- Send email to the sales manager if the opportunity Close Date has elapsed, but the opportunity isn’t closed yet.
Contents |
Workflow running conditions
Schedule Workflows feature offers you a wide variety of options on when to run your workflow. The options include:
- Hourly: Workflow is executed every hour
- Daily: Workflow is executed everyday at the specified time
- Weekly: Workflow is executed on the selected days of every week
- On Specific Date: Workflow is executed on the selected date
- Monthly: Workflow is executed on the selected days of every month
- Yearly: Workflow is executed on the selected days of every year
Workflow filter conditions
Filter conditions help you to configure periodic workflow conditions. For date fields, you can have your workflows trigger tasks anytime before and after the current date.
The following conditions are supported in Scheduled Workflows.
- Less than hours ago
- More than hours ago
- Less than days ago
- More than days ago
- Less than hours later
- More than hours later
- More than days later
- Less than days later
- Days ago
- Days later
Example 1: Escalate a ticket if it is opened for more than 4 hours
In this example, we will configure a workflow to escalate a ticket if it’s not responded for more than four hours. You can have the workflow either escalate the ticket to the support manager, or trigger an email alert, or do both. This workflow is executed once in every hour.
Here’s how to escalate your ticket
- Click gear icon
icon in the top right corner
- Click CRM Settings
- Click ‘Other Settings’ drop-down in the left
- Click Workflows
- Click New Workflow
- In the ‘Creating Workflow’ page, under the ‘Schedule Workflow’ tab, Select Tickets from the Select Module dropdown
- Provide description for future reference
- Under ‘Specify when to execute this Workflow’ options, select the Schedule radio-button, and select Hourly from the ‘Run Workflow’ dropdown
- 9. Click Next
- 10. Under the ‘Add Conditions’ tab, provide the filter conditions. Two conditions need to be configured:
Ticket is created four hours ago
, andStatus is Open
.
- 11. After configuring the conditions, click Next
- 12. And finally, you need to escalate the ticket to the Support Manager. To escalate, click Add Task button under the ‘Add Tasks’ tab
- 13. Click Update Fields
- 14. Two new fields are displayed. From the first field, select Assigned to. From the second dropdown field, select desired user to whom the ticket should be assigned.
- 15. Once you’re done, click Save
Send an email to the customer, 2 days before the invoice due date, if the invoice hasn’t been paid until that date
Scheduled workflows help you to streamline your follow-up process by sending them regular email alerts to get paid punctually. We are going to create a scheduled workflow that automatically triggers an email 2 days before the invoice due date, if the invoice hasn’t been paid until that date. You can have this workflow send an email alert to the sales manager, or customer, or even both. This workflow is executed once in a day on the specified time.
Here’s how to send invoice due date alerts to your customers
- Click gear icon
icon in the top right corner
- Click CRM Settings
- Click ‘Other Settings’ drop-down in the left
- Click Workflows
- Click New Workflow
- In the ‘Creating Workflow’ page, under the ‘Schedule Workflow’ tab, Select Invoice from the Select Module dropdown
- Provide description for future reference
- Under ‘Specify when to execute this Workflow’ options, select the Schedule radio-button, and select Daily from the ‘Run Workflow’ dropdown
- 9. Click Next
- 10. Under the ‘Add Conditions’ tab, provide the filter conditions. Two conditions need to be configured:
Due Date is 2 days later
, andStatus is not Paid
.
- 11. After configuring the conditions, click Next
- 12. And finally, you need to send email alerts to your customer and sales manager. To compose an email alert, click Add Task
- 13. Click Send Mail
- 14. Provide Task Title — Just for your reference. In the To field, select email recipients. Provide catchy subject and compose your email body.