Slack webhooks allow Telebugs to send error notifications directly to a Slack channel or user. This integration provides real-time alerts, enabling teams to monitor and respond to errors efficiently.
To configure a Slack webhook in Telebugs, follow these steps:
 
 
 
 
 
 
 
 
Navigate back to Telebugs to complete the webhook configuration:
 
 
Here’s an example of a Slack-compatible payload:
{
  "username": "Telebugs",
  "attachments": [
    {
      "fallback": "{{project_name}}: {{trigger}} - {{error_type}}: {{error_message}}",
      "pretext": "*{{trigger}}* from <{{project_url}}|{{project_name}}>",
      "color": "#D00000",
      "fields": [
        {
          "title": "{{error_type}}{{culprit}}",
          "value": "{{error_message}}",
          "short": false
        },
        {
          "title": "Location",
          "value": "{{location}}",
          "short": false
        }
      ],
      "actions": [
        {
          "type": "button",
          "text": "View",
          "url": "{{view_url}}"
        }
      ]
    }
  ]
}
You can customize the payload however you like, using the available keys to include dynamic values from the error report (see Webhook template body placeholders). For example, you can change the color, add more fields, or modify the message format.