./notify queues messages during a skill run and dispatches them post-run to every configured channel, silently skipping unconfigured ones.
Supported Channels#
| Channel | Outbound Secrets | Inbound (Talk Back) Secrets |
|---|---|---|
| Telegram | TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID | Same (offset-based polling or webhook) |
| Discord | DISCORD_WEBHOOK_URL | DISCORD_BOT_TOKEN + DISCORD_CHANNEL_ID |
| Slack | SLACK_WEBHOOK_URL | SLACK_BOT_TOKEN + SLACK_CHANNEL_ID |
RESEND_API_KEY + NOTIFY_EMAIL_TO | - | |
| Buzz | BUZZ_PRIVATE_KEY + BUZZ_CHANNEL_ID | - |
Inbound Priority#
When .github/workflows/messages.yml is enabled, pending inbound messages are processed in priority order (Telegram > Discord > Slack), with per-channel read state (Telegram update offset, Discord/Slack reaction acks) preventing duplicate runs.
Telegram Commands & Buttons#
Structured Telegram interactions are handled by a router with no LLM in the loop, making commands and button taps instant and free:
- Slash commands: Every enabled skill registers as
/skill-name <var>(e.g./token-movers solana). - Inline buttons: Notifications include
Run againandSchedule weeklybuttons; alert skills addSnoozeandMute. - Deep links:
https://t.me/<bot>?start=<skill>__<arg>triggers a skill from any link. - Force-reply follow-ups: Skills can prompt a question and route your Telegram reply straight back into the next run.
Full reference: docs/telegram-commands.md.
Telegram Instant Mode#
Default polling runs every 5 minutes. For ~1-second responses, deploy the Cloudflare Worker in apps/webhook/ or enable Instant replies under Settings -> Credentials -> Telegram in the dashboard.
Instant mode also adds Bot API 10.4 features that need an answer within 15 seconds of the tap:
- Private replies: after the owner taps a button, the Worker confirms it privately ("Queued a new run of /x"). A non-owner who taps a button in the owner's group is told privately that buttons are owner-only.
- Details button: a third global button, Details, shows the skill's full latest output to the person who tapped it. Polling mode posts it to the chat instead.
/panelwidget: sends a small panel with the latest run per skill (ok, failed or running) plus Run and Refresh buttons. Production widgets are private-chat only, so/panelsent in the owner's group opens in the owner's DM (setTELEGRAM_ALLOWED_USER_ID).
json-render Feed#
In local dashboard mode, skills emit structured specs into apps/dashboard/outputs/ for live rendering. In GitHub Actions, ./notify-jsonrender converts markdown output into the same spec via Haiku.
