Cross-Provider Workflow

Weather Alerts to Slack Channel

Version 1.0.0

Pull active weather alerts for a location, then post them to a Slack channel.

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

Providers Orchestrated

weatherapi slack

Workflows

weather-alerts-to-slack
Fetch active weather alerts and post them to Slack.
Requests active weather alerts for a location from WeatherAPI, then posts the alert headline to a Slack channel via chat.postMessage.
2 steps inputs: channel, location outputs: alertEvent, messageTs
1
get-alerts
$sourceDescriptions.weatherapiApi.getAlerts
Fetch active weather alerts for the requested location.
2
post-to-slack
$sourceDescriptions.slackChatApi.postChatPostmessage
Post the alert headline to the team Slack channel.

Source API Descriptions

Arazzo Workflow Specification

geo-weatherapi-alerts-slack-notify.yml Raw ↑
arazzo: 1.0.1
info:
  title: Weather Alerts to Slack Channel
  summary: Pull active weather alerts for a location, then post them to a Slack channel.
  description: >-
    A severe-weather operations workflow that retrieves active weather alerts for a
    location from WeatherAPI and posts a summary to a team Slack channel via the Slack
    chat.postMessage method. Demonstrates pairing a weather provider with a team
    messaging provider to keep operations teams informed of hazardous conditions.
  version: 1.0.0
sourceDescriptions:
  - name: weatherapiApi
    url: https://raw.githubusercontent.com/api-evangelist/weatherapi/refs/heads/main/openapi/weatherapi-alerts-api-openapi.yml
    type: openapi
  - name: slackChatApi
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-api-openapi.yml
    type: openapi
workflows:
  - workflowId: weather-alerts-to-slack
    summary: Fetch active weather alerts and post them to Slack.
    description: >-
      Requests active weather alerts for a location from WeatherAPI, then posts the
      alert headline to a Slack channel via chat.postMessage.
    inputs:
      type: object
      properties:
        location:
          type: string
        channel:
          type: string
    steps:
      - stepId: get-alerts
        description: Fetch active weather alerts for the requested location.
        operationId: $sourceDescriptions.weatherapiApi.getAlerts
        parameters:
          - name: q
            in: query
            value: $inputs.location
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          alertHeadline: $response.body#/alerts/alert/0/headline
          alertEvent: $response.body#/alerts/alert/0/event
          locationName: $response.body#/location/name
      - stepId: post-to-slack
        description: Post the alert headline to the team Slack channel.
        operationId: $sourceDescriptions.slackChatApi.postChatPostmessage
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $inputs.channel
            text: $steps.get-alerts.outputs.alertHeadline
        successCriteria:
          - condition: $statusCode == 200
          - condition: $response.body#/ok == true
        outputs:
          messageTs: $response.body#/ts
          postedChannel: $response.body#/channel
    outputs:
      alertEvent: $steps.get-alerts.outputs.alertEvent
      messageTs: $steps.post-to-slack.outputs.messageTs

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/geo-weatherapi-alerts-slack-notify"
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.