Declencheur Evenement
Triggers the workflow on a system event (entity creation, update, or deletion). The affected entity is available in the payload.
Parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
eventTypes | array | Yes | No | Event Store event types to listen for (e.g. NODE_CREATED, NODE_UPDATED). |
entityTypes | array | No | No | Entity types to filter. __all__ to listen to all types. (Default: ["__all__"]) |
filters | array | No | No | Additional filter conditions on received events. |
includeEntityData | boolean | No | No | Include full entity data in the output. (Default: true) |
includeEventHistory | boolean | No | No | Include recent event history for the entity. (Default: false) |
eventHistoryLimit | number | No | No | Maximum number of historical events to include. (Default: 5, min 1, max 100) |
debounceMs | number | No | No | Debounce delay in milliseconds to prevent multiple triggers. (Default: 0, min 0) |
maxConcurrent | number | No | No | Maximum number of concurrent executions allowed. (Default: 1, min 1) |
isEnabled | boolean | No | No | Whether the trigger is active. (Default: true) |
name | text | No | No | Trigger name (displayed in the UI). |
outputVariable | text | No | No | Output variable name containing the event data. |
Output
Output variable : eventData
{
"eventType": "...",
"payload": {}
}
Example
React to the creation of a new lead.
Input :
{}
Output :
{"eventType": "entity.created", "payload": {"entityId": "abc-123", "type": "Lead", "name": "Nouveau client"}}
Tip
Use {{eventData.payload}} to access the entity. Event types: entity.created, entity.updated, entity.deleted.