Amazon Connect · Arazzo Workflow

Amazon Connect Create Routing Profile and Assign to User

Version 1.0.0

Create a routing profile with media concurrencies and assign it to an existing agent.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub ChatContact CenterCustomer ServiceVoiceArtificial IntelligenceOmnichannelArazzoWorkflows

Provider

amazon-connect

Workflows

create-routing-profile-and-assign
Create a routing profile and assign it to an existing user.
Creates a routing profile, assigns it to the supplied user, and confirms the assignment by describing the user.
3 steps inputs: concurrency, defaultOutboundQueueId, description, instanceId, name, userId outputs: assignedRoutingProfile, routingProfileId
1
createProfile
Create the routing profile with its default outbound queue and a single voice media concurrency.
2
assignToUser
Assign the newly created routing profile to the existing user.
3
confirmAssignment
Describe the user and confirm the newly created routing profile is now the one assigned to them.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Connect Create Routing Profile and Assign to User
  summary: Create a routing profile with media concurrencies and assign it to an existing agent.
  description: >-
    Stands up a new routing profile in an Amazon Connect instance with its
    default outbound queue and media concurrencies, then assigns it to an
    existing agent user and reads the user back to confirm the new routing
    profile took effect. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: routingProfilesApi
  url: ../openapi/amazon-connect-routing-profiles-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/amazon-connect-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-routing-profile-and-assign
  summary: Create a routing profile and assign it to an existing user.
  description: >-
    Creates a routing profile, assigns it to the supplied user, and confirms the
    assignment by describing the user.
  inputs:
    type: object
    required:
    - instanceId
    - userId
    - name
    - defaultOutboundQueueId
    properties:
      instanceId:
        type: string
        description: The identifier of the Amazon Connect instance.
      userId:
        type: string
        description: The identifier of the existing user to assign the profile to.
      name:
        type: string
        description: The name of the new routing profile.
      description:
        type: string
        description: A description for the new routing profile.
      defaultOutboundQueueId:
        type: string
        description: The identifier of the default outbound queue for the profile.
      concurrency:
        type: integer
        description: The number of simultaneous voice contacts the agent can handle.
  steps:
  - stepId: createProfile
    description: >-
      Create the routing profile with its default outbound queue and a single
      voice media concurrency.
    operationId: createRoutingProfile
    parameters:
    - name: InstanceId
      in: path
      value: $inputs.instanceId
    requestBody:
      contentType: application/json
      payload:
        Name: $inputs.name
        Description: $inputs.description
        DefaultOutboundQueueId: $inputs.defaultOutboundQueueId
        MediaConcurrencies:
        - Channel: VOICE
          Concurrency: $inputs.concurrency
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      routingProfileId: $response.body#/RoutingProfileId
      routingProfileArn: $response.body#/RoutingProfileArn
  - stepId: assignToUser
    description: >-
      Assign the newly created routing profile to the existing user.
    operationId: updateUserRoutingProfile
    parameters:
    - name: InstanceId
      in: path
      value: $inputs.instanceId
    - name: UserId
      in: path
      value: $inputs.userId
    requestBody:
      contentType: application/json
      payload:
        RoutingProfileId: $steps.createProfile.outputs.routingProfileId
    successCriteria:
    - condition: $statusCode == 200
  - stepId: confirmAssignment
    description: >-
      Describe the user and confirm the newly created routing profile is now the
      one assigned to them.
    operationId: describeUser
    parameters:
    - name: InstanceId
      in: path
      value: $inputs.instanceId
    - name: UserId
      in: path
      value: $inputs.userId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.User.RoutingProfileId == $steps.createProfile.outputs.routingProfileId
      type: jsonpath
    outputs:
      assignedRoutingProfile: $response.body#/User/RoutingProfileId
  outputs:
    routingProfileId: $steps.createProfile.outputs.routingProfileId
    assignedRoutingProfile: $steps.confirmAssignment.outputs.assignedRoutingProfile

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-connect-create-routing-profile-and-assign-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.