Set up Slack in RouteIQ
Create a Slack app, install its bot in your workspace, choose a default channel, and connect RouteIQ notifications.
xoxb-. Treat it and the optional signing secret like passwords.Before you start
You will need permission to create or install apps in the target Slack workspace, permission to add a bot to the destination channel, and RouteIQ administrator access.
1. Create a Slack app
- Open Your Apps on Slack API.
- Select Create New App, then create it from scratch.
- Name it clearly, such as RouteIQ notifications, and select the correct workspace.
2. Add the minimum bot permission
- Open OAuth & Permissions in the Slack app settings.
- Under Bot Token Scopes, add
chat:write. - Avoid unrelated permissions. Sending notifications does not require access to read channel history.
Slack documents this scope in its chat:write reference.
3. Install the app and invite the bot
- Select Install to Workspace and approve the requested permission.
- Copy the Bot User OAuth Token beginning with
xoxb-. - Open the channel RouteIQ should use and invite the app to it.
- Copy the channel name exactly, including the leading
#when you enter it in RouteIQ. You can use a channel ID when names are ambiguous.
The signing secret is only for a separately configured inbound Slack request URL. Event Subscriptions and slash commands are not part of this outbound-notification setup.
4. Connect Slack to RouteIQ
- Sign in to RouteIQ and open Settings > Integrations.
- Find Slack and turn it on.
- After it shows Connected, select Configure.
- Paste the bot token into Bot User OAuth Token.
- Enter the invited channel in Default Channel.
- Leave Signing Secret empty for standard notifications.
- Leave Is Active selected and save.
5. Verify the setup
- Trigger a non-production RouteIQ notification that targets Slack.
- Confirm the message appears in the expected channel under the Slack app's name.
- Confirm the app is not posting to an unintended channel or workspace.
Troubleshooting
Slack reports invalid_auth
Confirm the token begins with xoxb-, belongs to the correct workspace, and the app has not been uninstalled.
Slack reports missing_scope
Add chat:write, reinstall the app, and update RouteIQ if Slack issued a new token.
The channel is not found
Check the channel name or use its channel ID. Invite the bot explicitly, especially for a private channel.
Rotate or remove Slack access
- Rotate the bot token or reinstall the app in Slack.
- Update the Bot User OAuth Token in RouteIQ.
- Send a test notification.
- Revoke the old token or uninstall the app only after the replacement works.