n8n-nodes-apivault-website-audit-leads 0.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ApiVault Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # Website Audit Leads for n8n
2
+
3
+ Turn audited website opportunities into a review-first prospecting workflow with
4
+ the hosted [Website Audit Leads Apify Actor](https://apify.com/apivault_labs/website-audit-leads).
5
+
6
+ The available audience currently exceeds **2.1 million successfully audited
7
+ websites** and continues to grow. Filter by SEO, speed, accessibility, security,
8
+ website structure, country, company profile, technology and available business
9
+ contacts.
10
+
11
+ This package is a thin Apify API connector. It contains no private data source,
12
+ scraper implementation, infrastructure settings or embedded credentials.
13
+
14
+ ## Recommended workflow
15
+
16
+ 1. Select **Preview audience size** to count a segment without paid lead rows.
17
+ 2. Switch to **Export leads** and start with the default 50 rows.
18
+ 3. Review the website weakness and business context before contacting anyone.
19
+ 4. Send approved rows to your CRM or spreadsheet.
20
+ 5. Run the same segment again later to discover newly added opportunities.
21
+
22
+ ## Setup
23
+
24
+ Install `n8n-nodes-apivault-website-audit-leads`, create an **Apify API**
25
+ credential, and paste your token from Apify Console → Settings → Integrations.
26
+
27
+ Import `examples/quickstart-workflow.json` for a ready-to-review workflow.
28
+
29
+ ## Output modes
30
+
31
+ - **Lead rows** returns each exported website as a separate n8n item.
32
+ - **Automation response** returns completion state, counts, segment health and a
33
+ copy-ready continuation input.
34
+ - Preview runs always return the automation response because they intentionally
35
+ create no paid lead Dataset rows.
36
+
37
+ ## Billing and responsible use
38
+
39
+ Preview mode creates no paid lead rows. Export mode is billed by delivered lead
40
+ according to the Actor's current Apify pricing; platform usage and a small start
41
+ charge may also apply. Review every lead and comply with applicable privacy,
42
+ marketing and anti-spam rules. Audit scores are prioritization signals, not a
43
+ guarantee or certification.
44
+
45
+ ## Security
46
+
47
+ The Apify token is stored by n8n credentials and sent only to `api.apify.com`.
48
+
49
+ ## License
50
+
51
+ MIT. Actor usage is billed separately on Apify.
@@ -0,0 +1,9 @@
1
+ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ApifyApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApifyApi = void 0;
4
+ class ApifyApi {
5
+ constructor() {
6
+ this.name = 'apifyApi';
7
+ this.displayName = 'Apify API';
8
+ this.documentationUrl = 'https://docs.apify.com/platform/integrations/api';
9
+ this.properties = [
10
+ {
11
+ displayName: 'API Token',
12
+ name: 'apiToken',
13
+ type: 'string',
14
+ typeOptions: { password: true },
15
+ default: '',
16
+ required: true,
17
+ description: 'Your personal Apify API token (Apify Console -> Settings -> Integrations).',
18
+ },
19
+ ];
20
+ this.authenticate = {
21
+ type: 'generic',
22
+ properties: { headers: { Authorization: '=Bearer {{$credentials.apiToken}}' } },
23
+ };
24
+ this.test = { request: { baseURL: 'https://api.apify.com/v2', url: '/users/me' } };
25
+ }
26
+ }
27
+ exports.ApifyApi = ApifyApi;
28
+ //# sourceMappingURL=ApifyApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApifyApi.credentials.js","sourceRoot":"","sources":["../../credentials/ApifyApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAClB,gBAAW,GAAG,WAAW,CAAC;QAC1B,qBAAgB,GAAG,kDAAkD,CAAC;QACtE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,4EAA4E;aACzF;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,aAAa,EAAE,mCAAmC,EAAE,EAAE;SAC/E,CAAC;QACF,SAAI,GAA2B,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,CAAC;IACvG,CAAC;CAAA;AApBD,4BAoBC"}
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class WebsiteAuditLeads implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,498 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebsiteAuditLeads = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const ACTOR_ID = 'apivault_labs~website-audit-leads';
6
+ class WebsiteAuditLeads {
7
+ constructor() {
8
+ this.description = {
9
+ displayName: "Website Audit Leads",
10
+ name: "websiteAuditLeads",
11
+ icon: 'file:websiteauditleads.svg',
12
+ group: ['transform'],
13
+ version: 1,
14
+ description: "Find WordPress websites that need SEO, security, speed or accessibility improvements. Export ready-to-contact leads with emails, phones, company details, technology stack and verified 0–100 audit scores. Filter by issue, score, country and industry. Pay only per delivered lead.",
15
+ defaults: { name: "Website Audit Leads" },
16
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
17
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
18
+ usableAsTool: true,
19
+ credentials: [{ name: 'apifyApi', required: true }],
20
+ properties: [
21
+ {
22
+ "displayName": "Run mode",
23
+ "name": "runMode",
24
+ "description": "Preview counts the full matching audience without paid lead rows. Export returns audited website leads.",
25
+ "type": "options",
26
+ "options": [
27
+ { "name": "Export Leads", "value": "export" },
28
+ { "name": "Preview Audience Size", "value": "preview" }
29
+ ],
30
+ "default": "export"
31
+ },
32
+ {
33
+ "displayName": "Return",
34
+ "name": "returnMode",
35
+ "description": "Preview always returns the automation response. For exports, choose lead rows for CRM workflows or the automation response for counts, status, and continuation input.",
36
+ "type": "options",
37
+ "options": [
38
+ { "name": "Lead Rows", "value": "rows" },
39
+ { "name": "Automation Response", "value": "automation" }
40
+ ],
41
+ "default": "rows"
42
+ },
43
+ {
44
+ "displayName": "Opportunity preset",
45
+ "name": "opportunityPreset",
46
+ "description": "Balanced finds generally weak sites. The specialist presets target one service line without silently applying the balanced Overall threshold.",
47
+ "type": "options",
48
+ "options": [
49
+ {
50
+ "name": "Balanced opportunities",
51
+ "value": "balanced"
52
+ },
53
+ {
54
+ "name": "Weak SEO",
55
+ "value": "seo"
56
+ },
57
+ {
58
+ "name": "Weak performance",
59
+ "value": "performance"
60
+ },
61
+ {
62
+ "name": "Weak security / best practices",
63
+ "value": "security"
64
+ },
65
+ {
66
+ "name": "Redesign candidates",
67
+ "value": "redesign"
68
+ },
69
+ {
70
+ "name": "All audited websites",
71
+ "value": "all"
72
+ }
73
+ ],
74
+ "default": "balanced"
75
+ },
76
+ {
77
+ "displayName": "Maximum overall score",
78
+ "name": "overallScoreMax",
79
+ "description": "Optional custom maximum. Leave empty to use the selected opportunity preset.",
80
+ "type": "number",
81
+ "default": 0,
82
+ "typeOptions": {
83
+ "minValue": 0,
84
+ "maxValue": 100
85
+ }
86
+ },
87
+ {
88
+ "displayName": "Minimum overall score",
89
+ "name": "overallScoreMin",
90
+ "description": "Optional lower boundary for the Overall Score.",
91
+ "type": "number",
92
+ "default": 0,
93
+ "typeOptions": {
94
+ "minValue": 0,
95
+ "maxValue": 100
96
+ }
97
+ },
98
+ {
99
+ "displayName": "Maximum SEO score",
100
+ "name": "seoScoreMax",
101
+ "description": "Optional: target weak on-page and technical SEO.",
102
+ "type": "number",
103
+ "default": 0,
104
+ "typeOptions": {
105
+ "minValue": 0,
106
+ "maxValue": 100
107
+ }
108
+ },
109
+ {
110
+ "displayName": "Maximum performance score",
111
+ "name": "performanceScoreMax",
112
+ "description": "Optional: target slow or inefficient websites.",
113
+ "type": "number",
114
+ "default": 0,
115
+ "typeOptions": {
116
+ "minValue": 0,
117
+ "maxValue": 100
118
+ }
119
+ },
120
+ {
121
+ "displayName": "Maximum security / best-practices score",
122
+ "name": "securityScoreMax",
123
+ "description": "Optional: target weak security and web best practices.",
124
+ "type": "number",
125
+ "default": 0,
126
+ "typeOptions": {
127
+ "minValue": 0,
128
+ "maxValue": 100
129
+ }
130
+ },
131
+ {
132
+ "displayName": "Maximum accessibility score",
133
+ "name": "accessibilityScoreMax",
134
+ "description": "Optional: target websites with accessibility weaknesses.",
135
+ "type": "number",
136
+ "default": 0,
137
+ "typeOptions": {
138
+ "minValue": 0,
139
+ "maxValue": 100
140
+ }
141
+ },
142
+ {
143
+ "displayName": "Recommended work scope",
144
+ "name": "auditScopes",
145
+ "description": "Choose one or more opportunity classes. Leave empty for every class matching the score filters. Enter one value per line or separate values with commas.",
146
+ "type": "string",
147
+ "typeOptions": {
148
+ "rows": 3
149
+ },
150
+ "default": ""
151
+ },
152
+ {
153
+ "displayName": "Specific audit problems",
154
+ "name": "auditIssues",
155
+ "description": "Target sites with specific detected weaknesses. Leave empty to include every issue type. Enter one value per line or separate values with commas.",
156
+ "type": "string",
157
+ "typeOptions": {
158
+ "rows": 3
159
+ },
160
+ "default": ""
161
+ },
162
+ {
163
+ "displayName": "Problem matching",
164
+ "name": "issueMatchMode",
165
+ "description": "Require any selected problem or every selected problem.",
166
+ "type": "options",
167
+ "options": [
168
+ {
169
+ "name": "Any selected problem",
170
+ "value": "any"
171
+ },
172
+ {
173
+ "name": "All selected problems",
174
+ "value": "all"
175
+ }
176
+ ],
177
+ "default": "any"
178
+ },
179
+ {
180
+ "displayName": "Audit confidence",
181
+ "name": "auditConfidence",
182
+ "description": "Optional confidence filter. Enter one value per line or separate values with commas.",
183
+ "type": "string",
184
+ "typeOptions": {
185
+ "rows": 3
186
+ },
187
+ "default": ""
188
+ },
189
+ {
190
+ "displayName": "Required contact data",
191
+ "name": "contactRequirement",
192
+ "description": "Choose the minimum contact data each returned lead must contain.",
193
+ "type": "options",
194
+ "options": [
195
+ {
196
+ "name": "Email required",
197
+ "value": "email"
198
+ },
199
+ {
200
+ "name": "Email or phone",
201
+ "value": "email_or_phone"
202
+ },
203
+ {
204
+ "name": "Email and phone",
205
+ "value": "both"
206
+ },
207
+ {
208
+ "name": "Phone required",
209
+ "value": "phone"
210
+ },
211
+ {
212
+ "name": "Any contact availability",
213
+ "value": "any"
214
+ }
215
+ ],
216
+ "default": "email"
217
+ },
218
+ {
219
+ "displayName": "Countries (ISO-2)",
220
+ "name": "country",
221
+ "description": "Examples: US, GB, DE. Leave empty for all countries. Enter one value per line or separate values with commas.",
222
+ "type": "string",
223
+ "typeOptions": {
224
+ "rows": 3
225
+ },
226
+ "default": ""
227
+ },
228
+ {
229
+ "displayName": "Industry / vertical",
230
+ "name": "vertical",
231
+ "description": "Optional industry text such as Fashion, Health or Technology.",
232
+ "type": "string",
233
+ "default": ""
234
+ },
235
+ {
236
+ "displayName": "Technologies used",
237
+ "name": "technologies",
238
+ "description": "Every entered technology must be present somewhere in the website stack. Examples: WooCommerce, HubSpot, Stripe. Enter one value per line or separate values with commas.",
239
+ "type": "string",
240
+ "typeOptions": {
241
+ "rows": 3
242
+ },
243
+ "default": ""
244
+ },
245
+ {
246
+ "displayName": "Only sites with detected AI technology",
247
+ "name": "hasAiTechnology",
248
+ "description": "Filters the existing AI technology field. This is not an AI-readiness score.",
249
+ "type": "boolean",
250
+ "default": false
251
+ },
252
+ {
253
+ "displayName": "Audited within the last N days",
254
+ "name": "checkedWithinDays",
255
+ "description": "Require a recent successful audit. Set 0 to include every audit date.",
256
+ "type": "number",
257
+ "default": 0,
258
+ "typeOptions": {
259
+ "minValue": 0,
260
+ "maxValue": 3650
261
+ }
262
+ },
263
+ {
264
+ "displayName": "Sort leads by",
265
+ "name": "sortBy",
266
+ "description": "Choose the field used to prioritize the globally merged lead list.",
267
+ "type": "options",
268
+ "options": [
269
+ {
270
+ "name": "Overall score",
271
+ "value": "Overall Score"
272
+ },
273
+ {
274
+ "name": "SEO score",
275
+ "value": "SEO"
276
+ },
277
+ {
278
+ "name": "Performance score",
279
+ "value": "Performance"
280
+ },
281
+ {
282
+ "name": "Security / best practices",
283
+ "value": "Best Practices"
284
+ },
285
+ {
286
+ "name": "Accessibility",
287
+ "value": "Accessibility"
288
+ },
289
+ {
290
+ "name": "Sales revenue",
291
+ "value": "Sales Revenue"
292
+ },
293
+ {
294
+ "name": "Employees",
295
+ "value": "Employees"
296
+ },
297
+ {
298
+ "name": "Technology spend",
299
+ "value": "Technology Spend"
300
+ },
301
+ {
302
+ "name": "Audit date",
303
+ "value": "Audit Checked At"
304
+ }
305
+ ],
306
+ "default": "Overall Score"
307
+ },
308
+ {
309
+ "displayName": "Highest values first",
310
+ "name": "sortDesc",
311
+ "description": "Keep off to show the weakest audit scores first.",
312
+ "type": "boolean",
313
+ "default": false
314
+ },
315
+ {
316
+ "displayName": "Maximum leads",
317
+ "name": "maxItems",
318
+ "description": "Maximum number of website lead rows returned in this run.",
319
+ "type": "number",
320
+ "default": 50,
321
+ "typeOptions": {
322
+ "minValue": 1,
323
+ "maxValue": 50000
324
+ }
325
+ },
326
+ {
327
+ "displayName": "Offset",
328
+ "name": "offset",
329
+ "description": "Skip the first N matching unique websites for pagination.",
330
+ "type": "number",
331
+ "default": 0,
332
+ "typeOptions": {
333
+ "minValue": 0,
334
+ "maxValue": 50000
335
+ }
336
+ },
337
+ {
338
+ "displayName": "Remove duplicate domains",
339
+ "name": "dedupeByDomain",
340
+ "description": "Return each normalized root domain only once across all data segments.",
341
+ "type": "boolean",
342
+ "default": true
343
+ },
344
+ {
345
+ "displayName": "Output columns",
346
+ "name": "columns",
347
+ "description": "Leave empty for the recommended audit, contact, company and technology fields. Enter one value per line or separate values with commas.",
348
+ "type": "string",
349
+ "typeOptions": {
350
+ "rows": 3
351
+ },
352
+ "default": ""
353
+ },
354
+ ],
355
+ };
356
+ }
357
+ async execute() {
358
+ var _a, _b, _c, _d;
359
+ const items = this.getInputData();
360
+ const returnData = [];
361
+ for (let i = 0; i < items.length; i++) {
362
+ try {
363
+ const body = {};
364
+ const runMode = this.getNodeParameter("runMode", i);
365
+ const returnMode = this.getNodeParameter("returnMode", i);
366
+ body["runMode"] = runMode;
367
+ body["opportunityPreset"] = this.getNodeParameter("opportunityPreset", i);
368
+ {
369
+ const value = this.getNodeParameter("overallScoreMax", i, 0);
370
+ if (value !== 0)
371
+ body["overallScoreMax"] = value;
372
+ }
373
+ {
374
+ const value = this.getNodeParameter("overallScoreMin", i, 0);
375
+ if (value !== 0)
376
+ body["overallScoreMin"] = value;
377
+ }
378
+ {
379
+ const value = this.getNodeParameter("seoScoreMax", i, 0);
380
+ if (value !== 0)
381
+ body["seoScoreMax"] = value;
382
+ }
383
+ {
384
+ const value = this.getNodeParameter("performanceScoreMax", i, 0);
385
+ if (value !== 0)
386
+ body["performanceScoreMax"] = value;
387
+ }
388
+ {
389
+ const value = this.getNodeParameter("securityScoreMax", i, 0);
390
+ if (value !== 0)
391
+ body["securityScoreMax"] = value;
392
+ }
393
+ {
394
+ const value = this.getNodeParameter("accessibilityScoreMax", i, 0);
395
+ if (value !== 0)
396
+ body["accessibilityScoreMax"] = value;
397
+ }
398
+ {
399
+ const value = this.getNodeParameter("auditScopes", i, '');
400
+ const values = value.split(/[,\n]/).map((entry) => entry.trim()).filter(Boolean);
401
+ if (values.length)
402
+ body["auditScopes"] = values;
403
+ }
404
+ {
405
+ const value = this.getNodeParameter("auditIssues", i, '');
406
+ const values = value.split(/[,\n]/).map((entry) => entry.trim()).filter(Boolean);
407
+ if (values.length)
408
+ body["auditIssues"] = values;
409
+ }
410
+ body["issueMatchMode"] = this.getNodeParameter("issueMatchMode", i);
411
+ {
412
+ const value = this.getNodeParameter("auditConfidence", i, '');
413
+ const values = value.split(/[,\n]/).map((entry) => entry.trim()).filter(Boolean);
414
+ if (values.length)
415
+ body["auditConfidence"] = values;
416
+ }
417
+ body["contactRequirement"] = this.getNodeParameter("contactRequirement", i);
418
+ {
419
+ const value = this.getNodeParameter("country", i, '');
420
+ const values = value.split(/[,\n]/).map((entry) => entry.trim()).filter(Boolean);
421
+ if (values.length)
422
+ body["country"] = values;
423
+ }
424
+ {
425
+ const value = this.getNodeParameter("vertical", i, '');
426
+ if (value.trim())
427
+ body["vertical"] = value.trim();
428
+ }
429
+ {
430
+ const value = this.getNodeParameter("technologies", i, '');
431
+ const values = value.split(/[,\n]/).map((entry) => entry.trim()).filter(Boolean);
432
+ if (values.length)
433
+ body["technologies"] = values;
434
+ }
435
+ body["hasAiTechnology"] = this.getNodeParameter("hasAiTechnology", i);
436
+ body["checkedWithinDays"] = this.getNodeParameter("checkedWithinDays", i);
437
+ body["sortBy"] = this.getNodeParameter("sortBy", i);
438
+ body["sortDesc"] = this.getNodeParameter("sortDesc", i);
439
+ body["maxItems"] = this.getNodeParameter("maxItems", i);
440
+ body["offset"] = this.getNodeParameter("offset", i);
441
+ body["dedupeByDomain"] = this.getNodeParameter("dedupeByDomain", i);
442
+ {
443
+ const value = this.getNodeParameter("columns", i, '');
444
+ const values = value.split(/[,\n]/).map((entry) => entry.trim()).filter(Boolean);
445
+ if (values.length)
446
+ body["columns"] = values;
447
+ }
448
+ const runOptions = {
449
+ method: 'POST',
450
+ url: `https://api.apify.com/v2/acts/${ACTOR_ID}/runs`,
451
+ qs: { waitForFinish: 300, memory: 512 },
452
+ body,
453
+ json: true,
454
+ };
455
+ const runResponse = await this.helpers.requestWithAuthentication.call(this, 'apifyApi', runOptions);
456
+ const run = (_a = runResponse.data) !== null && _a !== void 0 ? _a : runResponse;
457
+ if (run.status !== 'SUCCEEDED') {
458
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Actor run did not succeed (status: ${String((_b = run.status) !== null && _b !== void 0 ? _b : 'unknown')})`, { itemIndex: i });
459
+ }
460
+ let response;
461
+ if (runMode === 'preview' || returnMode === 'automation') {
462
+ const storeId = String((_c = run.defaultKeyValueStoreId) !== null && _c !== void 0 ? _c : '');
463
+ if (!storeId)
464
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Actor run did not provide a key-value store', { itemIndex: i });
465
+ response = await this.helpers.requestWithAuthentication.call(this, 'apifyApi', {
466
+ method: 'GET',
467
+ url: `https://api.apify.com/v2/key-value-stores/${storeId}/records/MCP_RESPONSE`,
468
+ json: true,
469
+ });
470
+ }
471
+ else {
472
+ const datasetId = String((_d = run.defaultDatasetId) !== null && _d !== void 0 ? _d : '');
473
+ if (!datasetId)
474
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Actor run did not provide a Dataset', { itemIndex: i });
475
+ response = await this.helpers.requestWithAuthentication.call(this, 'apifyApi', {
476
+ method: 'GET',
477
+ url: `https://api.apify.com/v2/datasets/${datasetId}/items`,
478
+ qs: { clean: true },
479
+ json: true,
480
+ });
481
+ }
482
+ const results = Array.isArray(response) ? response : [response];
483
+ for (const result of results)
484
+ returnData.push({ json: result, pairedItem: { item: i } });
485
+ }
486
+ catch (error) {
487
+ if (this.continueOnFail()) {
488
+ returnData.push({ json: { error: error.message }, pairedItem: { item: i } });
489
+ continue;
490
+ }
491
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex: i });
492
+ }
493
+ }
494
+ return [returnData];
495
+ }
496
+ }
497
+ exports.WebsiteAuditLeads = WebsiteAuditLeads;
498
+ //# sourceMappingURL=WebsiteAuditLeads.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebsiteAuditLeads.node.js","sourceRoot":"","sources":["../../../nodes/WebsiteAuditLeads/WebsiteAuditLeads.node.ts"],"names":[],"mappings":";;;AAQA,+CAAuE;AAEvE,MAAM,QAAQ,GAAG,mCAAmC,CAAC;AAErD,MAAa,iBAAiB;IAA9B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,mBAAmB;YACzB,IAAI,EAAE,4BAA4B;YAClC,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,wRAAwR;YACrS,QAAQ,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE;YACzC,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACnD,UAAU,EAAE;gBACX;oBACG,aAAa,EA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AI,OAAO;oBAAE,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;YAC1F,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;oBACxF,SAAS;gBACV,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;YAChF,CAAC;QACF,CAAC;QACD,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAzaD,8CAyaC"}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#6e45e2"/><path d="M18 20h28v7H18zm0 12h20v7H18zm0 12h28v7H18z" fill="#fff"/></svg>
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "Website Audit Leads → Review Queue",
3
+ "nodes": [
4
+ {"parameters": {}, "id": "f04e4c31-d8c6-4f62-92f1-fb1220cbb101", "name": "When clicking Execute workflow", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [0, 140]},
5
+ {
6
+ "parameters": {"content": "## Review-first setup\n1. Select your Apify credential.\n2. Preview the audience before exporting.\n3. Start with 50 leads.\n4. Review each website and personalize any outreach.\n5. Connect approved rows to your CRM.", "height": 250, "width": 430},
7
+ "id": "f04e4c31-d8c6-4f62-92f1-fb1220cbb102", "name": "How to use this workflow", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [-40, -210]
8
+ },
9
+ {
10
+ "parameters": {"runMode": "export", "returnMode": "rows", "opportunityPreset": "balanced", "contactRequirement": "email", "maxItems": 50, "dedupeByDomain": true},
11
+ "id": "f04e4c31-d8c6-4f62-92f1-fb1220cbb103", "name": "Find website opportunities", "type": "n8n-nodes-apivault-website-audit-leads.websiteAuditLeads", "typeVersion": 1, "position": [260, 140]
12
+ },
13
+ {
14
+ "parameters": {"mode": "runOnceForEachItem", "jsCode": "const j = $json; const emails = Array.isArray(j.Emails) ? j.Emails : (j.Emails ? [j.Emails] : []); return { json: { ...j, reviewStatus: 'needs_manual_review', primaryEmail: emails[0] ?? '', suggestedAction: 'verify the opportunity and personalize outreach' } };"},
15
+ "id": "f04e4c31-d8c6-4f62-92f1-fb1220cbb104", "name": "Prepare manual review queue", "type": "n8n-nodes-base.code", "typeVersion": 2, "position": [560, 140]
16
+ }
17
+ ],
18
+ "connections": {
19
+ "When clicking Execute workflow": {"main": [[{"node": "Find website opportunities", "type": "main", "index": 0}]]},
20
+ "Find website opportunities": {"main": [[{"node": "Prepare manual review queue", "type": "main", "index": 0}]]}
21
+ },
22
+ "pinData": {}, "settings": {"executionOrder": "v1"}, "active": false,
23
+ "versionId": "f04e4c31-d8c6-4f62-92f1-fb1220cbb105", "tags": []
24
+ }
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = {};
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "n8n-nodes-apivault-website-audit-leads",
3
+ "version": "0.2.0",
4
+ "description": "n8n community node for Website Audit Leads, backed by the apivault_labs/website-audit-leads Apify Actor.",
5
+ "license": "MIT",
6
+ "homepage": "https://apify.com/apivault_labs/website-audit-leads",
7
+ "keywords": [
8
+ "n8n-community-node-package",
9
+ "n8n",
10
+ "apify",
11
+ "automation",
12
+ "lead-generation",
13
+ "website",
14
+ "audit",
15
+ "leads"
16
+ ],
17
+ "author": {
18
+ "name": "apivault_labs"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/apivault-labs/apify-funnels.git"
23
+ },
24
+ "main": "index.js",
25
+ "scripts": {
26
+ "build": "tsc && copyfiles \"nodes/**/*.svg\" dist",
27
+ "dev": "tsc --watch",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "examples"
33
+ ],
34
+ "n8n": {
35
+ "n8nNodesApiVersion": 1,
36
+ "credentials": [
37
+ "dist/credentials/ApifyApi.credentials.js"
38
+ ],
39
+ "nodes": [
40
+ "dist/nodes/WebsiteAuditLeads/WebsiteAuditLeads.node.js"
41
+ ]
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^20.10.0",
45
+ "copyfiles": "^2.4.1",
46
+ "n8n-workflow": "*",
47
+ "typescript": "^5.4.0"
48
+ },
49
+ "peerDependencies": {
50
+ "n8n-workflow": "*"
51
+ }
52
+ }