Skip to content

Creates a new routing profile

Description

Creates a new routing profile.

Usage

connect_create_routing_profile(InstanceId, Name, Description,
  DefaultOutboundQueueId, QueueConfigs, ManualAssignmentQueueConfigs,
  MediaConcurrencies, Tags, AgentAvailabilityTimer)

Arguments

  • InstanceId

    [required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • Name

    [required] The name of the routing profile. Must not be more than 127 characters.

  • Description

    [required] Description of the routing profile. Must not be more than 250 characters.

  • DefaultOutboundQueueId

    [required] The default outbound queue for the routing profile.

  • QueueConfigs

    The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.

    The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per routing profile per instance that is listed in Connect Customer service quotas.

  • ManualAssignmentQueueConfigs

    The manual assignment queues associated with the routing profile. If no queue is added, agents and supervisors can't pick or assign any contacts from this routing profile. The limit of 10 array members applies to the maximum number of RoutingProfileManualAssignmentQueueConfig objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per routing profile per instance that is listed in Connect Customer service quotas.

    For voice contacts, manual assignment supports only agent-first callback contacts. Chat, email, and task contacts are fully supported.

  • MediaConcurrencies

    [required] The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.

  • Tags

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

  • AgentAvailabilityTimer

    Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.

Value

A list with the following syntax:

list(
  RoutingProfileArn = "string",
  RoutingProfileId = "string"
)

Request syntax

svc$create_routing_profile(
  InstanceId = "string",
  Name = "string",
  Description = "string",
  DefaultOutboundQueueId = "string",
  QueueConfigs = list(
    list(
      QueueReference = list(
        QueueId = "string",
        Channel = "VOICE"|"CHAT"|"TASK"|"EMAIL"
      ),
      Priority = 123,
      Delay = 123
    )
  ),
  ManualAssignmentQueueConfigs = list(
    list(
      QueueReference = list(
        QueueId = "string",
        Channel = "VOICE"|"CHAT"|"TASK"|"EMAIL"
      )
    )
  ),
  MediaConcurrencies = list(
    list(
      Channel = "VOICE"|"CHAT"|"TASK"|"EMAIL",
      Concurrency = 123,
      CrossChannelBehavior = list(
        BehaviorType = "ROUTE_CURRENT_CHANNEL_ONLY"|"ROUTE_ANY_CHANNEL"
      ),
      WorkloadTypeConcurrencies = list(
        list(
          WorkloadType = "string",
          Concurrency = 123,
          CrossChannelWorkloadBehavior = list(
            ChannelWorkloadBehaviorType = "ROUTE_CURRENT_CHANNEL_CURRENT_WORKLOADTYPE_ONLY"|"ROUTE_CURRENT_CHANNEL_ANY_WORKLOADTYPE_ONLY"|"ROUTE_ANY_CHANNEL_ANY_WORKLOAD_TYPE"
          )
        )
      )
    )
  ),
  Tags = list(
    "string"
  ),
  AgentAvailabilityTimer = "TIME_SINCE_LAST_ACTIVITY"|"TIME_SINCE_LAST_INBOUND"
)