Send an SMS to the Fleet Owner when the bookings queue length is 5 or over.

JSON Source Code

{
    "event": "every_10_mins",
    "conditions": {
        "0": {
            "command": "queue_length",
            "operator": "greaterThanOrEqual",
            "value": "5"
        },
        "match": "all",
        "frequency": "unlimited"
    },
    "actions": {
        "0": {
            "command": "send_sms",
            "operator": "owner",
            "value": "Warning! The bookings queue length is currently 5 and over."
        }
    }
}