Lead Inbox Automator
Capture leads into a centralized Supabase database with automatic Make.com email automation.
Best use case
Lead Inbox Automator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Capture leads into a centralized Supabase database with automatic Make.com email automation.
Teams using Lead Inbox Automator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/sales-bot/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Lead Inbox Automator Compares
| Feature / Agent | Lead Inbox Automator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Capture leads into a centralized Supabase database with automatic Make.com email automation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Lead Inbox Automator
Capture leads into a centralized Supabase database with automatic Make.com email automation.
## Description
This skill provides a complete lead management system for Clawd agents. It stores leads in Supabase, triggers Make.com webhooks for auto-reply emails, and tracks the full conversation lifecycle from "new" to "qualified".
## Configuration
```json
{
"supabaseUrl": "https://your-project.supabase.co",
"supabaseKey": "eyJ...your-service-role-key",
"orgId": "550e8400-e29b-41d4-a716-446655440000",
"defaultPriority": "medium"
}
```
**Important:** Use the Service Role Key, not the Anon Key, for full database access.
## Actions
### createLead
Create a new lead and automatically trigger the automation workflow.
**Parameters:**
- `email` (string, required): Contact email address
- `name` (string, optional): Contact person name
- `phone` (string, optional): Phone number
- `source` (string, optional): Origin channel (default: "clawd_agent")
- `priority` (string, optional): "low", "medium", "high", "urgent"
- `custom_fields` (object, optional): Any additional data
**Returns:**
```json
{
"success": true,
"lead_id": "uuid",
"status": "new",
"automation_triggered": true,
"message": "Lead captured. Auto-reply will be sent within 60 seconds."
}
```
**Example:**
```typescript
const result = await skill.createLead({
email: "customer@example.com",
name: "Max Mustermann",
source: "chat_bot",
custom_fields: { product: "saas_basic" }
});
```
### getLead
Retrieve lead details including full conversation history.
**Parameters:**
- `id` (string, required): Lead UUID
**Returns:** Lead object with `conversations` array and `reply_pending` boolean.
### listLeads
List leads with filtering options.
**Parameters:**
- `status` (string, optional): Filter by status
- `priority` (string, optional): Filter by priority
- `limit` (number, optional): Max results (default: 50)
- `dateFrom` (string, optional): ISO date filter
**Returns:** Array of leads and total count.
### updateStatus
Update lead lifecycle status.
**Parameters:**
- `id` (string, required): Lead UUID
- `status` (string, required): "qualified", "won", "lost", etc.
- `notes` (string, optional): Qualification notes
### addConversation
Add a manual reply or note to the lead thread.
**Parameters:**
- `leadId` (string, required): Lead UUID
- `content` (string, required): Message text
- `subject` (string, optional): Subject line
### getAutomationStatus
Check if the auto-reply email was successfully sent.
**Parameters:**
- `leadId` (string, required): Lead UUID
**Returns:**
```json
{
"auto_reply_sent": true,
"minutes_since_creation": 2,
"automation_ok": true
}
```
## Usage Flow
1. **Capture:** When a user expresses interest, call `createLead()`
2. **Verify:** After 60-120 seconds, call `getAutomationStatus()` to confirm auto-reply
3. **Qualify:** During conversation, update status to "qualified" if interested
4. **Log:** Use `addConversation()` to store your agent responses
## Error Handling
Common errors:
- Invalid email format
- Duplicate lead (within 24h)
- Missing Supabase credentials
- Automation timeout (>5min without reply)
## Schema
Leads table:
- id, email, name, phone, source, status, priority
- custom_fields (JSON), metadata (JSON)
- first_reply_sent_at, created_at
Conversations table:
- id, lead_id, direction (inbound/outbound/automated)
- content, subject, channel, sent_at
## Tags
lead, crm, sales, automation, email, supabase
## Version
1.0.0Related Skills
apify-lead-generation
Generates B2B/B2C leads by scraping Google Maps, websites, Instagram, TikTok, Facebook, LinkedIn, YouTube, and Google Search. Use when user asks to find leads, prospects, businesses, build lead lists, enrich contacts, or scrape profiles for sales outreach.
ahc-automator
Custom automation workflows for Alan Harper Composites.
ai-lead-generator-skill
Generate qualified B2B leads for any industry using AI-powered research and LinkedIn/Apollo integration.
linkedin-lead-gen
Search for, research, and verify non-tech founders on LinkedIn to identify high-value prospects for technology services (Web Dev, ERP, CRM, App Dev, SEO, AI). Generates professional PDF reports. Use when asked to find potential clients or leads.
lead-hunter
Automated lead generation + enrichment for AI agents. Find prospects, enrich with emails/socials/company data, score & prioritize. Your agent builds pipeline while you sleep.
linkedin-inbox
LinkedIn inbox management with scheduled scanning, auto-draft responses following user's communication style, and approval workflows. Use when monitoring LinkedIn messages, drafting replies, managing inbox during off-hours, or setting up morning ping summaries of LinkedIn activity.
agent-email-inbox
Use when setting up an email inbox for an AI agent (Moltbot, Clawdbot, or similar) - configuring inbound email, webhooks, tunneling for local development, and implementing security measures to prevent prompt injection attacks.
lead-enrichment
Turn a name into a full dossier in seconds.
lead-generation
Lead Generation — Find high-intent buyers in live Twitter, Instagram, and Reddit conversations.
photoshop-automator
Professional Adobe Photoshop automation via COM/ExtendScript bridge.
adobe-automator
Universal Adobe application automation via ExtendScript bridge.
paylock
Non-custodial SOL escrow for AI agent deals.