@kanvas/openclaw-plugin 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -23,7 +23,11 @@ Use the native `kanvas_update_lead` tool.
|
|
|
23
23
|
### 3. Updating Contacts (People)
|
|
24
24
|
Use the native `kanvas_update_people` tool.
|
|
25
25
|
- You can seamlessly append phone numbers, emails, and custom fields to a Contact profile.
|
|
26
|
-
- Pass the contacts array with the correct `contacts_types_id
|
|
26
|
+
- Pass the contacts array with the correct `contacts_types_id`. **Well-known IDs (use directly, no lookup needed):**
|
|
27
|
+
- `1` → Email
|
|
28
|
+
- `2` → Phone
|
|
29
|
+
- `3` → Cell Phone
|
|
30
|
+
- For any other contact type (LinkedIn, Twitter, etc.), call `kanvas_list_contact_types` to look up the ID.
|
|
27
31
|
|
|
28
32
|
### 4. File Attachments
|
|
29
33
|
Use the native tools:
|
|
@@ -69,9 +73,9 @@ When attaching a drafted cold email or pitch to a Lead profile for human review,
|
|
|
69
73
|
|
|
70
74
|
### 11. Apollo Integration & Contact Enrichment
|
|
71
75
|
When using Apollo API to source leads, always extract the following fields and map them to Kanvas:
|
|
72
|
-
- **Email:**
|
|
73
|
-
- **
|
|
74
|
-
- **
|
|
76
|
+
- **Email:** Map to `contacts: [{ value: email, contacts_types_id: 1 }]` — ID 1 is Email (well-known, no lookup needed).
|
|
77
|
+
- **Phone Numbers:** Apollo requires a webhook to reveal direct phone numbers. When available, map to `contacts_types_id: 2` (Phone) or `3` (Cell Phone).
|
|
78
|
+
- **LinkedIn Profile (Optional):** Look up the LinkedIn `contacts_types_id` via `kanvas_list_contact_types` (typically 5, but verify per app). Map to `contacts: [{ value: linkedin_url, contacts_types_id: <id> }]`. Do not fail or block lead creation if LinkedIn is missing.
|
|
75
79
|
|
|
76
80
|
### 12. White-Labeling & Value Communication
|
|
77
81
|
When communicating with the leadership team, founders, or human architects, NEVER mention the specific technical backend tools (e.g., Apollo, Kanvas, OpenClaw, GraphQL).
|