File size: 2,620 Bytes
922ee82
 
 
59fb97a
922ee82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
license: mit
task_categories:
  - text-generation
  - text-classification
language:
  - en
  - ar
tags:
  - lead-generation
  - automation
  - whatsapp
  - meta
  - crm
  - saas
pretty_name: LeadPilot Automation Dataset
size_categories:
  - 1K<n<10K
---

# LeadPilot Automation Dataset

Companion dataset for the [LeadPilot HuggingFace Space](https://huggingface.co/spaces/ashrafkassem/LeadPilot).

LeadPilot is a multi-tenant SaaS automation platform for lead capture via WhatsApp and Meta
(Instagram DM, Messenger, Lead Ads), with Zoho CRM sync.

## Dataset Contents

### static/
Pre-seeded catalog data — does not change at runtime.

| File | Rows | Description |
|---|---|---|
| `static/templates.jsonl` | 12 | Automation flow templates (slug, name, category, platforms, builder_graph_json, variables) |
| `static/plans.jsonl` | 3 | Subscription plans (free/growth/enterprise) with module entitlements |

### dynamic/
User-generated operational data, exported daily at 02:00 UTC from the live app.
All PII fields are pseudonymized using SHA-256 truncated hashes before export.

| File | Description |
|---|---|
| `dynamic/workspaces.jsonl` | Workspace records (id, subscription_tier, created_at) |
| `dynamic/contacts.jsonl` | Pseudonymized contacts (hashed name, hashed external_id/zoho_id) |
| `dynamic/conversations.jsonl` | Conversation threads (ids, status, timestamps) |
| `dynamic/messages.jsonl` | Messages (content replaced with [REDACTED], content_length kept) |
| `dynamic/flows.jsonl` | Automation flows (name hashed, status, source_template_id) |
| `dynamic/executions.jsonl` | Flow execution instances (status, timing) |
| `dynamic/audit_logs.jsonl` | Admin audit trail (IPs/UAs stripped, actor/entity ids hashed) |
| `dynamic/meta.json` | Export metadata (exported_at, mode) |

## PII Handling

All personally identifiable information is removed or pseudonymized before export:

- `Contact.first_name`, `last_name`, `display_name` → SHA-256[:8] hex
- `Contact.external_id` (WhatsApp phone / Meta PSID) → SHA-256[:12] hex
- `Contact.zoho_lead_id` → SHA-256[:12] hex
- `Contact.additional_metadata` → replaced with `{}`
- `Message.content` → replaced with `"[REDACTED]"`, `content_length` field added
- `Message.additional_metadata` → replaced with `{}`
- `Flow.name` → SHA-256[:8] hex (may contain business names)
- `AdminAuditLog.ip_address`, `user_agent`, `error_message``null`
- `AdminAuditLog.actor_user_id`, `entity_id` → SHA-256[:12] hex

## Export Schedule

Updated daily at 02:00 UTC via Celery Beat.
Last export timestamp is in `dynamic/meta.json`.

## License

MIT