Configuring Automations (Advanced Notifications)

Automations send an email automatically when something happens in Hector: a loaner becomes overdue, a purchase order is approved, a license is about to expire, a maintenance is due in 7 days, etc. Each automation answers three questions:

  • Trigger: when should it run?
  • Filters: for which records?
  • Action: which email is sent, and to whom?

Before you start

  • Creating and editing automations requires the Castle plan. On other plans, the automation list can still be viewed, but the New button is locked.
  • To create or edit an automation, your role needs full access to the Automation settings. See the Permissions Management Guide.
  • An automation sends an email template. Create the template first, for the same entity as the automation (see step 1).

Supported entities

Each automation is tied to one entity. The entity determines which triggers, filters and recipients are offered. Most Hector entities are supported. The Entity list only shows those whose module is enabled in your instance.

Some entity names follow your instance’s vocabulary. For example, if you renamed “Place” to “Building”, “Building” is what you will see.

Step 1 – Prepare the email template

Go to Settings > Customization > Templates, Email tab, and create a template for the entity you need. The template’s tags (for example the asset name or the due date) are replaced with the real values of the record that triggered the automation.

For details, see Customizable Email Templates.

Step 2 – Create the automation

Go to Settings > Data Management > Automation, then click New.

  • Name: a clear name that describes what the automation does.
  • Entity: choose it first. The Trigger, Filters and Action sections then appear. Each one can be collapsed with the arrow at its top right.

2.1 – Trigger

First choose the trigger Type. There are four:

Type The automation runs… Use it to…
Change when a record is created, modified or deleted in Hector. React to an event: a new work order, a status that becomes “Approved”, a license that changes hands, a line added to a purchase order.
Fixed Date on a specific date and time, then repeatedly at the chosen frequency. Send a periodic reminder: every Monday, the requisition orders still in draft; every month, the deactivated users who still hold assets.
Relative Date a set amount of time before or after a date on the record. Warn ahead of a deadline: 7 days before a maintenance’s next due date, 60 days before a software version expires, 3 days after an invoice’s due date.
Action when a user clicks the Send … by email button of a record or a list. Choose the template and recipients used by that send button.

The Type list only shows the types offered for the chosen entity. Some entities do not offer the Action type, and for others it is the only type offered.

You can add several triggers with Add a trigger. They all use the type chosen above: types cannot be mixed in one automation. The automation runs as soon as any one of them is met.

“Change” type

Choose the event in the list. The events offered depend on the entity, for example:

  • a record being created or deleted (“New maintenance”, “New software license”, “Deleted”…);
  • a field being changed (“Change to the status”, “Change to the owner”, “Change to the due date”…);
  • a change to one of the record’s attributes;
  • for entities that have lines (orders, for example), a change on a line: “New line”, “Modified line” or “Deleted line”, depending on the entity.

Some events need a bit more configuration:

  • from / to: the automation only runs if the value goes from the first value to the second. Choose “Any Value” to accept any starting value. In the example below, the automation runs when an order goes from “Pending Approval” to “Refused”.
  • Since: how long the condition must stay true before the email is sent. For example, a loaner must stay overdue for 1 hour. If the condition stops being true in the meantime, nothing is sent. This option is not offered for creation events.
  • Triggered By Anyone: checked by default. Uncheck it to choose who can trigger the automation (people related to the entity, or specific users, groups, departments or roles). Anyone else will never trigger it, even if they perform the action.

“Fixed Date” type

Enter the Date and time of the first send, then the Frequency (for example 1 week or 1 month). Each time it comes due, Hector sends the email for every record of the entity that matches the filters. Use filters to target the right records.

“Relative Date” type

  • Field: the reference date. The list contains the entity’s dates (due date, expected finish date, expiration…) and its date-type attributes.
  • Amount of Time: the offset, for example 7 days.
  • Before / After: before or after the reference date.

The email is sent once per record, when the reference date plus the offset is reached. If the reference date changes, it is sent again for the new date.

“Action” type

With this type, the automation never runs on its own: it sets up the entity’s Send … by email button (for example Send customer by email). The Filters section and reminders are not offered, and an email is sent every time the button is used.

  • The button appears on the record and in the list’s actions as soon as at least one active Action automation exists for the entity. It is only visible to people whose role is allowed to send that entity by email.
  • If there are several automations, the button bears the name of the first one and sends it directly; the arrow next to it lists the others, by name.

See also Sending a template.

2.2 – Filters

Filters limit which records the automation applies to. For example, you may not want the same loaner notifications for every stockroom.

Filters are grouped in blocks:

  1. Click Add a filter to create a block.
  2. Choose the field to filter, the operator, then one or more values.
  3. Add more conditions to the block with Add a condition.
  4. In each block, choose whether Any of these filters (OR) or All of these filters (AND) must be true.
  5. Add more blocks if needed, and choose between blocks whether they must all be true (and) or only one of them (or).

The operators depend on the field type:

  • all fields: “Equals”, “Does not equal”;
  • text fields: also “Contains” and “Is empty”;
  • numbers and dates: also “Is lesser than”, “Is greater than”, “Is lesser or equals” and “Is greater or equals”.

The filters in the following example read as follows:

  • the contact is James Stewart OR the “Created By” field is empty;
  • AND the stockroom is France Office.

2.3 – Action

  • Type: Send Email. If a webhook is configured in your instance, Send a webhook is also offered.
  • Email Template: the template prepared in step 1. Only templates for the same entity are offered.
  • Reminder Amount and Delay Between Reminders: to send the email again at regular intervals. Before each reminder, Hector checks that the condition is still true and that the automation is still active; if not, the remaining reminders are not sent.

Then choose the recipients. There are two kinds:

  • People related to the entity: recipients that change with each record, for example the requester of an order, the owner of a scheduled maintenance, the user assigned to a license. The entity’s user-type and stockroom-type attributes are also offered.
  • Users, Groups, Departments and Roles: fixed recipients, who receive the email whatever the record.

Each recipient receives the email in their language, if the template has a translation in that language. See Which language is the email sent in?

Click Save. The automation is active as soon as it is saved. Emails are not sent instantly: they are queued and go out within the next few minutes.

Full example: a maintenance reminder 7 days before it is due

Goal: notify the maintenance owner one week before each scheduled maintenance on a vehicle.

  1. Name: Maintenance reminder – vehicles. Entity: Scheduled Maintenance.
  2. Trigger: Relative Date type, field “Next due”, 7 days, Before.
  3. Filters: one block with the condition “Category” “Equals” Vehicles.
  4. Action: Send Email, your scheduled maintenance template; under People related to the entity, choose “Owner”.

To also notify the person who uses the vehicle, add “Assigned user of the asset” under People related to the entity.

A few automation ideas

  • Notify staff of a new loaner reservation, then remind the borrower of an overdue loaner.
  • Notify the approver when an order is submitted to them, then tell the requester about the decision.
  • Send a reminder before a maintenance’s next due date, or notify the owner of a postponement request.
  • Warn 60 days before a software version expires.
  • Every month, list the deactivated users who still hold assets.

Managing automations

In the automation list, each row’s menu lets you:

  • Edit the automation;
  • Copy: creates a new automation from this one;
  • Activate / Deactivate: deactivate an automation to pause it without losing its configuration;
  • Delete the automation.

Automations provided by default by Hector cannot be edited or deleted. You can Copy them to start from their configuration, or Activate / Deactivate them.

Updated on October 21, 2026

Was this article helpful?

Related Articles