The Timer Component triggers at a specified interval, sending periodic messages based on the configured time delay. The first message is sent immediately when the flow starts, followed by scheduled ticks at regular intervals.
This component is used for time-based automation, such as polling, scheduling, and recurring execution in workflows.
out
Emits a message at the defined interval.
Output Properties
lastTick
string
The last execution time (ISO 8601 format).
now
string
The current execution time (ISO 8601 format).
elapsed
integer
Time elapsed (in milliseconds) since the last execution.
interval
integer
Execution interval in minutes (min 5, max 35000).
Immediate Trigger: Sends an initial message immediately upon starting the flow.
Recurring Execution: The timer schedules and emits messages at the defined interval.
Crash Recovery: Ensures messages are not lost in case of system restarts by handling state recovery.
Minimum Interval: The smallest allowed interval is 5 minutes.
Ensured Execution: The component ensures that a tick is processed, even after a system restart.
Long Interval Support: Supports intervals up to 35000 minutes (approximately 24 days).
This component is ideal for workflows requiring periodic execution, such as polling APIs, running background tasks, or time-based automation.
The Scheduler Component triggers jobs periodically at fixed times, dates, or intervals using cron syntax. It is useful for automating recurring tasks within a workflow.
This component enables users to schedule execution times based on minutes, hours, days, and specific time zones. It supports immediate triggering when a flow starts.
Output Properties
Define Scheduling Rules: The user sets up cron-like expressions to determine execution times.
Trigger Execution: The component schedules the task based on the defined rules.
Generate Timestamps: Outputs previousDate
, now
, and nextDate
at execution time.
Flexible Scheduling: Supports standard cron expressions for precise scheduling.
Immediate Execution: Can trigger immediately when a flow starts if immediate
is set to true
.
Timezone Support: Users can specify a timezone for accurate scheduling across different regions.
This component is ideal for time-based automation, recurring task execution, and scheduling workflows efficiently.
out
Emits scheduled timestamps based on the defined cron schedule.
previousDate
string
The last scheduled execution time (ISO 8601 format).
now
string
The current execution time (ISO 8601 format).
nextDate
string
The next scheduled execution time (ISO 8601 format).
minute
string
Cron expression for minutes (*, -, /, 0-59, etc.).
hour
string
Cron expression for hours (*, -, /, 0-23, etc.).
dayMonth
string
Cron expression for days of the month (*, -, /, 1-31, etc.).
dayWeek
string
Cron expression for days of the week (*, -, /, 0-6, SUN-SAT, etc.).
immediate
boolean
If true
, triggers execution immediately upon starting the flow.
timezone
string
Timezone for scheduling (e.g., 'Europe/Prague', defaults to GMT).
The Wait Component delays message processing for a specified time before forwarding the original message. This component allows controlled execution timing in workflows.
This component waits for a defined interval or until a specified date and time before sending the message to the output port.
in
Receives a message to be delayed.
Input Properties
interval
string
Defines how long to wait before forwarding the message (e.g., 5m
, 2h
, 1d
). Units: m
(minutes), h
(hours), d
(days), w
(weeks), M
(months), y
(years).
until
string
A specific date-time value to wait until before forwarding the message (ISO 8601 format).
out
Sends the message after the delay period.
Receive Message: Accepts input and determines wait time.
Compute Delay: Uses interval
or until
to schedule message forwarding.
Hold Execution: Waits for the specified time before processing.
Send Message: After the delay, the original message is forwarded.
Flexible Delays: Supports both relative time intervals and absolute date-time scheduling.
Accurate Timing: Uses internal scheduling to ensure precise message delivery.
Workflow Control: Useful for rate limiting, execution sequencing, and scheduled triggers.
This component is ideal for workflows that require delayed execution, sequential processing, or scheduling based on specific timing requirements.