Sync Terminee
Triggers the workflow when a data synchronization completes (Live Data). Allows launching automatic processing after each data import.
Parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
sourceId | text | No | Yes | Data source identifier (unified_sources.id). Leave empty to listen to all sources. |
requireDelta | boolean | No | No | Trigger only if the sync brought new data (recordsCount > 0). (Default: false) |
streamTableNames | array | No | No | Stream table names to monitor. Empty for all tables. |
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 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.