> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/6.-build-wire-your-code/integration-slack.md).

# Slack notifications

Recipe — route Stratix evaluation results into a Slack channel by polling and forwarding.

{% hint style="warning" %}
**Private preview.** This surface is not yet generally available. Adapters live in the Python SDK today and the rendering / configuration UX is under iteration. Contact <support@layerlens.ai> to request access to the private preview.
{% endhint %}

The Stratix platform doesn't ship a native Slack integration today. Customers route by polling SDK results and forwarding to a Slack incoming webhook.

```python
import os, requests
from layerlens import Stratix
client = Stratix()

evaluation = client.evaluations.get(EVAL_ID)

if not evaluation.is_success:
 requests.post(
 os.environ["SLACK_WEBHOOK_URL"],
 json={
 "text": f"⚠️ Stratix evaluation {evaluation.id} status={evaluation.status}",
 "attachments": [{
 "color": "danger",
 "fields": [
 {"title": "Model", "value": evaluation.model_name, "short": True},
 {"title": "Benchmark", "value": evaluation.benchmark_name, "short": True},
 {"title": "Accuracy", "value": str(evaluation.accuracy), "short": True},
 ],
 }],
 },
 timeout=10,
 )
```

Wire from any scheduler — see [daily smoke eval](/9.-improve-tune-the-system/daily-smoke-eval.md) for the scheduling pattern.

## See also

* [Notifications](https://github.com/LayerLens/gitbook-full/blob/main/13-reference/sdk-python/notifications.md) — in-app and email (platform-native)
* [Cookbook: PagerDuty escalation](/6.-build-wire-your-code/integration-pagerduty.md)
