For general information about Rollbar's alerting features, check out the Notifications guide.


Configuration is per-project in Rollbar.

  1. Head to the Notification settings page for a project: Dashboard → Settings → Notifications → Slack.
  2. Click Connect with Slack
  3. Select the Slack team you want to integrate with, and authorize the permission request.
  4. Select the channel or group you wish to receive messages for
  5. Click Enable Slack Integration
  6. Congrats! Slack is now integrated with Rollbar. Default rules will have been created for the various events that Rollbar notifies on. You can customize the rules by editing them, deleting them, or adding new ones.

Tips & Tricks

  • You can configure what channel you send the notifications to on each individual rule.
  • You can customize the content of Slack messages by using notification variables.
  • In addition to notification variables, any data value sent in the JSON payload of an item or occurrence may be used as a variable, including custom data. Examples of usage are {{body.request.url}} and {{}}. If your JSON payload includes the custom values { handler: { key: process-job, id:100 }} then you can use the variables {{body.handler.key}} and {{}} in your notifications. To view the full set of available values, look at the "Params" values of an occurrence in your project. All params besides the ones listed in the above notification variables must be prefaced with "body" and will be truncated to 100 characters.
  • You can mention specific Slack users in notification messages using the syntax <@username>.
  • To mention @channel, @group, @here, or @everyone, use the syntax <!channel>, <!group>, <!here>, or <!everyone>.
  • To add a newline to the slack message, simply type it into the template, e.g.
[{{project_slug}}] - {{body.framework}} - {{level}} - {{trigger_description}}