Skip to content

API Reference parrot.integrations.slack.notifier

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.integrations.slack.notifier

View source

Provider-agnostic Slack connection notifier (FEAT-777 M2, AC-6).

Registered in the process-wide ChannelNotifierRegistry by SlackAgentWrapper. One notifier per channel: with several Slack bots the last registered token wins (v1 limitation). Never writes identities.

Alias ConnectionEvent

Re-exported from parrot.auth.oauth2.events.ConnectionEvent.

Class SlackConnectionNotifier

DM a Slack user about connection lifecycle events for any provider.

Parameter Type Default Description
bot_token str

Method SlackConnectionNotifier.notify

Send the DM for completed / revoked / refresh_failed; other kinds are ignored.

notify(event: ConnectionEvent, state_payload: Dict[str, Any]) -> None

Parameter Type Default Description
event ConnectionEvent
state_payload Dict[str, Any]

Attribute logger

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally