Not every reminder is triggered by someone clicking Save. Some need to run automatically, days before or after a date on the calendar. Horilla makes this possible with scheduled automations.

Most automations in Horilla respond to an event, such as a record being created, updated, or deleted. However, some reminders depend on dates rather than record changes. A task may be approaching its due date, a probation period may be ending, or a contract may be about to expire.

For these scenarios, Horilla CRM provides a Scheduled (time-based) trigger. It monitors a date field on a record and schedules an action a specified number of days, weeks, or months before or after that date.

In this walkthrough, we will create a practical example: an email reminder sent two days before a follow-up task’s due date, helping the team avoid missing important follow-up activities.

Where to find it: Navigate to Settings → Automations → Mail & Notifications. This is the same screen used to configure event-based automations.

1. Start a New Automation

Click New to open the automation form. The form displays additional fields depending on the trigger you select.

Start by filling in the basic details:

  • Title: Enter a descriptive name, such as Task due reminder.
  • Module: Select Activity. This module covers Tasks, Events, Meetings, and Log Calls, including activities associated with Leads.
  • Mail to/Notify To: Specify the intended recipients. For a task reminder, this would typically be the activity’s assigned owner.
  • Also Send To: Optionally add other recipients, such as a sales manager who needs to be informed.

These settings define the purpose of the automation, the records it monitors, and the recipients of the reminder.

2. Configure the Scheduled Trigger

Open the Trigger dropdown and select Scheduled (time-based) instead of On Create, On Update, or On Delete.

The form displays five additional fields that control when the automation should run.

The scheduling fields work as follows:

FieldDescription
Target Date FieldSelects the Date or DateTime field used to determine the schedule. For Activity, available fields may include Start Date, End Date, and Due Date.
TimingDetermines whether the automation runs before or after the selected date.
Adjust BySpecifies the number of days, weeks, or months for the offset. A value of 0 means the same date.
Offset UnitDefines the offset unit: Days, Weeks, or Months.
Run TimeOptionally specifies the time of day at which the automation should run, subject to the scheduler’s implementation.

For our task reminder, configure the fields as follows:

  • Target Date Field: Due Date
  • Timing: Before
  • Adjust By: 0
  • Offset Unit: Days

The important point is that the offset is calculated relative to the date stored on the activity, not relative to the current date.

For example, if a task has a Due Date of October 20 and the automation is configured with Adjust By = 0, the reminder date will be October 20, the same as the task’s due date. Horilla’s scheduler checks for matching records in the background, and when the scheduled date matches October 20, the reminder is triggered for that task.

3. Choose the Delivery Channel

After configuring the schedule, select the delivery method under Choose Delivery Channel.

Horilla provides three options:

  • Send as Mail: Sends an email reminder.
  • Send as Notification: Sends an in-app notification.
  • Send as Mail and Notification: Delivers the reminder through both channels.

For this example, select Send as Mail and Notification if the task owner should receive both an email and an in-app notification.

The form displays the relevant configuration fields based on your selection. For email delivery, configure the Mail Template and Outgoing Mail Server. For notifications, select the appropriate Notification Template.

4. Add Conditions to Filter Activities

The Activity module includes multiple types of records, so it is important to restrict this automation to tasks.

In the Conditions section, click + Add More to create a condition. Select the field name, operator, and value.

Configure the condition as follows:

  • Field Name: Activity Type
  • Operator: Equal
  • Value: Task

This condition ensures that the automation targets task records rather than other activity types, provided the selected field and condition are supported by the automation configuration.

Additional conditions can be added when needed and combined using AND or OR to match more specific requirements.

5. Save the Automation

Review the configuration and click Save.

The automation should appear in the Automations list with its trigger identified as Scheduled.

Before relying on the reminder, verify that the selected date field, activity type condition, recipients, delivery channel, and templates are configured correctly. Also ensure that the background scheduler is running.

What the Reminder Looks Like When It Arrives

Once the scheduler finds a matching record and processes the automation, the reminder is delivered according to the selected Delivery Channel as an email, an in-app notification, or both.

As an email, the reminder arrives in the recipient’s inbox like any other email generated from a template, displaying the configured subject and message body with the relevant task details.

When the delivery channel includes notifications, the same reminder also appears in Horilla’s in-app notification panel, allowing the assigned user to see the reminder without opening their email.

How Scheduled Automations Work in Horilla

Scheduled automations use date-based rules to identify records that are ready for an action. Unlike event-based automations, they do not depend on a user creating or updating a record at that moment.

The general execution process is:

  1. The background scheduler checks the configured scheduled automations.
  2. It calculates the target date using the selected date field and offset.
  3. It applies the configured Run Time restriction, if supported.
  4. It identifies records whose dates match the calculated schedule.
  5. It evaluates the configured conditions.
  6. It sends the configured email or notification and records the execution, where supported, to prevent duplicate processing.

One important detail is that scheduled automations depend on the background scheduler. If the scheduler is not running correctly, reminders may not be processed as expected.

Good to know: Scheduled automations are date-based, not necessarily real-time timers. The actual execution time depends on how frequently the scheduler checks for matching records and how the configured Run Time is handled.

Scheduled automations in Horilla help teams manage reminders that depend on dates rather than record changes. By configuring a target date field, an offset, a delivery channel, and appropriate conditions, you can automate routine follow-ups and reduce the risk of missing important tasks.

The same approach can be adapted to other date-based workflows, such as upcoming meetings, contract renewals, and important deadlines, wherever the selected module and its fields support the required scheduling rules.

With scheduled automations, Horilla makes it easier to keep track of time-sensitive activities and ensure that important follow-ups receive attention.

Share this article