n8n-nodes-apivault-whatsapp-validator 0.2.0 → 0.2.1
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 +4 -0
- package/examples/quickstart-workflow.json +94 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -20,6 +20,10 @@ Create an **Apify API** credential in n8n and paste your personal token from [Ap
|
|
|
20
20
|
|
|
21
21
|
Add **WhatsApp Number Validator** to a workflow, fill the public Actor inputs below, and execute the node. Every Dataset result becomes one n8n item, so it can flow into Sheets, databases, CRMs, alerts or your own code. The node respects n8n's **Continue On Fail** behavior.
|
|
22
22
|
|
|
23
|
+
## Ready-to-import workflow
|
|
24
|
+
|
|
25
|
+
Import [`examples/quickstart-workflow.json`](examples/quickstart-workflow.json), select your Apify API credential in the Actor node, replace the sample business inputs and run it. The workflow returns destination-ready rows without exposing Actor internals.
|
|
26
|
+
|
|
23
27
|
| Input | Type | Description |
|
|
24
28
|
|---|---|---|
|
|
25
29
|
| `workflow` | `string` | Choose how numbers are supplied. Auto merges both input fields and preserves existing API behavior. |
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "a87fbe00-3c0e-5cc1-85a7-0b3c93d3869d",
|
|
3
|
+
"name": "WhatsApp Validator → Clean contacts",
|
|
4
|
+
"nodes": [
|
|
5
|
+
{
|
|
6
|
+
"parameters": {},
|
|
7
|
+
"id": "1506f6a5-857b-5713-83a6-7fe6727bb25a",
|
|
8
|
+
"name": "When clicking Execute workflow",
|
|
9
|
+
"type": "n8n-nodes-base.manualTrigger",
|
|
10
|
+
"typeVersion": 1,
|
|
11
|
+
"position": [
|
|
12
|
+
0,
|
|
13
|
+
120
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"parameters": {
|
|
18
|
+
"content": "## Setup\n1. Select your Apify API credential.\n2. Replace the sample number or map numbers from an earlier n8n node.\n3. The final output is normalized for a CRM or messaging workflow.",
|
|
19
|
+
"height": 260,
|
|
20
|
+
"width": 440
|
|
21
|
+
},
|
|
22
|
+
"id": "6d9f59ad-db0f-5b8d-a35e-1452884da8cb",
|
|
23
|
+
"name": "How to use this workflow",
|
|
24
|
+
"type": "n8n-nodes-base.stickyNote",
|
|
25
|
+
"typeVersion": 1,
|
|
26
|
+
"position": [
|
|
27
|
+
-40,
|
|
28
|
+
-220
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"parameters": {
|
|
33
|
+
"workflow": "list",
|
|
34
|
+
"phoneNumbers": "+12025550123",
|
|
35
|
+
"defaultCountry": "US",
|
|
36
|
+
"outputPreset": "full",
|
|
37
|
+
"exportFormat": "default"
|
|
38
|
+
},
|
|
39
|
+
"id": "7bbfc78e-3034-592e-b7bb-3bfb8686378d",
|
|
40
|
+
"name": "Validate contact list with Apify",
|
|
41
|
+
"type": "n8n-nodes-apivault-whatsapp-validator.whatsappValidator",
|
|
42
|
+
"typeVersion": 1,
|
|
43
|
+
"position": [
|
|
44
|
+
260,
|
|
45
|
+
120
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"parameters": {
|
|
50
|
+
"mode": "runOnceForEachItem",
|
|
51
|
+
"jsCode": "const j = $json; const registered = j.whatsapp === true || j.isWhatsappRegistered === true; return { json: { ...j, normalizedPhone: j.e164 ?? j.international ?? j.input ?? '', contactStatus: registered ? 'whatsapp_ready' : 'not_confirmed', crmReady: Boolean(j.isValid ?? j.valid ?? j.e164) } };"
|
|
52
|
+
},
|
|
53
|
+
"id": "7b838e4a-148a-5163-8146-a916da62ff06",
|
|
54
|
+
"name": "Prepare clean contact",
|
|
55
|
+
"type": "n8n-nodes-base.code",
|
|
56
|
+
"typeVersion": 2,
|
|
57
|
+
"position": [
|
|
58
|
+
560,
|
|
59
|
+
120
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"connections": {
|
|
64
|
+
"When clicking Execute workflow": {
|
|
65
|
+
"main": [
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
|
+
"node": "Validate contact list with Apify",
|
|
69
|
+
"type": "main",
|
|
70
|
+
"index": 0
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"Validate contact list with Apify": {
|
|
76
|
+
"main": [
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
|
+
"node": "Prepare clean contact",
|
|
80
|
+
"type": "main",
|
|
81
|
+
"index": 0
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"pinData": {},
|
|
88
|
+
"settings": {
|
|
89
|
+
"executionOrder": "v1"
|
|
90
|
+
},
|
|
91
|
+
"active": false,
|
|
92
|
+
"versionId": "345424b3-ae9c-5732-8554-64cf7ab9d54a",
|
|
93
|
+
"tags": []
|
|
94
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-apivault-whatsapp-validator",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "n8n community node for WhatsApp Number Validator — backed by the Apify Actor apivault_labs/whatsapp-number-validator. No login. Pay-as-you-go via Apify.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://apify.com/apivault_labs/whatsapp-number-validator",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"prepublishOnly": "npm run build"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
|
-
"dist"
|
|
31
|
+
"dist",
|
|
32
|
+
"examples"
|
|
32
33
|
],
|
|
33
34
|
"n8n": {
|
|
34
35
|
"n8nNodesApiVersion": 1,
|