@twentyhq/people-data-labs 1.0.9 → 1.1.0
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/README.md +8 -0
- package/manifest.json +52 -35
- package/package.json +3 -3
- package/src/front-components/enrich-companies-component-effect.mjs +51 -17
- package/src/front-components/enrich-companies-component-effect.mjs.map +4 -4
- package/src/front-components/enrich-people-component-effect.mjs +51 -17
- package/src/front-components/enrich-people-component-effect.mjs.map +4 -4
- package/src/logic-functions/enrich-companies.function.mjs +2900 -53
- package/src/logic-functions/enrich-companies.function.mjs.map +4 -4
- package/src/logic-functions/enrich-companies.function.ts +4 -0
- package/src/logic-functions/enrich-company.function.mjs +2900 -53
- package/src/logic-functions/enrich-company.function.mjs.map +4 -4
- package/src/logic-functions/enrich-company.function.ts +4 -0
- package/src/logic-functions/enrich-people.function.mjs +2900 -53
- package/src/logic-functions/enrich-people.function.mjs.map +4 -4
- package/src/logic-functions/enrich-people.function.ts +4 -0
- package/src/logic-functions/enrich-person.function.mjs +2900 -53
- package/src/logic-functions/enrich-person.function.mjs.map +4 -4
- package/src/logic-functions/enrich-person.function.ts +4 -0
- package/src/logic-functions/post-install.function.mjs +0 -48
- package/src/logic-functions/post-install.function.mjs.map +0 -7
- package/src/logic-functions/post-install.function.ts +0 -17
package/README.md
CHANGED
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
- **Run it anywhere** — from the command menu, as a workflow step, or straight from AI chat
|
|
9
9
|
- **Smart matching** — finds the right profile from a LinkedIn, email, or domain, and only writes confident matches
|
|
10
10
|
|
|
11
|
+
## Enrichment defaults
|
|
12
|
+
|
|
13
|
+
Configure `PDL_PERSON_MIN_LIKELIHOOD` and `PDL_COMPANY_MIN_LIKELIHOOD` in the app's server variables to set the default minimum likelihood for people and companies. Each accepts an integer from 1 to 10.
|
|
14
|
+
|
|
15
|
+
Command menu items use these defaults. Single-record and bulk workflow nodes use them when their minimum likelihood input is empty; an explicit workflow value takes precedence.
|
|
16
|
+
|
|
17
|
+
When a variable is unset, enrichment uses the existing thresholds: 2 for strong identifiers (PDL ID, LinkedIn, email, or company domain) and 6 for name-based matches.
|
|
18
|
+
|
|
11
19
|
## 💳 Billing
|
|
12
20
|
|
|
13
21
|
Pay only for matches, in Twenty credits — **not found and skipped records are free.**
|
package/manifest.json
CHANGED
|
@@ -3,29 +3,37 @@
|
|
|
3
3
|
"universalIdentifier": "4a1178c1-3535-4a47-b592-231d3216b36f",
|
|
4
4
|
"displayName": "People Data Labs",
|
|
5
5
|
"description": "Enrich People and Companies with People Data Labs data.",
|
|
6
|
+
"logo": "public/people-data-labs-icon.png",
|
|
6
7
|
"category": "Enrichment",
|
|
7
8
|
"author": "Twenty",
|
|
9
|
+
"galleryImages": [
|
|
10
|
+
"public/gallery/cover.png"
|
|
11
|
+
],
|
|
12
|
+
"billing": {
|
|
13
|
+
"description": "$0.336 per person match and $0.12 per company match. Not found and skipped records are free. Billed to your Twenty credits."
|
|
14
|
+
},
|
|
8
15
|
"serverVariables": {
|
|
9
16
|
"PDL_API_KEY": {
|
|
10
17
|
"description": "People Data Labs API key",
|
|
11
18
|
"isSecret": true,
|
|
12
19
|
"isRequired": true
|
|
20
|
+
},
|
|
21
|
+
"PDL_PERSON_MIN_LIKELIHOOD": {
|
|
22
|
+
"description": "Default minimum likelihood (1-10) for people enrichment. Used by command menu items and workflow nodes without an explicit minimum likelihood. When unset, uses 2 for strong identifiers and 6 for name-based matches.",
|
|
23
|
+
"type": "NUMBER",
|
|
24
|
+
"isSecret": false
|
|
25
|
+
},
|
|
26
|
+
"PDL_COMPANY_MIN_LIKELIHOOD": {
|
|
27
|
+
"description": "Default minimum likelihood (1-10) for company enrichment. Used by command menu items and workflow nodes without an explicit minimum likelihood. When unset, uses 2 for strong identifiers and 6 for name-based matches.",
|
|
28
|
+
"type": "NUMBER",
|
|
29
|
+
"isSecret": false
|
|
13
30
|
}
|
|
14
31
|
},
|
|
15
|
-
"logo": "public/people-data-labs-icon.png",
|
|
16
|
-
"galleryImages": [
|
|
17
|
-
"public/gallery/cover.png"
|
|
18
|
-
],
|
|
19
32
|
"defaultRoleUniversalIdentifier": "abb2aa9f-8e9c-4e8b-a336-f864ee78b7cd",
|
|
20
|
-
"aboutDescription": "# People Data Labs\n\n**Turn a name into a full profile — enrich any Person or Company in one click.**\n\n## ✨ What you get\n\n- **+30 rich data fields** per Person and Company — seniority, skills, firmographics, funding, socials & more\n- **Run it anywhere** — from the command menu, as a workflow step, or straight from AI chat\n- **Smart matching** — finds the right profile from a LinkedIn, email, or domain, and only writes confident matches\n\n## 💳 Billing\n\nPay only for matches, in Twenty credits — **not found and skipped records are free.**\n\n- **Person match:** $0.336\n- **Company match:** $0.12\n",
|
|
21
|
-
"yarnLockChecksum": "
|
|
22
|
-
"packageJsonChecksum": "
|
|
23
|
-
"requiredServerVersionRange": ">=2.23.0"
|
|
24
|
-
"postInstallLogicFunction": {
|
|
25
|
-
"universalIdentifier": "9de46f15-05ec-4314-84c1-b9919b545269",
|
|
26
|
-
"shouldRunOnVersionUpgrade": false,
|
|
27
|
-
"shouldRunSynchronously": true
|
|
28
|
-
}
|
|
33
|
+
"aboutDescription": "# People Data Labs\n\n**Turn a name into a full profile — enrich any Person or Company in one click.**\n\n## ✨ What you get\n\n- **+30 rich data fields** per Person and Company — seniority, skills, firmographics, funding, socials & more\n- **Run it anywhere** — from the command menu, as a workflow step, or straight from AI chat\n- **Smart matching** — finds the right profile from a LinkedIn, email, or domain, and only writes confident matches\n\n## Enrichment defaults\n\nConfigure `PDL_PERSON_MIN_LIKELIHOOD` and `PDL_COMPANY_MIN_LIKELIHOOD` in the app's server variables to set the default minimum likelihood for people and companies. Each accepts an integer from 1 to 10.\n\nCommand menu items use these defaults. Single-record and bulk workflow nodes use them when their minimum likelihood input is empty; an explicit workflow value takes precedence.\n\nWhen a variable is unset, enrichment uses the existing thresholds: 2 for strong identifiers (PDL ID, LinkedIn, email, or company domain) and 6 for name-based matches.\n\n## 💳 Billing\n\nPay only for matches, in Twenty credits — **not found and skipped records are free.**\n\n- **Person match:** $0.336\n- **Company match:** $0.12\n",
|
|
34
|
+
"yarnLockChecksum": "4a315a6ee7fafc81096817b8ebfb1ff1",
|
|
35
|
+
"packageJsonChecksum": "698d5616f8b5cd991b50f0a945980e11",
|
|
36
|
+
"requiredServerVersionRange": ">=2.23.0"
|
|
29
37
|
},
|
|
30
38
|
"objects": [],
|
|
31
39
|
"fields": [
|
|
@@ -10383,7 +10391,7 @@
|
|
|
10383
10391
|
"canUpdateObjectRecords": true,
|
|
10384
10392
|
"canSoftDeleteObjectRecords": false,
|
|
10385
10393
|
"canDestroyObjectRecords": false,
|
|
10386
|
-
"universalIdentifier": "
|
|
10394
|
+
"universalIdentifier": "59a573ec-cd5d-5f3d-a0f4-0625e8439e48"
|
|
10387
10395
|
},
|
|
10388
10396
|
{
|
|
10389
10397
|
"objectUniversalIdentifier": "20202020-b374-4779-a561-80086cb2e17f",
|
|
@@ -10391,7 +10399,7 @@
|
|
|
10391
10399
|
"canUpdateObjectRecords": true,
|
|
10392
10400
|
"canSoftDeleteObjectRecords": false,
|
|
10393
10401
|
"canDestroyObjectRecords": false,
|
|
10394
|
-
"universalIdentifier": "
|
|
10402
|
+
"universalIdentifier": "ed536791-d39e-50af-9c39-79fb0ff9cb65"
|
|
10395
10403
|
}
|
|
10396
10404
|
],
|
|
10397
10405
|
"fieldPermissions": [],
|
|
@@ -10431,6 +10439,10 @@
|
|
|
10431
10439
|
"Yes and don't overwrite",
|
|
10432
10440
|
"No"
|
|
10433
10441
|
]
|
|
10442
|
+
},
|
|
10443
|
+
"minLikelihood": {
|
|
10444
|
+
"type": "number",
|
|
10445
|
+
"label": "Minimum likelihood (1-10)"
|
|
10434
10446
|
}
|
|
10435
10447
|
}
|
|
10436
10448
|
}
|
|
@@ -10497,7 +10509,7 @@
|
|
|
10497
10509
|
"handlerName": "default.config.handler",
|
|
10498
10510
|
"sourceHandlerPath": "src/logic-functions/enrich-company.function.ts",
|
|
10499
10511
|
"builtHandlerPath": "src/logic-functions/enrich-company.function.mjs",
|
|
10500
|
-
"builtHandlerChecksum": "
|
|
10512
|
+
"builtHandlerChecksum": "ba4a8a7b8f9bdf390239bb883cf995f4"
|
|
10501
10513
|
},
|
|
10502
10514
|
{
|
|
10503
10515
|
"universalIdentifier": "65356a82-6734-4fc9-8172-7d30ed1b7859",
|
|
@@ -10529,6 +10541,10 @@
|
|
|
10529
10541
|
"Yes and don't overwrite",
|
|
10530
10542
|
"No"
|
|
10531
10543
|
]
|
|
10544
|
+
},
|
|
10545
|
+
"minLikelihood": {
|
|
10546
|
+
"type": "number",
|
|
10547
|
+
"label": "Minimum likelihood (1-10)"
|
|
10532
10548
|
}
|
|
10533
10549
|
}
|
|
10534
10550
|
}
|
|
@@ -10604,7 +10620,7 @@
|
|
|
10604
10620
|
"handlerName": "default.config.handler",
|
|
10605
10621
|
"sourceHandlerPath": "src/logic-functions/enrich-people.function.ts",
|
|
10606
10622
|
"builtHandlerPath": "src/logic-functions/enrich-people.function.mjs",
|
|
10607
|
-
"builtHandlerChecksum": "
|
|
10623
|
+
"builtHandlerChecksum": "4c927f374b41d987849478d39ce3c5fe"
|
|
10608
10624
|
},
|
|
10609
10625
|
{
|
|
10610
10626
|
"universalIdentifier": "864ad69b-ff9f-4635-9aed-16fd0c2ad210",
|
|
@@ -10631,6 +10647,10 @@
|
|
|
10631
10647
|
"Yes and don't overwrite",
|
|
10632
10648
|
"No"
|
|
10633
10649
|
]
|
|
10650
|
+
},
|
|
10651
|
+
"minLikelihood": {
|
|
10652
|
+
"type": "number",
|
|
10653
|
+
"label": "Minimum likelihood (1-10)"
|
|
10634
10654
|
}
|
|
10635
10655
|
}
|
|
10636
10656
|
}
|
|
@@ -10697,18 +10717,7 @@
|
|
|
10697
10717
|
"handlerName": "default.config.handler",
|
|
10698
10718
|
"sourceHandlerPath": "src/logic-functions/enrich-person.function.ts",
|
|
10699
10719
|
"builtHandlerPath": "src/logic-functions/enrich-person.function.mjs",
|
|
10700
|
-
"builtHandlerChecksum": "
|
|
10701
|
-
},
|
|
10702
|
-
{
|
|
10703
|
-
"universalIdentifier": "9de46f15-05ec-4314-84c1-b9919b545269",
|
|
10704
|
-
"name": "post-install",
|
|
10705
|
-
"description": "Post-install hook for the People Data Labs app (workflow seeding is not currently wired up).",
|
|
10706
|
-
"timeoutSeconds": 30,
|
|
10707
|
-
"shouldRunSynchronously": true,
|
|
10708
|
-
"handlerName": "default.config.handler",
|
|
10709
|
-
"sourceHandlerPath": "src/logic-functions/post-install.function.ts",
|
|
10710
|
-
"builtHandlerPath": "src/logic-functions/post-install.function.mjs",
|
|
10711
|
-
"builtHandlerChecksum": "26d16b379f91179d1a56c518eb690d4c"
|
|
10720
|
+
"builtHandlerChecksum": "bfb9b5574e647e637ff0240680fd9e0d"
|
|
10712
10721
|
},
|
|
10713
10722
|
{
|
|
10714
10723
|
"universalIdentifier": "c769fb49-d495-469f-a58f-1a69ab90ec24",
|
|
@@ -10740,6 +10749,10 @@
|
|
|
10740
10749
|
"Yes and don't overwrite",
|
|
10741
10750
|
"No"
|
|
10742
10751
|
]
|
|
10752
|
+
},
|
|
10753
|
+
"minLikelihood": {
|
|
10754
|
+
"type": "number",
|
|
10755
|
+
"label": "Minimum likelihood (1-10)"
|
|
10743
10756
|
}
|
|
10744
10757
|
}
|
|
10745
10758
|
}
|
|
@@ -10815,7 +10828,7 @@
|
|
|
10815
10828
|
"handlerName": "default.config.handler",
|
|
10816
10829
|
"sourceHandlerPath": "src/logic-functions/enrich-companies.function.ts",
|
|
10817
10830
|
"builtHandlerPath": "src/logic-functions/enrich-companies.function.mjs",
|
|
10818
|
-
"builtHandlerChecksum": "
|
|
10831
|
+
"builtHandlerChecksum": "f8d14dd28f46e01d3bd82bf3a3a5284f"
|
|
10819
10832
|
}
|
|
10820
10833
|
],
|
|
10821
10834
|
"frontComponents": [
|
|
@@ -10827,7 +10840,7 @@
|
|
|
10827
10840
|
"componentName": "Enrich",
|
|
10828
10841
|
"sourceComponentPath": "src/front-components/enrich-companies-component-effect.tsx",
|
|
10829
10842
|
"builtComponentPath": "src/front-components/enrich-companies-component-effect.mjs",
|
|
10830
|
-
"builtComponentChecksum": "
|
|
10843
|
+
"builtComponentChecksum": "766a205899430c0d6833b3a9870661c5007916c1d4547c2bba798c65f9bb8153",
|
|
10831
10844
|
"usesSdkClient": false
|
|
10832
10845
|
},
|
|
10833
10846
|
{
|
|
@@ -10838,7 +10851,7 @@
|
|
|
10838
10851
|
"componentName": "Enrich",
|
|
10839
10852
|
"sourceComponentPath": "src/front-components/enrich-people-component-effect.tsx",
|
|
10840
10853
|
"builtComponentPath": "src/front-components/enrich-people-component-effect.mjs",
|
|
10841
|
-
"builtComponentChecksum": "
|
|
10854
|
+
"builtComponentChecksum": "75c38c0a4bc3c188a68be810fd15295bfd6f1438eded3611a8e13cd2c3a24cf5",
|
|
10842
10855
|
"usesSdkClient": false
|
|
10843
10856
|
}
|
|
10844
10857
|
],
|
|
@@ -11486,20 +11499,24 @@
|
|
|
11486
11499
|
"navigationMenuItems": [],
|
|
11487
11500
|
"pageLayouts": [],
|
|
11488
11501
|
"pageLayoutTabs": [],
|
|
11502
|
+
"pageLayoutWidgets": [],
|
|
11489
11503
|
"commandMenuItems": [
|
|
11490
11504
|
{
|
|
11491
11505
|
"universalIdentifier": "86b3427b-9e86-4077-ba7b-07609b2d095b",
|
|
11492
11506
|
"availabilityObjectUniversalIdentifier": "20202020-e674-48e5-a542-72570eee7213",
|
|
11493
11507
|
"frontComponentUniversalIdentifier": "3f9af38b-be42-4dc8-89cc-e37566d3aecb",
|
|
11494
11508
|
"label": "Enrich people",
|
|
11495
|
-
"availabilityType": "RECORD_SELECTION"
|
|
11509
|
+
"availabilityType": "RECORD_SELECTION",
|
|
11510
|
+
"conditionalAvailabilityExpression": "not isSelectAll"
|
|
11496
11511
|
},
|
|
11497
11512
|
{
|
|
11498
11513
|
"universalIdentifier": "df33eaa8-51eb-40c4-8b6c-aceeea4d8fcc",
|
|
11499
11514
|
"availabilityObjectUniversalIdentifier": "20202020-b374-4779-a561-80086cb2e17f",
|
|
11500
11515
|
"frontComponentUniversalIdentifier": "1061d505-6748-48c1-96e9-5dbf6fef6561",
|
|
11501
11516
|
"label": "Enrich companies",
|
|
11502
|
-
"availabilityType": "RECORD_SELECTION"
|
|
11517
|
+
"availabilityType": "RECORD_SELECTION",
|
|
11518
|
+
"conditionalAvailabilityExpression": "not isSelectAll"
|
|
11503
11519
|
}
|
|
11504
|
-
]
|
|
11520
|
+
],
|
|
11521
|
+
"timelineActivityTypes": []
|
|
11505
11522
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twentyhq/people-data-labs",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "People Data Labs enrichment app for Twenty",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"oxlint": "^0.16.0",
|
|
30
30
|
"react": "^19.2.0",
|
|
31
31
|
"react-dom": "^19.2.0",
|
|
32
|
-
"twenty-client-sdk": "2.
|
|
33
|
-
"twenty-sdk": "2.
|
|
32
|
+
"twenty-client-sdk": "^2.41.0",
|
|
33
|
+
"twenty-sdk": "^2.41.0",
|
|
34
34
|
"typescript": "^5.9.3",
|
|
35
35
|
"vite-tsconfig-paths": "^4.2.1",
|
|
36
36
|
"vitest": "^4.0.0"
|