Adobe Captivate · Arazzo Workflow

Adobe Learning Manager Activate and Enroll a User

Version 1.0.0

Read a user, activate them if not already ACTIVE, then enroll them into a course instance.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub AuthoringEducationE-LearningLMSSCORMTrainingxAPIArazzoWorkflows

Provider

adobe-captivate

Workflows

activate-and-enroll-user
Ensure a user is active, then enroll them into a course instance.
Loads the user, activates the account when its state is not ACTIVE, resolves a course instance, and creates the enrollment.
4 steps inputs: accessToken, learningObjectId, userId outputs: enrollmentId, userId
1
getUser
Read the user by id to determine the current account name, email, and state before deciding whether activation is required.
2
activateUser
Patch the user to ACTIVE state, preserving the existing name and email, following JSON:API PATCH semantics.
3
listInstances
List instances of the target learning object and pick the first available instance to enroll the user into.
4
enrollUser
Enroll the active user into the selected learning object instance.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Adobe Learning Manager Activate and Enroll a User
  summary: Read a user, activate them if not already ACTIVE, then enroll them into a course instance.
  description: >-
    An onboarding flow for Adobe Learning Manager (Captivate Prime). The
    workflow reads a user by id, branches on whether the account is already
    active, patches the user to ACTIVE state when needed, lists instances of the
    target course, and enrolls the now-active user against the first instance.
    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
  x-realizes-capability-ids:
  - BC-300.40
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-300.40
      capability_name: Learning & Development Management
      spec: adobe-captivate-learning-objects-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: enrollmentsApi
  url: ../openapi/adobe-captivate-enrollments-api-openapi.yml
  type: openapi
- name: learningObjectsApi
  url: ../openapi/adobe-captivate-learning-objects-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/adobe-captivate-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: activate-and-enroll-user
  summary: Ensure a user is active, then enroll them into a course instance.
  description: >-
    Loads the user, activates the account when its state is not ACTIVE, resolves
    a course instance, and creates the enrollment.
  inputs:
    type: object
    required:
    - accessToken
    - userId
    - learningObjectId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer access token issued via Adobe IMS.
      userId:
        type: string
        description: The id of the user to activate and enroll.
      learningObjectId:
        type: string
        description: The id of the course / learning object to enroll into.
  steps:
  - stepId: getUser
    description: >-
      Read the user by id to determine the current account name, email, and
      state before deciding whether activation is required.
    operationId: getUser
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: userId
      in: path
      value: $inputs.userId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/data/id
      name: $response.body#/data/attributes/name
      email: $response.body#/data/attributes/email
    onSuccess:
    - name: alreadyActive
      type: goto
      stepId: listInstances
      criteria:
      - context: $response.body
        condition: $.data.attributes.state == 'ACTIVE'
        type: jsonpath
    - name: needsActivation
      type: goto
      stepId: activateUser
      criteria:
      - context: $response.body
        condition: $.data.attributes.state != 'ACTIVE'
        type: jsonpath
  - stepId: activateUser
    description: >-
      Patch the user to ACTIVE state, preserving the existing name and email,
      following JSON:API PATCH semantics.
    operationId: updateUser
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: userId
      in: path
      value: $inputs.userId
    requestBody:
      contentType: application/vnd.api+json
      payload:
        data:
          id: $inputs.userId
          type: user
          attributes:
            name: $steps.getUser.outputs.name
            email: $steps.getUser.outputs.email
            state: ACTIVE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/data/id
  - stepId: listInstances
    description: >-
      List instances of the target learning object and pick the first available
      instance to enroll the user into.
    operationId: getLearningObjectInstances
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: learningObjectId
      in: path
      value: $inputs.learningObjectId
    - name: page[limit]
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      instanceId: $response.body#/data/0/id
  - stepId: enrollUser
    description: >-
      Enroll the active user into the selected learning object instance.
    operationId: createEnrollment
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    requestBody:
      contentType: application/vnd.api+json
      payload:
        data:
          type: enrollment
          attributes:
            loInstanceId: $steps.listInstances.outputs.instanceId
          relationships:
            loInstance:
              data:
                id: $steps.listInstances.outputs.instanceId
                type: learningObjectInstance
            learner:
              data:
                id: $inputs.userId
                type: user
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      enrollmentId: $response.body#/data/id
  outputs:
    userId: $steps.getUser.outputs.userId
    enrollmentId: $steps.enrollUser.outputs.enrollmentId

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/adobe-captivate-activate-and-enroll-user-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.