Automation timing

Options to set delays and delivery time windows for automated messages.

Absolute window of time

An object with start and end attributes containing ISO-formatted dates specifying an absolute window of time.

Jump to examples ↓

OBJECT PROPERTIES
  • end stringREQUIRED

    A date-time specifying the end date.

  • start stringREQUIRED

    A date-time specifying the start date.

Examples

Example absolute time window

{ "audience":
   {
      "date": {
         "days": {
            "start": "2020-01-01",
            "end": "2020-01-15"
         }
      }
   }
}

Relative window of time

A relative window of time is indicated by setting the recent attribute. The value is an object with a single integer-valued attribute set.

Jump to examples ↓

OBJECT PROPERTIES
  • recent integer

    The hours valid range is 1-48 (Up to the last two days). The days valid range is 1-60 (Up to the last 60 days). The weeks valid range is 1-10 (Up to the last 10 weeks). The months valid range is 1-48 (Up to the last 4 years). The years valid range is 1-10 (Up to the last 10 years).

Examples

Example relative time window

{
  "date": {
     "days": {
        "recent": 1
     }
  }
}