Microsoft Teams · Arazzo Workflow

Microsoft Teams Review Channel Conversation

Version 1.0.0

List a team's channels and read the recent messages in a chosen channel.

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

Provider

microsoft-teams

Workflows

review-channel-conversation
Resolve channels and read recent messages from a chosen channel.
Lists the team's channels and, when at least one exists, reads the most recent messages from the supplied channel.
2 steps inputs: accessToken, channelId, teamId, top outputs: messages
1
listChannels
List the channels in the team to confirm the target channel is present before reading messages.
2
readMessages
Read the most recent messages from the chosen channel, limited by the top parameter.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Teams Review Channel Conversation
  summary: List a team's channels and read the recent messages in a chosen channel.
  description: >-
    Reviewing a conversation requires resolving the channel first and then
    reading its messages. This workflow lists the channels in a team, branches on
    whether any channel exists, and reads the most recent messages from the
    chosen 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: messagesApi
  url: ../openapi/microsoft-teams-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: review-channel-conversation
  summary: Resolve channels and read recent messages from a chosen channel.
  description: >-
    Lists the team's channels and, when at least one exists, reads the most
    recent messages from the supplied channel.
  inputs:
    type: object
    required:
    - accessToken
    - teamId
    - channelId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token with Channel.ReadBasic.All and ChannelMessage.Read.All scopes.
      teamId:
        type: string
        description: The unique identifier of the team.
      channelId:
        type: string
        description: The channel id to read messages from.
      top:
        type: integer
        description: Maximum number of messages to return.
        default: 20
  steps:
  - stepId: listChannels
    description: >-
      List the channels in the team to confirm the target channel is present
      before reading messages.
    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
    onSuccess:
    - name: channelsFound
      type: goto
      stepId: readMessages
      criteria:
      - context: $response.body
        condition: $.value.length > 0
        type: jsonpath
    - name: noChannels
      type: end
      criteria:
      - context: $response.body
        condition: $.value.length == 0
        type: jsonpath
  - stepId: readMessages
    description: >-
      Read the most recent messages from the chosen channel, limited by the top
      parameter.
    operationId: listChannelMessages
    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
    - name: $top
      in: query
      value: $inputs.top
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      messages: $response.body#/value
  outputs:
    messages: $steps.readMessages.outputs.messages

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-review-channel-conversation-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.