I use the slackdump tool to extract the entire contents of a Slack channel’s history for offline analysis using LLMs. This is particularly useful for unwinding the history of an interesting problem that was being debugged primarily via Slack.
slackdump dump -files=false -o dump.zip https://mycorp.slack.com/archives/C1C5VF233LM
slackdump format text dump.zip
# if login doesn't launch or you get invalid_auth:
slackdump workspace new mycorp