TopRank Skills

Home / Claw Skills / API Integration / Sales Bot
Official OpenClaw rules 36%

Sales Bot

Lead Inbox Automator

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Sales Bot 技能。 若已安装,则直接安装 Sales Bot 技能。

Overview

Skill Key
big-roman123/sales-bot
Author
big-roman123
Source Repo
openclaw/skills
Version
-
Source Path
skills/big-roman123/sales-bot
Latest Commit SHA
c22d62ee348a0d1d623337f176c14297671c70cf

Extracted Content

SKILL.md excerpt

# 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:...

README excerpt

# Lead Inbox Automator - Clawd Skill

Central Lead Management mit automatischer Erstreaktion. Speichert Leads in Supabase, triggert Make.com Automation für Auto-Reply Emails.

## Features

- **Lead Capture**: Erfasse Leads aus Clawd-Konversationen
- **Auto-Reply Automation**: Integriert mit Make.com für automatische Antworten
- **Status Tracking**: new → replied → qualified → won/lost
- **Multi-Org Support**: Datenisolation via RLS
- **Konversationsverlauf**: Vollständige Kommunikationshistorie
- **Deduplication**: Automatische Erkennung von Duplikaten (24h)

## Installation

```bash
npx clawdhub install lead-inbox-automator
```

## Konfiguration

Benötigte Umgebungsvariablen:

```bash
SUPABASE_URL=https://dein-projekt.supabase.co
SUPABASE_SERVICE_ROLE_KEY=eyJ...  # Service Role, nicht Anon Key!
ORG_ID=550e8400-e29b-41d4-a716-446655440000  # Deine Org UUID
```

## Schnellstart

```typescript
import LeadSkill from 'lead-inbox-automator'

const leadSystem = new LeadSkill({
  supabaseUrl: process.env.SUPABASE_URL,
  supabaseKey: process.env.SUPABASE_SERVICE_ROLE_KEY,
  orgId: process.env.ORG_ID,
  defaultPriority: 'high'
})

// 1. Lead aus Konversation erstellen
const result = await leadSystem.createLead({
  email: user.email,
  name: user.name,
  source: 'clawd_chat',
  custom_fields: {
    initial_request: user.message,
    product_interest: 'saas_basic'
  }
})

// 2. Status prüfen (nach 2 Minuten)
const status = await leadSystem.getAutomationStatus(result.lead_id)
if (!status.automation_ok) {
  console.error('Automation hat nicht getriggert!')
}

// 3. Lead qualifizieren
await leadSystem.updateStatus(result.lead_id, 'qualified', 'Kunde hat Budget bestätigt')
```

## Methoden

### createLead(input)
Erstellt neuen Lead und triggered Automation.

```typescript
const lead = await leadSystem.createLead({
  email: "max@firma.de",
  name: "Max Mustermann",
  phone: "+49 123 456",
  source: "landing_page",
  priority: "high",
  custom_fields: { campaign: "summer_2024" }
})...

Related Claw Skills