Entity trigger (event) node
Entity event node can start a process when an action happens to a certain entity (for example you can automatically send a welcome email to every new customer).
Entity event node can only be placed at the start of the process. Click on replace and choose the node from the list.
You can turn off/on the node by switching the 'Active' switcher. If the node is turned off, it won`t react to any events.
In the 'Events' field, you can choose the actions that will start a process. Multiple actions can be chosen at the same time.
Create - the process will start after a CMS item is created.
Update - the process will start after a CMS item is updated.
Delete - the process will start after a CMS item is deleted.
Entity - here you can choose the entity that the node will react to.
Here you can choose the properties that the node will react to (the process will start only when the chosen property is modified).
If this field is left empty, the process will start when any property is modified.
Here you can choose an entity-type property to record the entity item to
This field can be left empty. The item that triggers the process is also contained in the output of the 'Entity event node'
You can set filters for the node to react only to certain items. For example, the process will only start for customers from Belgium.
The filters also support computed expressions. You can turn on the computed mode by pressing on the 'lightning' icon
You can use computed expressions to ignore certain dates. For example - the process will ignore items where the invoicing date is in the past if you use this condition(see screenshot below)
Let`s create a process that sends a welcome email to new customers from Belgium.
First, we need to add the 'Entity event' node.
Then we should turn on the node and choose a 'Create' event so the process is started after the new customer is created.
Then we need to choose a 'contact' entity because we store our customer`s in this entity.
Then we need to choose an output property.
In the filters, we need to create a condition, that the country of contact should be Belgium.
Then we need to add the email node that sends the email to the customer.
Now let`s add a new customer -
After the customer is created the process sends the email to the customer