Skip to content

RoutingCriteria

Source code in docs_src/capo_connect/types/routing_criteria.py
class RoutingCriteria(TypedDict, closed=True):
    steps: NotRequired["capo_connect.types.steps.Steps"]
    """<p>List of routing steps. When Connect Customer does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.</p>"""
    activation_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.</p>"""
    index: NotRequired["capo_connect.types.index.Index"]
    """<p>Information about the index of the routing criteria.</p>"""

activation_timestamp instance-attribute

activation_timestamp: NotRequired[Timestamp]

The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.

index instance-attribute

index: NotRequired[Index]

Information about the index of the routing criteria.

steps instance-attribute

steps: NotRequired[Steps]

List of routing steps. When Connect Customer does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.