n8n-nodes-pubrio 0.2.0 → 0.2.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # n8n-nodes-pubrio
2
2
 
3
- This is an n8n community node that integrates the [Pubrio](https://pubrio.com) B2B data intelligence API into your n8n workflows. Search companies and people, enrich records, reveal contact information, and monitor business signals — all from within n8n.
3
+ This is an n8n community node that integrates the [Pubrio](https://pubrio.com) B2B data intelligence API into your n8n workflows. Search companies and people, enrich records, reveal contact information, monitor business signals, and access reference data — all from within n8n.
4
4
 
5
5
  [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
6
6
 
@@ -19,23 +19,62 @@ You need a Pubrio account with API access to use this node.
19
19
 
20
20
  1. Sign up or log in at [dashboard.pubrio.com](https://dashboard.pubrio.com)
21
21
  2. Go to **Settings** and copy your **API Key**
22
- 3. Note your **Profile ID** (workspace identifier) from the dashboard
23
- 4. In n8n, create a new **Pubrio API** credential and enter both values
22
+ 3. In n8n, create a new **Pubrio API** credential and paste your API key
24
23
 
25
24
  For full API documentation, visit [docs.pubrio.com](https://docs.pubrio.com/en/api-reference/introduction).
26
25
 
26
+ ## Nodes
27
+
28
+ ### Pubrio
29
+
30
+ The main node for interacting with the Pubrio API across 5 resources and 46 operations.
31
+
32
+ ### Pubrio Trigger
33
+
34
+ A webhook trigger node that receives events from Pubrio monitors. Copy the webhook URL into your monitor configuration to start workflows when monitors fire.
35
+
27
36
  ## Operations
28
37
 
29
- ### Company
38
+ ### Company (13 operations)
30
39
 
31
40
  | Operation | Description |
32
41
  |-----------|-------------|
33
- | Search | Search companies with filters (name, domain, location, headcount, revenue, keywords) |
34
- | Lookup | Look up a company by domain, LinkedIn URL, or ID |
42
+ | Advertisement Lookup | Look up advertisement details by ID |
43
+ | Advertisement Search | Search company advertisements and campaigns |
35
44
  | Enrich | Get enriched company data (consumes credits) |
45
+ | Job Lookup | Look up job posting details by ID |
46
+ | Job Search | Search job postings across companies |
36
47
  | LinkedIn Lookup | Real-time LinkedIn company lookup |
48
+ | Lookalike Lookup | Look up lookalike companies for a given company |
49
+ | Lookalike Search | Search for similar companies with filters |
50
+ | Lookup | Look up a company by domain, LinkedIn URL, or ID |
51
+ | News Lookup | Look up news article details by ID |
52
+ | News Search | Search company news and press releases |
53
+ | Search | Search companies with filters (name, domain, location, headcount, revenue, verticals, technologies, keywords, and more) |
54
+ | Technology Lookup | Look up technologies used by a company |
55
+
56
+ ### Filter (14 operations)
57
+
58
+ Reference data endpoints for building search filters.
37
59
 
38
- ### Person
60
+ | Operation | Description |
61
+ |-----------|-------------|
62
+ | Get Company Sizes | Get available company size ranges |
63
+ | Get Department Functions | Get available department functions |
64
+ | Get Departments | Get available department titles |
65
+ | Get Locations | Get available location codes |
66
+ | Get Management Levels | Get available management/seniority levels |
67
+ | Get News Categories | Get available news categories |
68
+ | Get News Galleries | Get available news galleries |
69
+ | Get News Languages | Get available news languages |
70
+ | Get Timezones | Get available timezones |
71
+ | Search Technologies | Search technology tags by keyword |
72
+ | Search Technology Categories | Search technology categories by keyword |
73
+ | Search Vertical Categories | Search vertical categories by keyword |
74
+ | Search Vertical Sub-Categories | Search vertical sub-categories by keyword |
75
+ | Search Verticals | Search industry verticals by keyword |
76
+
77
+ ### Person (7 operations)
39
78
 
40
79
  | Operation | Description |
41
80
  |-----------|-------------|
@@ -47,7 +86,7 @@ For full API documentation, visit [docs.pubrio.com](https://docs.pubrio.com/en/a
47
86
  | Batch Redeem | Reveal contacts for multiple people at once |
48
87
  | Query Batch | Check the status of a batch redeem operation |
49
88
 
50
- ### Monitor
89
+ ### Monitor (10 operations)
51
90
 
52
91
  | Operation | Description |
53
92
  |-----------|-------------|
@@ -62,7 +101,7 @@ For full API documentation, visit [docs.pubrio.com](https://docs.pubrio.com/en/a
62
101
  | Get Stats | Get monitor statistics overview |
63
102
  | Get Logs | Get monitor execution logs |
64
103
 
65
- ### Profile
104
+ ### Profile (2 operations)
66
105
 
67
106
  | Operation | Description |
68
107
  |-----------|-------------|
@@ -73,8 +112,10 @@ For full API documentation, visit [docs.pubrio.com](https://docs.pubrio.com/en/a
73
112
 
74
113
  - **Lead enrichment**: Trigger on new HubSpot contacts, enrich with Pubrio, update the CRM record
75
114
  - **Company research**: Search for companies in a specific industry and region, export to Google Sheets
76
- - **Signal monitoring**: Set up monitors for job postings at target accounts, receive webhook alerts
115
+ - **Signal monitoring**: Set up monitors for job postings at target accounts, receive webhook alerts via Pubrio Trigger
77
116
  - **Contact discovery**: Search for decision-makers at target companies, reveal their email addresses
117
+ - **Competitive intelligence**: Search company news, job postings, and advertisements for market insights
118
+ - **Lookalike prospecting**: Find companies similar to your best customers using lookalike search
78
119
 
79
120
  ## Compatibility
80
121
 
@@ -20,14 +20,6 @@ class PubrioApi {
20
20
  required: true,
21
21
  description: 'Your Pubrio API key from the dashboard settings',
22
22
  },
23
- {
24
- displayName: 'Profile ID',
25
- name: 'profileId',
26
- type: 'number',
27
- default: 0,
28
- required: true,
29
- description: 'Your Pubrio workspace profile ID',
30
- },
31
23
  ];
32
24
  this.authenticate = {
33
25
  type: 'generic',
@@ -1 +1 @@
1
- {"version":3,"file":"PubrioApi.credentials.js","sourceRoot":"","sources":["../../credentials/PubrioApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,uDAAuD,CAAC;QAE3E,SAAI,GAAG;YACN,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,0BAA0B;SACvB,CAAC;QAEX,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,iDAAiD;aAC9D;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,kCAAkC;aAC/C;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,gBAAgB,EAAE,0BAA0B;iBAC5C;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,OAAO;gBACZ,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAhDD,8BAgDC"}
1
+ {"version":3,"file":"PubrioApi.credentials.js","sourceRoot":"","sources":["../../credentials/PubrioApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QAEnB,gBAAW,GAAG,YAAY,CAAC;QAE3B,qBAAgB,GAAG,uDAAuD,CAAC;QAE3E,SAAI,GAAG;YACN,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,0BAA0B;SACvB,CAAC;QAEX,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,iDAAiD;aAC9D;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,gBAAgB,EAAE,0BAA0B;iBAC5C;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,OAAO;gBACZ,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAxCD,8BAwCC"}
@@ -1,8 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="3600" height="3600">
3
- <path d="M0 0 C1188 0 2376 0 3600 0 C3600 1188 3600 2376 3600 3600 C2412 3600 1224 3600 0 3600 C0 2412 0 1224 0 0 Z " fill="#124EF5" transform="translate(0,0)"/>
4
- <path d="M0 0 C198 0 396 0 600 0 C600 396 600 792 600 1200 C204 1200 -192 1200 -600 1200 C-600 1002 -600 804 -600 600 C-402 600 -204 600 0 600 C0 402 0 204 0 0 Z " fill="#FFFFFF" transform="translate(2175,1500)"/>
5
- <path d="M0 0 C396 0 792 0 1200 0 C1200 198 1200 396 1200 600 C1002 600 804 600 600 600 C600 798 600 996 600 1200 C402 1200 204 1200 0 1200 C0 804 0 408 0 0 Z " fill="#FFFFFF" transform="translate(825,900)"/>
6
- <path d="M0 0 C198 0 396 0 600 0 C600 198 600 396 600 600 C402 600 204 600 0 600 C0 402 0 204 0 0 Z " fill="#FFFFFF" transform="translate(750,2325)"/>
7
- <path d="M0 0 C198 0 396 0 600 0 C600 198 600 396 600 600 C402 600 204 600 0 600 C0 402 0 204 0 0 Z " fill="#4FFFE0" transform="translate(2250,675)"/>
2
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="495" height="512">
3
+ <path d="M0 0 C93.72 0 187.44 0 284 0 C284 46.86 284 93.72 284 142 C237.14 142 190.28 142 142 142 C142 188.53 142 235.06 142 283 C95.14 283 48.28 283 0 283 C0 189.61 0 96.22 0 0 Z " fill="#124EF5" transform="translate(17,35)"/>
4
+ <path d="M0 0 C46.86 0 93.72 0 142 0 C142 93.39 142 186.78 142 283 C48.61 283 -44.78 283 -141 283 C-141 236.14 -141 189.28 -141 141 C-94.47 141 -47.94 141 0 141 C0 94.47 0 47.94 0 0 Z " fill="#124EF5" transform="translate(335,194)"/>
5
+ <path d="M0 0 C46.86 0 93.72 0 142 0 C142 46.86 142 93.72 142 142 C95.14 142 48.28 142 0 142 C0 95.14 0 48.28 0 0 Z " fill="#124EF5" transform="translate(0,370)"/>
6
+ <path d="M0 0 C46.86 0 93.72 0 142 0 C142 46.86 142 93.72 142 142 C95.14 142 48.28 142 0 142 C0 95.14 0 48.28 0 0 Z " fill="#4FFFDF" transform="translate(353,0)"/>
8
7
  </svg>
@@ -6,7 +6,7 @@ const BASE_URL = 'https://api.pubrio.com';
6
6
  const ERROR_MESSAGES = {
7
7
  40001: 'Invalid API key. Please check your Pubrio credentials.',
8
8
  40003: 'Access denied. Your API key does not have permission for this action.',
9
- 40313: 'Profile access forbidden. Check your Profile ID.',
9
+ 40313: 'Profile access forbidden. Check your API key permissions.',
10
10
  40335: 'API access is not available on your current Pubrio plan.',
11
11
  40037: 'One or more parameters are incorrect. Check your input values.',
12
12
  40038: 'URL format is incorrect.',
@@ -21,10 +21,6 @@ const ERROR_MESSAGES = {
21
21
  429: 'Rate limit exceeded. Please wait before retrying.',
22
22
  };
23
23
  async function pubrioApiRequest(method, endpoint, body = {}, qs = {}) {
24
- const credentials = await this.getCredentials('pubrioApi');
25
- if (method === 'POST' || method === 'PUT' || method === 'PATCH') {
26
- body.profile_id = credentials.profileId;
27
- }
28
24
  const options = {
29
25
  method,
30
26
  url: `${BASE_URL}${endpoint}`,
@@ -1 +1 @@
1
- {"version":3,"file":"transport.js","sourceRoot":"","sources":["../../../../nodes/Pubrio/shared/transport.ts"],"names":[],"mappings":";;AA6BA,4CAkDC;AAxED,+CAA4C;AAE5C,MAAM,QAAQ,GAAG,wBAAwB,CAAC;AAE1C,MAAM,cAAc,GAA2B;IAC9C,KAAK,EAAE,wDAAwD;IAC/D,KAAK,EAAE,uEAAuE;IAC9E,KAAK,EAAE,kDAAkD;IACzD,KAAK,EAAE,0DA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
3
+ "version": "0.2.2",
4
4
  "description": "n8n community node for Pubrio B2B data intelligence API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/pubrio/n8n-nodes-pubrio",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-pubrio",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "n8n community node for Pubrio B2B data intelligence API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/pubrio/n8n-nodes-pubrio",