Microsoft Teams · Arazzo Workflow

Microsoft Teams Add Member and Welcome

Version 1.0.0

Add a member to a team and post a welcome message to a chosen channel.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub ChatCollaborationCommunicationsMicrosoft-365ProductivityVideo ConferencingArazzoWorkflows

Provider

microsoft-teams

Workflows

add-member-and-welcome
Add a user to a team and greet them in a channel.
Confirms the team has channels, adds the user as a member, and posts a welcome message to the chosen channel.
3 steps inputs: accessToken, channelId, teamId, userId, welcomeMessage outputs: membershipId, messageId
1
listChannels
List the team's channels to confirm a target channel exists before adding the member and posting a welcome.
2
addMember
Add the user to the team with the member role.
3
postWelcome
Post the welcome message into the chosen channel.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Teams Add Member and Welcome
  summary: Add a member to a team and post a welcome message to a chosen channel.
  description: >-
    Welcoming new members keeps a team engaged. This workflow lists the team's
    channels to confirm a place to post, adds the new user as a member, and posts
    a welcome message into the supplied channel. 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: channelsApi
  url: ../openapi/microsoft-teams-channels-api-openapi.yml
  type: openapi
- name: membersApi
  url: ../openapi/microsoft-teams-members-api-openapi.yml
  type: openapi
- name: messagesApi
  url: ../openapi/microsoft-teams-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: add-member-and-welcome
  summary: Add a user to a team and greet them in a channel.
  description: >-
    Confirms the team has channels, adds the user as a member, and posts a
    welcome message to the chosen channel.
  inputs:
    type: object
    required:
    - accessToken
    - teamId
    - userId
    - channelId
    - welcomeMessage
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token with TeamMember.ReadWrite.All and ChatMessage.Send scopes.
      teamId:
        type: string
        description: The unique identifier of the team.
      userId:
        type: string
        description: The id of the user to add to the team.
      channelId:
        type: string
        description: The channel id to post the welcome message into.
      welcomeMessage:
        type: string
        description: The HTML body of the welcome message.
  steps:
  - stepId: listChannels
    description: >-
      List the team's channels to confirm a target channel exists before adding
      the member and posting a welcome.
    operationId: listChannels
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      channels: $response.body#/value
  - stepId: addMember
    description: >-
      Add the user to the team with the member role.
    operationId: addTeamMember
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    requestBody:
      contentType: application/json
      payload:
        roles:
        - member
        userId: $inputs.userId
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      membershipId: $response.body#/id
  - stepId: postWelcome
    description: >-
      Post the welcome message into the chosen channel.
    operationId: sendChannelMessage
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    - name: channel-id
      in: path
      value: $inputs.channelId
    requestBody:
      contentType: application/json
      payload:
        body:
          contentType: html
          content: $inputs.welcomeMessage
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      messageId: $response.body#/id
  outputs:
    membershipId: $steps.addMember.outputs.membershipId
    messageId: $steps.postWelcome.outputs.messageId

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-teams-add-member-and-welcome-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.