Azure Web PubSub · Arazzo Workflow

Azure Web PubSub Onboard User to Group

Version 1.0.0

Add a user to a group and welcome them with a targeted message in one flow.

1 workflow 1 source API 1 provider
View Spec View on GitHub MessagingPub-SubReal-TimeServerlessWebSocketsArazzoWorkflows

Provider

microsoft-azure-web-pubsub

Workflows

onboard-user-to-group
Add a user to a group, then send the user a welcome message.
Adds a user to a group via addUserToGroup, then delivers a plain-text welcome message to that user via sendToUser.
2 steps inputs: accessToken, apiVersion, group, hub, message, userId outputs: addStatus, sendStatus
1
addUser
Add the user and all of their connections to the named group.
2
welcomeUser
Deliver a personal welcome message to the user confirming they joined.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure Web PubSub Onboard User to Group
  summary: Add a user to a group and welcome them with a targeted message in one flow.
  description: >-
    A membership onboarding pattern: a user (and all of their connections) is
    added to a named group, and the user is then sent a personal welcome message
    confirming they have joined. Each step inlines its request — Authorization
    bearer header, required api-version query, the message body, and documented
    PUT 200 and send 202 status codes — so the flow is self-describing.
  version: 1.0.0
sourceDescriptions:
- name: hubApi
  url: ../openapi/microsoft-azure-web-pubsub-hub-api-openapi.yml
  type: openapi
workflows:
- workflowId: onboard-user-to-group
  summary: Add a user to a group, then send the user a welcome message.
  description: >-
    Adds a user to a group via addUserToGroup, then delivers a plain-text welcome
    message to that user via sendToUser.
  inputs:
    type: object
    required:
    - accessToken
    - hub
    - group
    - userId
    - message
    properties:
      accessToken:
        type: string
        description: JWT bearer token for the Web PubSub data plane.
      apiVersion:
        type: string
        description: Data plane REST API version.
        default: "2024-01-01"
      hub:
        type: string
        description: Target hub name.
      group:
        type: string
        description: Group name to add the user to.
      userId:
        type: string
        description: The user id to add and welcome.
      message:
        type: string
        description: The plain-text welcome message to deliver to the user.
  steps:
  - stepId: addUser
    description: >-
      Add the user and all of their connections to the named group.
    operationId: webPubSub_addUserToGroup
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: hub
      in: path
      value: $inputs.hub
    - name: group
      in: path
      value: $inputs.group
    - name: userId
      in: path
      value: $inputs.userId
    - name: api-version
      in: query
      value: $inputs.apiVersion
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      addStatus: $statusCode
  - stepId: welcomeUser
    description: >-
      Deliver a personal welcome message to the user confirming they joined.
    operationId: webPubSub_sendToUser
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: hub
      in: path
      value: $inputs.hub
    - name: userId
      in: path
      value: $inputs.userId
    - name: api-version
      in: query
      value: $inputs.apiVersion
    requestBody:
      contentType: text/plain
      payload: $inputs.message
    successCriteria:
    - condition: $statusCode == 202
    outputs:
      sendStatus: $statusCode
  outputs:
    addStatus: $steps.addUser.outputs.addStatus
    sendStatus: $steps.welcomeUser.outputs.sendStatus

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/microsoft-azure-web-pubsub-user-onboard-to-group-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.