Slack Thread Get Messages Block

Retrieve messages from a specific Slack thread

The Slack Thread Get Messages block enables users to retrieve all messages from a specified thread in a Slack channel. This block is useful for integrating Slack communications into Scout workflows, enabling users to automate the extraction and processing of Slack thread messages.

Configuration (Required)

Slack Integration
string

Select which Slack workspace to post to. This field is optional and defaults to an empty string if not specified.

Channel ID
stringRequired

The ID of the channel containing the thread. This field supports Jinja templating for dynamic channel ID resolution based on workflow state.

Thread ID
string

The ID of the thread to get messages from. This field supports Jinja templating for dynamic thread ID resolution based on workflow state. Defaults to an empty string if not specified.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The response contains all messages from the specified Slack thread in JSON format.

Usage Context

Use this block to automate the retrieval of messages from a specific thread in a Slack channel. It is ideal for scenarios where you need to process or analyze Slack communications within a workflow.

Best Practices

  • Ensure the channel ID and thread ID are correctly specified to retrieve the desired messages.
  • Utilize Jinja templating for dynamic channel and thread ID resolution based on workflow state.
  • Verify that the Slack integration is properly configured and accessible to ensure successful message retrieval.
Built with