/ Colt Growth Strategist Bot.md
Colt Growth Strategist Bot.md
1 --- 2 type: make-scenario-migration 3 status: pending 4 make-id: 4398026 5 active: true 6 invalid: false 7 trigger: webhook 8 apps: [gateway, anthropic, slack] 9 executions: ~medium 10 last-edit: 2026-04-05 11 --- 12 13 # Colt Growth Strategist Bot 14 15 **Status:** Active 16 **Make ID:** 4398026 17 **Trigger:** Custom Webhook (HTTP POST) 18 19 --- 20 21 ## Module Sequence 22 23 1. **Custom Webhook** → receives incoming POST request (from Slack slash command or external trigger) 24 2. **Webhook Respond** → immediately returns HTTP 200 with body `"Thinking..."` (async response to prevent timeout) 25 3. **HTTP Request — POST Anthropic API** → calls Claude API 26 - Model: `claude-sonnet-4-6` 27 - System prompt: Colt's AI Chief of Staff persona / Growth Strategist 28 - User message: from webhook payload 29 4. **Slack — Create Message** → posts Claude's response to Slack channel/thread 30 31 --- 32 33 ## n8n Node Mapping 34 35 | Make Module | n8n Node | Notes | 36 |---|---|---| 37 | Custom Webhook | Webhook node | Receives POST, same URL to point Slack slash command | 38 | Webhook Respond (200 "Thinking...") | Respond to Webhook node | Must come before the HTTP Request to avoid Slack timeout | 39 | HTTP Request (Anthropic API) | HTTP Request node | POST to `https://api.anthropic.com/v1/messages` with `x-api-key` header | 40 | Slack Create Message | Slack node | Send Message (to channel or as thread reply) | 41 42 --- 43 44 ## Key Details 45 46 - This is a Slack-integrated AI bot powered by Claude 47 - The async pattern (immediate 200 + later Slack message) is critical — Slack requires response within 3s 48 - Anthropic API call: `POST https://api.anthropic.com/v1/messages` with headers `anthropic-version: 2023-06-01` and `x-api-key: {key}` 49 - Model: `claude-sonnet-4-6` 50 - The system prompt defines "Colt's AI Chief of Staff" — retrieve this from the Make blueprint or Anthropic API call config before migrating 51 - **Consideration:** This scenario could be replaced/enhanced by a native Claude Code + Slack MCP integration (no n8n needed), per existing architecture preference 52 53 --- 54 55 ## Migration Checklist 56 57 - [ ] Export blueprint to retrieve full system prompt text 58 - [ ] Add Anthropic API key as credential in n8n 59 - [ ] Recreate Slack credential in n8n 60 - [ ] Build workflow: Webhook → Respond to Webhook → HTTP Request (Claude API) → Slack 61 - [ ] Confirm async pattern works (Slack doesn't time out) 62 - [ ] Test end-to-end with sample prompt 63 - [ ] Update Slack slash command URL to n8n webhook endpoint 64 - [ ] Confirm Claude response appears in correct Slack channel 65 - [ ] Mark active in n8n, deactivate Make scenario