Context:\ Currently, the Scheduled Trigger node in n8n does not expose the timestamp of its previous execution. Users must manually check the execution history or implement custom logging to retrieve this information.
Proposal:\ Introduce a built-in option in the Scheduled Trigger node to expose the last run timestamp as part of the node’s output.
Suggested Implementation:
New Option in Node Settings:
-
Expose Last Run Timestamp (checkbox)
-
When enabled, the node outputs an object like:
{
“triggerTime”: “2025-10-15T08:00:00.000Z”,
“lastRun”: “2025-10-14T08:00:00.000Z”
}
How it works:
-
The node stores the last execution time in a persistent internal store (e.g., SQLite, Redis, or n8n’s internal DB).
-
On each scheduled run, it retrieves and outputs the previous timestamp alongside the current one.
Benefits:
-
Simplifies logging and monitoring workflows.
-
Enables conditional logic based on time since last run.
-
Improves transparency and debugging.
-
Reduces need for external storage or custom logic.
Optional UI Enhancement:
-
Display the last run timestamp directly in the node panel or as a tooltip.
-
Example: “Last executed: Oct 14, 2025 – 08:00 AM”