HomeTutorials › Humanoids
Humanoids

Slack Channel

#081 0:34 Part of the Rysh video series

Drop your humanoid into Slack and let it answer threads on its own.

Slack Channel — 0:34 walkthrough

What you'll see

  1. Launch rysh; write/show a skill file with contacts.slack (bot_token, app_token, channels) using ${ENV_VAR} tokens.
  2. Double-Escape into rysh mode; ##humanoid spawn .rysh/humanoids/support.md.
  3. ##humanoid channel start support slack -- start the Slack adapter explicitly.
  4. ##humanoid channels support -- show connection details and which channels it joined.

Commands shown

rysh
mkdir -p .rysh/humanoids
echo '---' > .rysh/humanoids/support.md
echo 'name: support' >> .rysh/humanoids/support.md
echo 'contacts:' >> .rysh/humanoids/support.md
echo '  slack:' >> .rysh/humanoids/support.md
echo '    bot_token: SLACK_BOT_TOKEN' >> .rysh/humanoids/support.md
echo '    app_token: SLACK_APP_TOKEN' >> .rysh/humanoids/support.md
echo '    channels: [ #support, #engineering ]' >> .rysh/humanoids/support.md
echo '---' >> .rysh/humanoids/support.md
echo 'You are a Slack support bot.' >> .rysh/humanoids/support.md
cat .rysh/humanoids/support.md
##humanoid spawn .rysh/humanoids/support.md
##humanoid channel start support slack
##humanoid channels support

Keys used

EnterEscape

Transcript

0:00Drop your humanoid into Slack and let it answer threads on its own.

0:03Launch rysh. The Slack channel is configured under contacts.slack: a bot token, an app token, and the channels to join.

0:10Tokens use the ENV_VAR syntax so they never sit in plaintext. Channels list the rooms the humanoid listens and replies in.

0:20Double-Escape into rysh mode and spawn it from the file.

0:28Start the Slack adapter explicitly with ##humanoid channel start, the humanoid's name, and the channel type slack.

Key takeaway
Configure contacts.slack with bot/app tokens and channels, then ##humanoid channel start <name> slack; inspect with ##humanoid channels <name>.