Slack Setup
The Slack integration delivers notifications to your workspace and lets team members interact with your Zetto agent through DMs. Conversations are thread-based for clean organisation.
Prerequisites
Section titled “Prerequisites”- Slack workspace admin access (to install the app)
- Go to api.slack.com/apps and click Create New App.
- Choose From scratch, name the app (e.g., “Zetto”), and select your workspace.
- Navigate to OAuth & Permissions and add the following Bot Token Scopes:
chat:writechannels:historyim:historyim:write
- Click Install to Workspace and authorize the app.
- Copy the Bot User OAuth Token (starts with
xoxb-). - Go to Settings > Channels > Slack in your Zetto dashboard.
- Paste the token and select the channel where you want notifications delivered.
- Back in your Slack app settings, go to Event Subscriptions.
- Enable events and set the Request URL to:
https://api.zettoai.com/api/slack/events
- Under Subscribe to bot events, add:
message.immessage.channels
- Click Save Changes.
Commands
Section titled “Commands”| Command | Description |
|---|---|
/clear | Reset the conversation memory for a fresh start |
/signup | Link your Slack account to your Zetto account via email verification |
Account linking with /signup
Section titled “Account linking with /signup”Team members can link their Slack accounts to Zetto for authenticated access:
- Type
/signupin a DM with the Zetto bot. - Enter the email address associated with your Zetto account.
- Check your email for an OTP verification code.
- Enter the OTP in the Slack conversation.
- Your Slack account is now linked — the bot recognises you as the account owner.
How conversations work
Section titled “How conversations work”Slack conversations with the Zetto bot are thread-based:
- Each new interaction starts a thread in the DM
- Replies within a thread maintain context
- Notifications are delivered to the configured channel (not DMs)
- DMs with the bot are for interactive management (matches, listings, search)
Troubleshooting
Section titled “Troubleshooting”Bot not responding to DMs?
- Ensure
im:historyandim:writescopes are added. - Verify Event Subscriptions are enabled with the correct URL.
- Check that
message.imis subscribed.
Events URL verification failing?
- Save your Slack token in the Zetto dashboard first, then set the events URL.
- Make sure the URL is exactly
https://api.zettoai.com/api/slack/events.
Not receiving channel notifications?
- Invite the bot to the channel: type
/invite @Zettoin the channel. - Verify the correct channel is selected in your Zetto dashboard.