Skip to main content
Version: Current

Triggers

Overview

The Triggers tab allows administrators to configure automated execution of processes based on predefined conditions.

Triggers enable:

  • Scheduled process execution
  • Event-based automation
  • Conditional workflow initiation
  • Background monitoring and job creation

Instead of manually running processes, Triggers automatically queue jobs when their defined criteria are met.


How to Access

From the AI Command Center, navigate to: Local Agents → Triggers


Creating and Configuring a Trigger

Creating

To create a new Trigger:

  1. Open the Triggers tab.
  2. Click New Trigger.
  3. Complete configuration across:
  4. Click Create.


Configuring

Configure the basic trigger details:

By default:

  • The trigger activates immediately
  • The trigger never expires unless specified

Triggers View

The Triggers tab displays all configured triggers as per view filter selection.

ViewDescription
My TriggersDisplays triggers created by the logged-in user (default view).
All TriggersDisplays all triggers available in the system.

Trigger Actions

The following actions are available based on permissions:

ActionDescription
ViewView trigger details in read-only mode.
EditModify trigger configuration.
Enable / DisableActivate or deactivate the trigger.
Run NowAvailable only for Email Triggers. Manually checks for new emails and queues jobs immediately.
DeletePermanently remove a trigger.
AuditView audit history of the trigger.
note

To manage triggers, you must also have appropriate View access to associated Buddies and Processes.


Execution Target Tab

Select the execution agent:

  • Choose a specific Smart Buddy
  • Or select Dynamic to allow any available Smart Buddy to execute the job
note

When Dynamic is selected, the job is picked up by any eligible Smart Buddy.


Parameters Tab

Configure job execution settings:

  • Specify the Job Log Level
  • Bind runtime trigger parameters to process input arguments

Parameter binding depends on the trigger type:


Trigger Types

IntelliBuddies supports the following trigger types:

Trigger TypeDescription
TimeSchedule a job to run at specific times based on defined criteria.
EmailInvokes a job when a new email arrives and matches defined criteria.
File SystemInvokes a job when file events occur in monitored folders.
ListInvokes a job when data changes in a List match defined criteria.

Time Trigger Criteria

You can configure scheduling logic by selecting a Schedule Type.

Schedule Types

Schedule TypeDescription
DailyExecute on specified time(s) every day.
Specific DatesExecute on selected calendar dates.
WeeklyExecute on selected weekdays.
MonthlyExecute on selected days within specific months.
RecurringExecute repeatedly at defined time intervals.


Email Trigger Criteria

FieldDescription
Email Server ConnectionSelect an Email Connection
Test ConnectionValidate credentials
New ConnectionCreate new Email Connection
Incoming Email Filter OptionsApply Email Filter
Number of MessagesLimit number of emails processed
Email Processing OrderNewest → Oldest or Oldest → Newest
Message Polling IntervalDefine polling interval (default 10 minutes)
note

If using POP3, review POP3 limitations and recommended alternatives.


Email Filters

You can apply multiple filters to refine email selection.


Binding Email Trigger Parameters

NameTypeDescription
$Email_MessageSystem.Net.MailMessageEmail that triggered the process execution

Running Email Triggers On Demand

To manually execute an Email Trigger:

  1. Select the Email Trigger.
  2. Click Run Now.


File System Trigger Criteria

Configure folder monitoring settings:

FieldDescription
Folder To MonitorLocal or network path to monitor.
FilterWildcard filter (e.g., *.pdf).
Include SubfoldersMonitor nested folders.
Events To MonitorCreated, Modified, Deleted, Renamed.


Folder Permissions

The monitored folder must grant:

  • Read
  • Read & Execute
  • List Folder Contents

Depending on IIS deployment:

  • App Pool Identity
  • Custom Windows User

See folder configuration instructions in your server setup documentation.


Binding File System Trigger Parameters

The File System Trigger provides runtime parameters that contain detailed information about the file event that initiated the process execution.

These runtime parameters can be mapped to the corresponding input arguments of the selected process. This allows the process to dynamically respond based on the file event details.

The following runtime parameters are available when a File System Trigger is executed:

NameTypeDescription
$File_EventTypeSystem.IO.WatcherChangeTypesIndicates the type of file event that triggered the process. Possible values include:
  • Created (1) – A file was created.
  • Changed (4) – A file was modified.
  • Deleted (2) – A file was deleted.
  • Renamed (8) – A file was renamed.
$File_NameSystem.StringThe name of the file, including its extension.
$File_PathSystem.StringThe complete file path, including folder path and file name.
$File_FolderPathSystem.StringThe folder location where the file resides.
$File_ExtensionSystem.StringThe file extension (for example, .pdf, .txt).
$File_LengthSystem.DoubleThe size of the file.
$File_CreationTimeSystem.DateTimeThe date and time when the file was created.
$File_LastWriteTimeSystem.DateTimeThe date and time when the file was last modified.
$File_LastAccessTimeSystem.DateTimeThe date and time when the file was last accessed.
$File_IsReadOnlySystem.BooleanIndicates whether the file is read-only. A value of true means the file is read-only.
note

$File_CreationTime, $File_LastWriteTime, and $File_LastAccessTime are stored in UTC Standard format.


Working with Time Zones

Because file timestamps are stored in UTC, you may need to convert them depending on your process requirements.

tip

Convert from UTC to a specific Time Zone:
Use the static method
TimeZoneInfo.ConvertTimeFromUtc.

tip

Convert from a specific Time Zone to UTC:
Use the static method
TimeZoneInfo.ConvertTimeToUtc.

note

You can create a TimeZoneInfo instance using
TimeZoneInfo.FindSystemTimeZoneById,
by specifying the required time zone name (for example, India Standard Time).


List Trigger Criteria

The List Trigger initiates a process when specific changes occur within a selected List.

To configure a List Trigger, specify the following fields:

FieldDescription
ListChoose the List that will be monitored for changes.
Events To MonitorSelect the type of data change that should initiate the process:
  • Inserted – Executes when a new row is added to the List.
  • Updated – Executes when an existing row is modified.
  • Deleted – Executes when a row is removed from the List.
Apply FiltersEnable this option to apply additional filtering conditions using a List Trigger Filter.


Binding List Trigger Parameters

The List Trigger supplies runtime parameters that contain detailed information about the list item responsible for triggering the event.

These parameters can be mapped to the corresponding input arguments of the selected process. This enables the process to dynamically respond based on:

  • The type of event that occurred
  • The data contained in the affected list row

By binding these parameters, your automation can handle each scenario appropriately according to the event type and associated list data.


Default Runtime Parameters

The following runtime parameters are automatically available when a List Trigger is executed:

NameTypeDescription
$ListItem.EventTypestringIndicates the event that triggered execution (Inserted, Updated, or Deleted).
$ListItemobjectContains the complete data of the list item involved in the event.

Supported Event Types

The List Trigger responds to the following event types:

Event TypeDescription
InsertedTriggered when a new row is added to the list.
UpdatedTriggered when an existing row is modified.
DeletedTriggered when a row is removed from the list.

These event types allow your process logic to handle each scenario differently if required.


Managing Triggers

Updating a Trigger

  1. Select a Trigger.
  2. Click Edit.
  3. Modify configuration.
  4. Click Update.

Enabling or Disabling a Trigger

  1. Select a Trigger.
  2. Click Enable or Disable.

Disabling prevents job execution.

note

When you delete a process, all associated triggers are automatically disabled.


Deleting a Trigger

  1. Select a Trigger.
  2. Click Delete.
  3. Confirm.
note

Users with the Administrator role can delete triggers.


Auditing a Trigger

  1. Select a Trigger.
  2. Click Audit.

Audit logs display configuration history and state changes.

Usage Example

The following example demonstrates how a List Trigger interacts with a process.

1. Process Setup

Create a process with input arguments that will receive List Trigger runtime parameters.


2. List Configuration

Create a List with the required columns.


3. Trigger Configuration

Configure a List Trigger referencing the created process and List.

Bind the runtime parameters to the corresponding process input arguments as shown below:


4. Trigger Execution

When a row in the List is:

  • Inserted
  • Updated
  • Deleted

The trigger fires and executes the configured process.

The execution output appears as shown below:


List Triggers enable fully event-driven automation based on structured data changes within Lists.