
In this section we can create rules which will trigger certain actions, e.g. activate an alarm output when someone force opens door or send an e-mail to manager when one of the devices goes offline.
This feature is licensed and requires purchase of additional module.

Click Add button to start creating a new rule.
Basically filters are the events or entities in CredoID that will act as a triggers.
A few examples of filters:
Open "New rule" creation dialog by clicking "Add".

Trigger configuration menu can also be opened by selecting one of already created rules.
To create a new trigger filter click Create filter button.
If any filter is selected there will be Edit filter button available instead.

Enter filter name and then select events or entitites to act as a trigger.
Select any object from "Available" list and click ‘>’ to move it to Selected field (or double-click any selected object) and click Save.
In this example it's Door forced open event from Event types.

Filter is created and can be selected from the list.

Action selection menu is shown at 2nd step of "New rule" creation or after selecting an existing rule and clicking Add button in “Actions” section.

Actions can be selected by using Search function or by navigating through menu.

Select desired action(s).
Action filter can be created at 3rd step of new rule creation.

In this example we will use Turn on output action.
To filter which output or outputs are used in the action, click Create filter button.

Enter filter name i.e., "Output 1" and then select output from "Available" list and click ‘>’ to move it to Selected field (or double-click any selected object) and click Save.

Filter for the action is created and can be selected from the list.
Apply your created filter and click Save.
To create a new rule, click Add.
Create a new trigger filter or select existing one.

Add action "Send e-mail" - In the “Select actions” section select CredoID → Send e-mail.

E-mail provider should be added in "Settings → General → Notifications". Otherwise, you won't be able to use this feature.
Fill in required fields.

To create a new rule, click Add.
Create a new trigger filter or select existing one.

Add action "Send report" - In the “Select actions” section select CredoID → Send report.

E-mail provider should be added in "Settings → General → Notifications". Otherwise, you won't be able to use this feature.
Fill in required fields.

E-mail provider configuration can be done in "Settings → General → Notifications"

Outgoing e-mail configuration like SMTP and SSL/TLS is provided by your e-mail provider.
You can add variables to e-mail template or to a subject line - click icon in bottom right corner of “Send e-mail” section.
Variables are also used in HTTP Triggers.

Variables can be used to pass various information such as device name, timestamp, first&last name, event type etc.
In example, rule where e-mail is sent when doors are forced open - in the e-mail template, using variables, you can specify which doors was it, exact time when it happened etc.

To send a custom HTTP request when specific event is triggered firstly you need to create a trigger filter.
After creating filter you need to add HTTP Request as an action.

Select "CredoID" and then "HTTP request".

Now you need to configure HTTP request that will be sent when specific event is triggered.
Select Method, enter Endpoint URL and add needed Parameter/Header keys(arguments) and their values. Also, Body can be added as well.
Required details for HTTP Requests, if not publicly available, should be obtained through authorized sources.

In this example I'm using GET method to trigger a global event with attached message in "Digifort surveillance client". This HTTP Request will be triggered everytime "Door forced open" event is generated in "CredoID". This request also requires authentication, so I've added "AuthUser" and "AuthPass" keys.
To create a new rule, click Add.
Create a new trigger filter or select existing one.

Add action "NX Witness generic event" - In the “Select actions” section select CredoID → NX Witness generic event.

Select required options, fill in required fields and finalize configuration.

Camera rules must be created in NX Witness VMS so a Generic event can trigger them.