Configuration
Two environment variables control notifications:| Variable | Values | Description |
|---|---|---|
NOTIFY_TYPE | slack (default) or teams | The notification provider to use |
NOTIFY_WEBHOOK_URL | Incoming webhook URL | If unset, notifications are silently skipped |
.env file when running locally):
If
NOTIFY_WEBHOOK_URL is not set, notifications are silently skipped. No error is raised and the orchestrator continues to dispatch and poll normally.What triggers a notification
AI-Implement sends notifications at two points in the run lifecycle:- Dispatch — when the orchestrator picks up an issue and dispatches a workflow run. The notification includes the issue identifier, title, and target repository.
- Completion — when a workflow run finishes. The notification includes the outcome (
completed,failed, ortimed_out), a link to the PR (if one was opened), a link to the GitHub Actions run, and the run duration.
Setting up Slack
Create a Slack app with an incoming webhook
Go to api.slack.com/apps and create a new app. Choose From scratch, give it a name, and select your workspace.
Activate incoming webhooks
In the app settings, open Incoming Webhooks and toggle Activate Incoming Webhooks on.
Add a webhook to your workspace
Click Add New Webhook to Workspace, choose the channel where you want notifications to appear, and click Allow.
Copy the webhook URL
Copy the webhook URL that appears on the Incoming Webhooks page. It looks like
https://hooks.slack.com/services/T.../B.../....Setting up Microsoft Teams
Open the target Teams channel
In Microsoft Teams, navigate to the channel where you want notifications to appear.
Add an incoming webhook connector
Click the … (More options) next to the channel name, select Connectors, find Incoming Webhook, and click Configure.
Name the webhook and save
Give the webhook a name (e.g.
AI-Implement), optionally upload an icon, and click Create.