Klevr Product Documentation logo

Inbound Timer Stage

The Inbound Timer stage allows a pre-defined message to be created in the Integration Hub service using a specified timer schedule.

Stage Overview

The Inbound Timer stage allows a pre-defined message to be created in the Integration Hub service using a specified timer schedule.

Stage Definition File Location

All Inbound Timer stages are defined by creating an appropriately formatted JSON definition file in the following location:

interfaces
{businessUnitCode}
{domainCode}
{integrationName}
in
timer
{STAGE_NAME}.json

Stage JSON Definition File Format

The JSON definition file for an Inbound Timer stage is as follows:

{
  "name": "stage-name",
  "displayName": "Brief Stage Title",
  "description": "Brief description of the stage.",
  "enabled": "$env:STATUS_<INTEGRATION_NAME>",
  "interval": "1",
  "frequency": "Hour",
  "timeZone": "AUS Eastern Standard Time",
  "startTime": "2026-06-13T09:00:00",
  "weekDays": ["Monday", "Tuesday"],
  "hours": ["1", "5"],
  "minutes": ["0", "5"],
  "payload": {
    // Emitted payload
  },
  "preLogTransformSchemaFileName": "schemas/path/to/schema/schema-name.liquid",
  "preLogTransformSchemaType": "liquid|javascript",
  "preLogTransformFormat": "json|xml|csv"
}
PropertyDescription
nameThe name of the stage.
displayNameOptional (but highly recommended). A short (3 or 4 word) "display name" for the stage, used as a "title" of the stage in the Integration Hub Portal service's self-documentation capability.
descriptionOptional (but highly recommended). A brief (10 to 15 word) description of the stage, used as a brief description of the stage's purpose in the Integration Hub Portal service's self-documentation capability. For a more detailed explanation (when needed), use the stage markdown feature.
enabledOptional boolean flag (true or false). Default is true.

Generally set via a DevOps variable. Controls if the stage is deployed enabled or not.
intervalRequired. A positive integer that describes how often the workflow runs based on the frequency.
frequencyRequired. One of: Second, Minute, Hour, Day, Week, or Month.
timeZoneRequired only when startTime is supplied, such as AUS Eastern Standard Time. See list of time zones for more details.
startTimeOptional in format YYYY-MM-DDThh:mm:ss. If set, timeZone must be supplied. Use this field if you want the interval/frequency to be based on a specific start time, rather than just when the LGA is enabled.
weekDaysOptional. An array of string values, e.g. [ "Monday", "Tuesday" ] representing the days of the week that the trigger should run in UTC time. This can only be applied when the frequency is Day or Week.
hoursOptional. An array of string values, e.g. [ "1", "5" ] representing the hours of the day that the trigger should run. This can only be applied when the frequency is Day or Week.
minutesOptional. An array of string values, e.g. [ "0", "5" ] representing the minutes of the hour that the trigger should run in UTC time. This can only be applied when the frequency is Day or Week.
payloadRequired. The pre-defined message payload that will be emitted every time the trigger executes.

See the Azure Recurrence Connector documentation for more details on how to set the Inbound Trigger recurrence options.

Pre-Logging Transformation

This stage supports the optional pre-logging transformation feature using the following fields:

  • preLogTransformSchemaFileName
  • preLogTransformSchemaType
  • preLogTransformFormat

See the Pre-Logging Transformation for details.

Last updated on