# Clawdbot Notion Skill Update

Add these to `/root/clawd/skills/growth-engine/SKILL.md`:

---

## Notion Integration Commands

### get_snapshot
Get current business snapshot for Notion daily entry.
```bash
curl -H "X-API-Key: $CLAWDBOT_API_KEY" "$GROWTH_ENGINE_API_URL/api/notion/snapshot"
```

**Response includes:**
- Pipeline stats (total, hot, warm, cool, cold, value)
- Today's activity (calls, conversations, SMS, replies)
- Week's activity
- Month's conversions and revenue
- Team activity breakdown
- Alerts (pending callbacks, hot leads without contact)
- Ready-to-use summary

### get_weekly_summary
Get weekly summary for Notion metrics dashboard.
```bash
curl -H "X-API-Key: $CLAWDBOT_API_KEY" "$GROWTH_ENGINE_API_URL/api/notion/weekly-summary"
```

**Response includes:**
- Activity metrics (calls, conversations, conversion rate)
- Conversions and revenue
- Best performing trade and source
- Ready-to-paste Notion summary

### get_knowledge_export
Export knowledge base for Notion.
```bash
curl -H "X-API-Key: $CLAWDBOT_API_KEY" "$GROWTH_ENGINE_API_URL/api/notion/knowledge-export"
```

**Response includes:**
- Winning patterns from AI
- Proven objection responses
- Brand voice rules
- Legal language guidelines

---

## Environment Variables to Add

Add to `~/.clawdbot/.env`:

```
# Notion Integration
NOTION_API_KEY=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
NOTION_BUSINESS_STATE_DB=2f563e0c-a7d5-8116-89bb-de6bdde99011
NOTION_TASKS_DB=2f563e0c-a7d5-81cf-bc3d-c1f71325877c
NOTION_KNOWLEDGE_DB=2f563e0c-a7d5-8177-bdfd-d228b9f1f5cc
NOTION_TEAM_DB=2f563e0c-a7d5-818b-8e50-f416375eb906
NOTION_METRICS_DB=2f563e0c-a7d5-81e9-a90e-c52b4b84126d
```

---

## Daily Routine for Clawdbot

### Morning (7am AEST)
1. Call `get_snapshot`
2. Create new entry in Business State database
3. Post summary to #michael Slack channel

### Weekly (Monday 7am AEST)
1. Call `get_weekly_summary`
2. Create new entry in Metrics Dashboard database
3. Post weekly report to Slack

---

## Example Usage

**"What's today's business health?"**
→ Call `get_snapshot`
→ Return summary with pipeline stats and activity

**"Update Notion with today's numbers"**
→ Call `get_snapshot`
→ Use Notion skill to create entry in Business State database

**"Generate weekly metrics for Notion"**
→ Call `get_weekly_summary`
→ Use Notion skill to create entry in Metrics Dashboard database

**"What objection responses are working?"**
→ Call `get_knowledge_export`
→ Return proven responses with effectiveness scores
