When a column needs more than two labels, use case_when(). Each line is condition ~ value, and .default covers every row that matched nothing:
case_when(hours <= 8 ~ "fast", hours <= 24 ~ "within a day", .default = "slow")
The first condition that is TRUE wins, so order matters: put the narrow tests first. A ticket closed in 5 hours is also closed within 24 hours, and only the first line decides.
Without .default, unmatched rows get NA. Missing values are the other trap. A condition on a missing value is NA, not FALSE, so the row falls through to .default. If missing should have its own label, test is.na() first.
Narrow tests first; .default labels everything else.