ClawdBot: AI Sales Assistant for Slack
Turn Slack into your AI-powered sales command center. Research prospects, write emails, handle objections - all without leaving your workspace.
Instant Research
Ask ClawdBot to research any company or prospect. Get summaries in seconds.
Email Generation
Generate cold emails, follow-ups, and responses directly in Slack.
Objection Handling
Paste an objection, get a response using Chris Voss or other tonalities.
Deal Coaching
Ask for advice on stuck deals, negotiation tactics, or next steps.
Setup Guide
Create a Slack App
1. Go to api.slack.com/apps 2. Click "Create New App" → "From scratch" 3. Name it "ClawdBot" and select your workspace 4. Click "Create App"
Configure Bot Permissions
1. Go to "OAuth & Permissions" in the sidebar 2. Scroll to "Scopes" → "Bot Token Scopes" 3. Add these scopes: • app_mentions:read • chat:write • channels:history • groups:history • im:history • users:read
Enable Event Subscriptions
1. Go to "Event Subscriptions" in sidebar 2. Toggle "Enable Events" ON 3. Set Request URL to your server endpoint 4. Under "Subscribe to bot events" add: • app_mention • message.im
Install to Workspace
1. Go to "Install App" in sidebar 2. Click "Install to Workspace" 3. Authorize the permissions 4. Copy the "Bot User OAuth Token" (starts with xoxb-)
Set Up Your Server
Deploy the ClawdBot server code (below) to: • Vercel (serverless) • Railway • Your own VPS The server receives Slack events and calls Claude API.
Add Environment Variables
SLACK_BOT_TOKEN=xoxb-your-token SLACK_SIGNING_SECRET=your-signing-secret ANTHROPIC_API_KEY=your-claude-api-key
Server Code
// pages/api/slack/events.ts (Next.js example)
import { NextApiRequest, NextApiResponse } from 'next';
import Anthropic from '@anthropic-ai/sdk';
const anthropic = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
});
const SYSTEM_PROMPT = `You are ClawdBot, an AI sales assistant. You help sales teams with:
- Company and prospect research
- Writing cold emails and follow-ups
- Handling objections
- Deal strategy and coaching
Be concise. Use bullet points. Be actionable.
When writing emails, use the appropriate tonality (Hemingway for technical buyers, Chris Voss for negotiations, etc.).`;
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
// Verify Slack request (implement signature verification)
const { type, event } = req.body;
// Handle URL verification
if (type === 'url_verification') {
return res.json({ challenge: req.body.challenge });
}
// Handle mentions
if (event?.type === 'app_mention' || event?.type === 'message') {
const userMessage = event.text.replace(/<@[A-Z0-9]+>/g, '').trim();
// Call Claude
const response = await anthropic.messages.create({
model: 'claude-sonnet-4-20250514',
max_tokens: 1024,
system: SYSTEM_PROMPT,
messages: [{ role: 'user', content: userMessage }],
});
// Post response to Slack
await fetch('https://slack.com/api/chat.postMessage', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.SLACK_BOT_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
channel: event.channel,
text: response.content[0].text,
thread_ts: event.ts,
}),
});
}
res.status(200).end();
}This is a minimal example. For production, add proper error handling, rate limiting, and Slack signature verification.
Example Prompts
Company Research
@ClawdBot research Stripe. Give me 5 pain points I can use in outreach to their engineering team.
Cold Email
@ClawdBot write a cold email to the VP of Engineering at Datadog. Use Hemingway style. Hook: they just raised Series E.
Objection Response
@ClawdBot the prospect said "we built something in-house already." Help me respond using Chris Voss techniques.
Deal Strategy
@ClawdBot I have a $50k deal stuck at procurement for 3 weeks. Champion is VP Sales, blocker is CFO. What should I do?
Discovery Questions
@ClawdBot generate 5 SPIN questions for a discovery call with a fintech startup evaluating our payment API.
Pro Tips
Do
- • Give context (company, role, deal stage)
- • Specify the tonality you want
- • Ask for specific output formats
- • Create a #sales-ai channel for ClawdBot
Don't
- • Share sensitive customer data
- • Use for final customer communications
- • Forget to review before sending
- • Expect it to replace human judgment
Customize the System Prompt
Make ClawdBot smarter by customizing the system prompt with your company context:
const SYSTEM_PROMPT = `You are ClawdBot, the AI sales assistant for [YOUR COMPANY]. Our product: [DESCRIBE YOUR PRODUCT] Our ICP: [IDEAL CUSTOMER PROFILE] Our competitors: [LIST COMPETITORS] Our key differentiators: [WHAT MAKES YOU DIFFERENT] Tonalities available: - Hemingway: For technical buyers. Short sentences. Strong verbs. - Chris Voss: For negotiations. Tactical empathy. Calibrated questions. - Steve Jobs: For premium positioning. Brutally direct. - Jeff Bezos: For complex deals. Customer-obsessed narratives. When writing emails, always ask which tonality to use if not specified. When researching, focus on pain points relevant to our product. When coaching, consider our specific sales methodology.`;