Skip to main content

Sync Terminee

Triggers the workflow when a data synchronization completes (Live Data). Allows launching automatic processing after each data import.

Parameters

ParameterTypeRequiredVariableDescription
sourceIdtextNoYesData source identifier (unified_sources.id). Leave empty to listen to all sources.
requireDeltabooleanNoNoTrigger only if the sync brought new data (recordsCount > 0). (Default: false)
streamTableNamesarrayNoNoStream table names to monitor. Empty for all tables.
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 sync context (sourceId, recordsCount, syncedAt).

Parameters marked Variable = Yes accept the {{blockName.field}} syntax.

Output

Output variable : syncResult

{
"sourceId": "...",
"recordCount": 0
}

Example

Process data after a successful sync.

Input :

{}

Output :

{"sourceId": "src-456", "recordCount": 1250}
Tip

{{syncResult.recordCount}} indicates the number of imported records. If sourceId is empty in the configuration, the trigger listens to all sources.