Slack · Arazzo Workflow

Slack Announce and Archive a Channel

Version 1.0.0

Post a final notice to a channel and then archive it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub BotsChatCollaborationMessagingProductivityT1Team CommunicationArazzoWorkflows

Provider

slack

Workflows

archive-channel-announce
Post a final notice and then archive the channel.
Posts a final notice message to a channel and then archives it.
2 steps inputs: channel, finalNotice outputs: archived, messageTs
1
postFinalNotice
Post the final notice message explaining the channel is being archived.
2
archiveChannel
Archive the channel so it is removed from active use while remaining searchable.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Slack Announce and Archive a Channel
  summary: Post a final notice to a channel and then archive it.
  description: >-
    A wind down pattern that closes out a channel cleanly. The workflow posts a
    final notice message explaining that the channel is being archived, then
    archives the channel so it is removed from active use while remaining
    searchable. 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: archiveApi
  url: ../openapi/slack-archive-api-openapi.yml
  type: openapi
- name: chatApi
  url: ../openapi/slack-chat-api-openapi.yml
  type: openapi
workflows:
- workflowId: archive-channel-announce
  summary: Post a final notice and then archive the channel.
  description: >-
    Posts a final notice message to a channel and then archives it.
  inputs:
    type: object
    required:
    - channel
    - finalNotice
    properties:
      channel:
        type: string
        description: The ID of the channel to announce and archive.
      finalNotice:
        type: string
        description: The final notice message to post before archiving.
  steps:
  - stepId: postFinalNotice
    description: >-
      Post the final notice message explaining the channel is being archived.
    operationId: postChatPostmessage
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        channel: $inputs.channel
        text: $inputs.finalNotice
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.ok == true
      type: jsonpath
    outputs:
      messageTs: $response.body#/ts
  - stepId: archiveChannel
    description: >-
      Archive the channel so it is removed from active use while remaining
      searchable.
    operationId: postConversationsArchive
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        channel: $inputs.channel
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.ok == true
      type: jsonpath
    outputs:
      archived: $response.body#/ok
  outputs:
    messageTs: $steps.postFinalNotice.outputs.messageTs
    archived: $steps.archiveChannel.outputs.archived

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/slack-archive-channel-announce-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.