Slack · Arazzo Workflow

Slack Post a Message and Reply in Thread

Version 1.0.0

Post a parent message and then post a threaded reply under it.

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

Provider

slack

Workflows

post-thread-reply
Post a parent message, reply in its thread, and read the thread back.
Posts a parent message to a channel, posts a threaded reply anchored to its timestamp, and then reads the thread replies back to confirm the reply landed.
3 steps inputs: channel, parentText, replyText outputs: channelId, parentTs, replyTs
1
postParent
Post the parent message that the thread will hang from and capture its timestamp.
2
postReply
Post the reply anchored to the parent message timestamp so it appears in the thread.
3
readThread
Read the thread replies back to confirm the reply was posted under the parent message.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Slack Post a Message and Reply in Thread
  summary: Post a parent message and then post a threaded reply under it.
  description: >-
    A threaded conversation pattern that posts a parent message and immediately
    starts a thread under it. The workflow posts the parent message to a
    channel, captures its timestamp, and then posts a reply using that
    timestamp as the thread anchor. 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: chatApi
  url: ../openapi/slack-chat-api-openapi.yml
  type: openapi
- name: conversationsApi
  url: ../openapi/slack-conversations-api-openapi.yml
  type: openapi
workflows:
- workflowId: post-thread-reply
  summary: Post a parent message, reply in its thread, and read the thread back.
  description: >-
    Posts a parent message to a channel, posts a threaded reply anchored to its
    timestamp, and then reads the thread replies back to confirm the reply
    landed.
  inputs:
    type: object
    required:
    - channel
    - parentText
    - replyText
    properties:
      channel:
        type: string
        description: The channel ID to post the thread into.
      parentText:
        type: string
        description: The parent message text that starts the thread.
      replyText:
        type: string
        description: The reply message text posted under the parent.
  steps:
  - stepId: postParent
    description: >-
      Post the parent message that the thread will hang from and capture its
      timestamp.
    operationId: postChatPostmessage
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        channel: $inputs.channel
        text: $inputs.parentText
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.ok == true
      type: jsonpath
    outputs:
      channelId: $response.body#/channel
      parentTs: $response.body#/ts
  - stepId: postReply
    description: >-
      Post the reply anchored to the parent message timestamp so it appears in
      the thread.
    operationId: postChatPostmessage
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        channel: $steps.postParent.outputs.channelId
        text: $inputs.replyText
        thread_ts: $steps.postParent.outputs.parentTs
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.ok == true
      type: jsonpath
    outputs:
      replyTs: $response.body#/ts
  - stepId: readThread
    description: >-
      Read the thread replies back to confirm the reply was posted under the
      parent message.
    operationId: getConversationsReplies
    parameters:
    - name: channel
      in: query
      value: $steps.postParent.outputs.channelId
    - name: ts
      in: query
      value: $steps.postParent.outputs.parentTs
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.ok == true
      type: jsonpath
    outputs:
      messages: $response.body#/messages
  outputs:
    channelId: $steps.postParent.outputs.channelId
    parentTs: $steps.postParent.outputs.parentTs
    replyTs: $steps.postReply.outputs.replyTs

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-post-thread-reply-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.