docs
Discord Notifications
yamlautohealer.yml · notify
123456workflows: backend: # ... issue, repo, agents, validation ... notify: discord: webhook_url: ${DISCORD_WEBHOOK_URL}
Add DISCORD_WEBHOOK_URL to ~/.autohealer/.env. Each workflow needs at least one notifier; you can combine Discord with Telegram.
Setup
- In your Discord server, open Server Settings → Integrations → Webhooks and create a webhook for the channel where you want run updates.
- Copy the webhook URL into
DISCORD_WEBHOOK_URL. - Reference it from
notify.discord.webhook_urlin your workflow.
This webhook is for run notifications only. Reading Discord forum threads as an issue source uses DISCORD_BOT_TOKEN instead (see the Discord provider).
Message types
Autohealer posts Discord embeds for three run events. Each message includes the workflow name, repository, and issue URL or ID.
| Event | Embed title | Notes |
|---|---|---|
| Run started | Autohealer run started | Issue title in the description |
| Draft PR created | Autohealer created a draft PR | Includes the pull request URL |
| Run failed | Autohealer run failed | Reason plus optional detail fields (validation output, review feedback, and similar) |
Long failure text is truncated to fit Discord limits. Secrets from your env and config are redacted before messages are sent. Delivery errors are logged but do not fail the run.
Validate
shellsh
autohealer config validate