Fraicheur des Donnees
Checks the data freshness for each source connected to the workspace. Returns the last sync date and status per source.
Parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
sourceId | dynamic value | No | Yes | Source identifier to check. Leave empty to analyze all sources. |
staleThresholdHours | number | No | No | Freshness threshold in hours. Data older than this will be marked as stale. (Default: 24) |
includeSyncHealth | boolean | No | No | Include sync health metrics (success rate, last status). (Default: false) |
includeStats | boolean | No | No | Include source statistics (record count, stream count). (Default: false) |
outputVariable | text | No | No | Output variable name containing the data freshness status. |
Parameters marked Variable = Yes accept the
{{blockName.field}}syntax.
Output
Output variable : freshnessResult
{
"sources": [],
"overallFreshness": {},
"analysisContext": {}
}
Example
Check data source freshness.
Input :
{}
Output :
{"sources": [{"name": "CRM", "lastSync": "2026-03-09T12:00:00Z", "status": "fresh"}]}
Tip
Useful at the start of a workflow to verify data is current before launching processing. Can be combined with a Condition block.