Cross-Provider Workflow

Teams Channel Message to SendGrid Broadcast

Version 1.0.0

Post to a Microsoft Teams channel, then broadcast it by email via SendGrid.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

microsoft-teams sendgrid

Workflows

teams-post-and-email-broadcast
Post a Teams channel message, then broadcast it by email through SendGrid.
Sends a message to a Microsoft Teams channel and, on success, broadcasts the same announcement to a distribution address by email through SendGrid.
2 steps inputs: announcementHtml, announcementText, broadcastEmail, channelId, teamId outputs: emailStatus, teamsMessageId
1
post-teams-message
$sourceDescriptions.teamsGraphApi.sendChannelMessage
Post the announcement to the Microsoft Teams channel.
2
email-broadcast
$sourceDescriptions.sendgridMailApi.SendMail
Broadcast the same announcement by email via SendGrid.

Source API Descriptions

Arazzo Workflow Specification

msg-teams-channel-to-sendgrid-broadcast.yml Raw ↑
arazzo: 1.0.1
info:
  title: Teams Channel Message to SendGrid Broadcast
  summary: Post to a Microsoft Teams channel, then broadcast it by email via SendGrid.
  description: >-
    A cross-provider workflow that posts an announcement to a Microsoft Teams
    channel through the Teams Graph API and then broadcasts the same
    announcement to a wider audience by email using SendGrid's Mail Send API.
    Demonstrates pairing an internal collaboration channel with an email
    broadcast in a single Arazzo workflow.
  version: 1.0.0
sourceDescriptions:
  - name: teamsGraphApi
    url: https://raw.githubusercontent.com/api-evangelist/microsoft-teams/refs/heads/main/openapi/microsoft-teams-messages-api-openapi.yml
    type: openapi
  - name: sendgridMailApi
    url: https://raw.githubusercontent.com/api-evangelist/sendgrid/refs/heads/main/openapi/sendgrid-mail-send-api-openapi.yml
    type: openapi
workflows:
  - workflowId: teams-post-and-email-broadcast
    summary: Post a Teams channel message, then broadcast it by email through SendGrid.
    description: >-
      Sends a message to a Microsoft Teams channel and, on success, broadcasts
      the same announcement to a distribution address by email through SendGrid.
    inputs:
      type: object
      properties:
        teamId:
          type: string
        channelId:
          type: string
        announcementHtml:
          type: string
        announcementText:
          type: string
        broadcastEmail:
          type: string
    steps:
      - stepId: post-teams-message
        description: Post the announcement to the Microsoft Teams channel.
        operationId: $sourceDescriptions.teamsGraphApi.sendChannelMessage
        parameters:
          - 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.announcementHtml
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          teamsMessageId: $response.body#/id
      - stepId: email-broadcast
        description: Broadcast the same announcement by email via SendGrid.
        operationId: $sourceDescriptions.sendgridMailApi.SendMail
        requestBody:
          contentType: application/json
          payload:
            personalizations:
              - to:
                  - email: $inputs.broadcastEmail
                subject: Team announcement
            from:
              email: broadcast@example.com
            content:
              - type: text/plain
                value: $inputs.announcementText
        successCriteria:
          - condition: $statusCode == 202
        outputs:
          emailStatus: $statusCode
    outputs:
      teamsMessageId: $steps.post-teams-message.outputs.teamsMessageId
      emailStatus: $steps.email-broadcast.outputs.emailStatus

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/msg-teams-channel-to-sendgrid-broadcast"
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.