Install
openclaw skills install sales-botClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Automate lead capture and tracking with Supabase storage and Make.com email workflows, managing conversations from new to qualified status.
openclaw skills install sales-botCapture leads into a centralized Supabase database with automatic Make.com email automation.
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".
{
"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.
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 dataReturns:
{
"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" }
});
Retrieve lead details including full conversation history.
Parameters:
id (string, required): Lead UUIDReturns: Lead object with conversations array and reply_pending boolean.
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 filterReturns: Array of leads and total count.
Update lead lifecycle status.
Parameters:
id (string, required): Lead UUIDstatus (string, required): "qualified", "won", "lost", etc.notes (string, optional): Qualification notesAdd a manual reply or note to the lead thread.
Parameters:
leadId (string, required): Lead UUIDcontent (string, required): Message textsubject (string, optional): Subject lineCheck if the auto-reply email was successfully sent.
Parameters:
leadId (string, required): Lead UUIDReturns:
{
"auto_reply_sent": true,
"minutes_since_creation": 2,
"automation_ok": true
}
createLead()getAutomationStatus() to confirm auto-replyaddConversation() to store your agent responsesCommon errors:
Leads table:
Conversations table:
lead, crm, sales, automation, email, supabase
1.0.0