poll plugin (Python stdlib) · Two-way · TLS & protocol verified

Connect Notion Databases to Local AI Agents & IM Group Chats

TagTag’s zero-dependency Notion connector tracks database updates incrementally via last_edited_time + seen_ids and supports posting page comments when granted send access. Connect Notion alongside Slack or Feishu so specs, tasks, and local files stay in sync.

NOTION_API_KEY is injected only into the Notion plugin process and stripped from every LLM harness.

Instance configuration

connectors.json
{
  "id": "notion:specs",
  "type": "notion",
  "enabled": true,
  "bot_id": "pm-bot",
  "access": "readonly",
  "poll_interval_seconds": 300,
  "default_target": "slack:eng",
  "env_keys": ["NOTION_API_KEY"],
  "config": { "database_id": "your-db-id" }
}

Daily workflow

When a product spec changes in Notion, your Bot diffs the change against your local repo and alerts the right IM group.

Cursor & dry-run semantics

Persists last_edited_time and seen_ids in FileKV; supports --dry-run inspection before going live.

Credentials: NOTION_API_KEY

Local agents
IM platforms