Skip to main content

Declencheur Evenement

Triggers the workflow on a system event (entity creation, update, or deletion). The affected entity is available in the payload.

Parameters

ParameterTypeRequiredVariableDescription
eventTypesarrayYesNoEvent Store event types to listen for (e.g. NODE_CREATED, NODE_UPDATED).
entityTypesarrayNoNoEntity types to filter. __all__ to listen to all types. (Default: ["__all__"])
filtersarrayNoNoAdditional filter conditions on received events.
includeEntityDatabooleanNoNoInclude full entity data in the output. (Default: true)
includeEventHistorybooleanNoNoInclude recent event history for the entity. (Default: false)
eventHistoryLimitnumberNoNoMaximum number of historical events to include. (Default: 5, min 1, max 100)
debounceMsnumberNoNoDebounce delay in milliseconds to prevent multiple triggers. (Default: 0, min 0)
maxConcurrentnumberNoNoMaximum number of concurrent executions allowed. (Default: 1, min 1)
isEnabledbooleanNoNoWhether the trigger is active. (Default: true)
nametextNoNoTrigger name (displayed in the UI).
outputVariabletextNoNoOutput 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.