leadklick
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 7
- 参考文档_meta.json276 B
- 参考文档package.json489 B
- 参考文档README.md4.3 KB
- 参考文档schemas/conversation.json1.5 KB
- 参考文档schemas/lead.json2.2 KB
- 参考文档skill.json1.4 KB
- 脚本src/api.ts13.2 KB
03 SKILL.md 正文
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
{
"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 addressname(string, optional): Contact person namephone(string, optional): Phone numbersource(string, optional): Origin channel (default: "clawd_agent")priority(string, optional): "low", "medium", "high", "urgent"custom_fields(object, optional): Any additional data
Returns:
{
"success": true,
"lead_id": "uuid",
"status": "new",
"automation_triggered": true,
"message": "Lead captured. Auto-reply will be sent within 60 seconds."
}
Example:
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 statuspriority(string, optional): Filter by prioritylimit(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 UUIDstatus(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 UUIDcontent(string, required): Message textsubject(string, optional): Subject line
getAutomationStatus
Check if the auto-reply email was successfully sent.
Parameters:
leadId(string, required): Lead UUID
Returns:
{
"auto_reply_sent": true,
"minutes_since_creation": 2,
"automation_ok": true
}
Usage Flow
- Capture: When a user expresses interest, call
createLead() - Verify: After 60-120 seconds, call
getAutomationStatus()to confirm auto-reply - Qualify: During conversation, update status to "qualified" if interested
- 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.0
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.