n8n-nodes-amazon-creator-api 0.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/LICENSE.md +21 -0
- package/README.md +120 -0
- package/dist/credentials/AmazonCreatorsApi.credentials.d.ts +7 -0
- package/dist/credentials/AmazonCreatorsApi.credentials.js +90 -0
- package/dist/credentials/AmazonCreatorsApi.credentials.js.map +1 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsApi.node.d.ts +13 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsApi.node.js +656 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsApi.node.js.map +1 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsPriceWatchTrigger.node.d.ts +5 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsPriceWatchTrigger.node.js +128 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsPriceWatchTrigger.node.js.map +1 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsSearchWatchTrigger.node.d.ts +5 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsSearchWatchTrigger.node.js +151 -0
- package/dist/nodes/AmazonCreatorsApi/AmazonCreatorsSearchWatchTrigger.node.js.map +1 -0
- package/dist/nodes/AmazonCreatorsApi/GenericFunctions.d.ts +19 -0
- package/dist/nodes/AmazonCreatorsApi/GenericFunctions.js +136 -0
- package/dist/nodes/AmazonCreatorsApi/GenericFunctions.js.map +1 -0
- package/dist/nodes/AmazonCreatorsApi/amazon.svg +1 -0
- package/dist/nodes/AmazonCreatorsApi/shared.d.ts +24 -0
- package/dist/nodes/AmazonCreatorsApi/shared.js +265 -0
- package/dist/nodes/AmazonCreatorsApi/shared.js.map +1 -0
- package/index.js +4 -0
- package/package.json +64 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Priyansh Kothari
|
|
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,120 @@
|
|
|
1
|
+
# n8n-nodes-amazon-creator-api
|
|
2
|
+
|
|
3
|
+
n8n community node for the **Amazon Creators API** — the successor to the Product Advertising API (PA-API 5.0), which Amazon retired on **15 May 2026**.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/n8n-nodes-amazon-creator-api)
|
|
6
|
+
|
|
7
|
+
> **Author**: [Priyansh Kothari](https://priyan.sh)
|
|
8
|
+
> ☕ **Like this package?** [Buy me a coffee!](https://buymeacoffee.com/priyanshkothari)
|
|
9
|
+
|
|
10
|
+
This package implements the full Amazon Creators API surface with all documented options: `GetItems`, `SearchItems`, `GetVariations`, and `GetBrowseNodes`. It uses the modern OAuth2 authentication flow (both Cognito v2.x and Login with Amazon v3.x credentials) and the new `offersV2` / `variationSummary` / `searchRefinements` resources.
|
|
11
|
+
|
|
12
|
+
It ships **three nodes**:
|
|
13
|
+
|
|
14
|
+
| Node | Type | Purpose |
|
|
15
|
+
| --- | --- | --- |
|
|
16
|
+
| **Amazon Creators API** | Action | GetItems / SearchItems / GetVariations / GetBrowseNodes |
|
|
17
|
+
| **Amazon Creators Price Watch Trigger** | Polling trigger | Fires when price, availability, buy box or discount changes for watched ASINs |
|
|
18
|
+
| **Amazon Creators Search Watch Trigger** | Polling trigger | Fires when a new ASIN appears in a search (e.g. new arrivals) |
|
|
19
|
+
|
|
20
|
+
> **Migrating from PA-API 5.0?** This is a different API — different auth (OAuth2 instead of AWS SigV4), a single endpoint (`https://creatorsapi.amazon`), an `x-marketplace` header, and lowerCamelCase request/response fields. If you used [`n8n-nodes-amazon-affiliate-api`](https://www.npmjs.com/package/n8n-nodes-amazon-affiliate-api), install this alongside it and look for **Amazon Creators API** in the node list.
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
In your n8n instance, go to **Settings → Community Nodes → Install** and enter:
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
n8n-nodes-amazon-creator-api
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or install manually:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install n8n-nodes-amazon-creator-api
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Credentials
|
|
37
|
+
|
|
38
|
+
Generate Creators API credentials in **Amazon Associates Central** (requires an approved Associates account with recent qualifying sales). You will get a **Client ID**, **Client Secret**, and a **Version** (e.g. `2.2`, `3.2`).
|
|
39
|
+
|
|
40
|
+
| Field | Notes |
|
|
41
|
+
| --- | --- |
|
|
42
|
+
| **Credential Version** | Selects the OAuth2 token endpoint. `2.x` = Amazon Cognito, `3.x` = Login with Amazon. The region shown is only for the token endpoint — credentials work across all marketplaces. |
|
|
43
|
+
| **Client ID** | Credential ID from Associates Central. |
|
|
44
|
+
| **Client Secret** | Credential Secret from Associates Central. |
|
|
45
|
+
| **Default Partner Tag** | Your Associate tag for the target marketplace (e.g. `yourtag-20`). |
|
|
46
|
+
| **Default Marketplace** | The Amazon locale to target (e.g. `www.amazon.com`). |
|
|
47
|
+
|
|
48
|
+
The node fetches the 1-hour OAuth2 access token automatically and caches it (reused across executions until shortly before expiry) — no manual token handling needed.
|
|
49
|
+
|
|
50
|
+
## Operations
|
|
51
|
+
|
|
52
|
+
### Get Items
|
|
53
|
+
Look up attributes for up to 10 ASINs.
|
|
54
|
+
- **Item IDs** (comma-separated), **Item ID Type** (ASIN), **Condition** (Any / New)
|
|
55
|
+
- **Resources**, **Languages of Preference**, **Currency of Preference**
|
|
56
|
+
|
|
57
|
+
### Search Items
|
|
58
|
+
Search the Amazon catalog (up to 10 results per page). Requires at least one of Keywords, Actor, Artist, Author, Brand or Title.
|
|
59
|
+
- **Keywords**, **Search Index**, **Item Count**, **Item Page**, **Resources**
|
|
60
|
+
- **Additional Fields**: Actor, Artist, Author, Brand, Title, Browse Node ID, Availability, Condition, Delivery Flags, Sort By, Min/Max Price, Min Reviews Rating, Min Saving Percent
|
|
61
|
+
|
|
62
|
+
### Get Variations
|
|
63
|
+
Return the variations (size, color, etc.) of a parent or child ASIN.
|
|
64
|
+
- **ASIN**, **Variation Count**, **Variation Page**, **Condition**, **Resources**
|
|
65
|
+
|
|
66
|
+
### Get Browse Nodes
|
|
67
|
+
Traverse Amazon's category hierarchy.
|
|
68
|
+
- **Browse Node IDs** (comma-separated), **Resources** (Ancestor / Children), **Languages of Preference**
|
|
69
|
+
|
|
70
|
+
## Node options (Amazon Creators API)
|
|
71
|
+
|
|
72
|
+
- **Resource Preset** — quick-select `Minimal`, `Pricing & Offers`, `Everything`, or `Custom` instead of ticking resources individually.
|
|
73
|
+
- **Return All** (Search Items / Get Variations) — automatically pages through the API up to a **Limit** instead of a single page.
|
|
74
|
+
- **Auto-batching** — Get Items / Get Browse Nodes accept more than 10 IDs and are split into batched requests automatically, with results merged.
|
|
75
|
+
- **Simplify** — return one flattened item per result (`asin`, `title`, `price`, `currency`, `image`, `url`, `savingsPercent`, `merchant`, …) instead of the raw nested response.
|
|
76
|
+
- **Split Errors** — route per-item API errors (e.g. inaccessible ASINs) to a separate **Errors** output.
|
|
77
|
+
- **Languages of Preference** — a marketplace-aware dropdown populated from the official Locale Reference.
|
|
78
|
+
|
|
79
|
+
Under the hood the nodes **cache the OAuth2 token** (reused until ~1 min before expiry, so the token endpoint's 300 req/5 min limit is respected) and **retry** on HTTP 429/5xx with exponential backoff. The credential has a **Test** button that performs a live token exchange.
|
|
80
|
+
|
|
81
|
+
## Trigger nodes
|
|
82
|
+
|
|
83
|
+
Amazon's Creators API has no webhooks, so these triggers **poll** on the schedule you configure in n8n and remember what they've seen using workflow static data.
|
|
84
|
+
|
|
85
|
+
### Amazon Creators Price Watch Trigger
|
|
86
|
+
Watch a list of ASINs and emit an item only when something changes. Choose which dimensions to watch: **Price**, **Availability**, **Buy Box**, **Discount %**. Each emitted item is the simplified product plus `_changed` (which dimensions changed) and `_previous` (the prior snapshot). The first poll establishes a baseline without firing.
|
|
87
|
+
|
|
88
|
+
### Amazon Creators Search Watch Trigger
|
|
89
|
+
Run a `searchItems` query (default sort **NewestArrivals**) on a schedule and emit only ASINs not seen before — ideal for new-arrival and restock alerts. Supports keywords, search index, brand, browse node, and minimum saving %.
|
|
90
|
+
|
|
91
|
+
## Resources
|
|
92
|
+
|
|
93
|
+
All Creators API resources are selectable per operation, including the new **OffersV2** and **VariationSummary** containers:
|
|
94
|
+
|
|
95
|
+
- **BrowseNodeInfo** — `browseNodes`, `browseNodes.ancestor`, `browseNodes.salesRank`, `websiteSalesRank`
|
|
96
|
+
- **Images** — `primary.{small,medium,large}`, `variants.{small,medium,large}`
|
|
97
|
+
- **ItemInfo** — `byLineInfo`, `classifications`, `contentInfo`, `contentRating`, `externalIds`, `features`, `manufactureInfo`, `productInfo`, `technicalInfo`, `title`, `tradeInInfo`
|
|
98
|
+
- **OffersV2** — `listings.{availability, condition, dealDetails, isBuyBoxWinner, loyaltyPoints, merchantInfo, price, type}`
|
|
99
|
+
- **ParentASIN**
|
|
100
|
+
- **SearchRefinements** (Search Items only)
|
|
101
|
+
- **VariationSummary** — `price.highestPrice`, `price.lowestPrice`, `variationDimension` (Get Variations only)
|
|
102
|
+
|
|
103
|
+
## Marketplaces
|
|
104
|
+
|
|
105
|
+
US, CA, MX, BR, UK, DE, FR, IT, ES, NL, BE, EG, IN, IE, PL, SA, SE, TR, AE, JP, SG, AU. Choose a per-node **Marketplace** to override the credential default (each marketplace needs a valid Partner Tag and Creators API approval in that region).
|
|
106
|
+
|
|
107
|
+
## Development
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
npm install
|
|
111
|
+
npm run build # compiles TypeScript to dist/ and copies icons
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Resources & docs
|
|
115
|
+
|
|
116
|
+
- [Amazon Creators API documentation](https://affiliate-program.amazon.com/creatorsapi/docs/)
|
|
117
|
+
|
|
118
|
+
## License
|
|
119
|
+
|
|
120
|
+
MIT © [Priyansh Kothari](https://priyan.sh)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AmazonCreatorsApi = void 0;
|
|
4
|
+
class AmazonCreatorsApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'amazonCreatorsApi';
|
|
7
|
+
this.displayName = 'Amazon Creators API';
|
|
8
|
+
this.documentationUrl = 'https://affiliate-program.amazon.com/creatorsapi/docs/';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Credential Version',
|
|
12
|
+
name: 'credentialVersion',
|
|
13
|
+
type: 'options',
|
|
14
|
+
options: [
|
|
15
|
+
{ name: '2.1 — Cognito (NA: US, CA, MX, BR)', value: '2.1' },
|
|
16
|
+
{
|
|
17
|
+
name: '2.2 — Cognito (EU: UK, DE, FR, IT, ES, NL, BE, EG, IN, IE, PL, SA, SE, TR, AE)',
|
|
18
|
+
value: '2.2',
|
|
19
|
+
},
|
|
20
|
+
{ name: '2.3 — Cognito (FE: JP, SG, AU)', value: '2.3' },
|
|
21
|
+
{ name: '3.1 — Login with Amazon (NA: US, CA, MX, BR)', value: '3.1' },
|
|
22
|
+
{
|
|
23
|
+
name: '3.2 — Login with Amazon (EU: UK, DE, FR, IT, ES, NL, BE, EG, IN, IE, PL, SA, SE, TR, AE)',
|
|
24
|
+
value: '3.2',
|
|
25
|
+
},
|
|
26
|
+
{ name: '3.3 — Login with Amazon (FE: JP, SG, AU)', value: '3.3' },
|
|
27
|
+
],
|
|
28
|
+
default: '3.2',
|
|
29
|
+
description: 'The version shown next to your credentials in Associates Central. It selects the OAuth2 token endpoint (2.x = Cognito, 3.x = Login with Amazon). Your credentials work across all marketplaces regardless of the region shown here — set the target marketplace below.',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Client ID',
|
|
33
|
+
name: 'clientId',
|
|
34
|
+
type: 'string',
|
|
35
|
+
default: '',
|
|
36
|
+
required: true,
|
|
37
|
+
description: 'Creators API Client ID (Credential ID) generated in Amazon Associates Central',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Client Secret',
|
|
41
|
+
name: 'clientSecret',
|
|
42
|
+
type: 'string',
|
|
43
|
+
typeOptions: { password: true },
|
|
44
|
+
default: '',
|
|
45
|
+
required: true,
|
|
46
|
+
description: 'Creators API Client Secret (Credential Secret) generated in Amazon Associates Central',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Default Partner Tag',
|
|
50
|
+
name: 'partnerTag',
|
|
51
|
+
type: 'string',
|
|
52
|
+
default: '',
|
|
53
|
+
description: 'Your Associate/Partner Tag for the target marketplace (e.g. yourtag-20). Can be overridden per node.',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
displayName: 'Default Marketplace',
|
|
57
|
+
name: 'marketplace',
|
|
58
|
+
type: 'options',
|
|
59
|
+
options: [
|
|
60
|
+
{ name: 'Australia (www.amazon.com.au)', value: 'www.amazon.com.au' },
|
|
61
|
+
{ name: 'Belgium (www.amazon.com.be)', value: 'www.amazon.com.be' },
|
|
62
|
+
{ name: 'Brazil (www.amazon.com.br)', value: 'www.amazon.com.br' },
|
|
63
|
+
{ name: 'Canada (www.amazon.ca)', value: 'www.amazon.ca' },
|
|
64
|
+
{ name: 'Egypt (www.amazon.eg)', value: 'www.amazon.eg' },
|
|
65
|
+
{ name: 'France (www.amazon.fr)', value: 'www.amazon.fr' },
|
|
66
|
+
{ name: 'Germany (www.amazon.de)', value: 'www.amazon.de' },
|
|
67
|
+
{ name: 'India (www.amazon.in)', value: 'www.amazon.in' },
|
|
68
|
+
{ name: 'Ireland (www.amazon.ie)', value: 'www.amazon.ie' },
|
|
69
|
+
{ name: 'Italy (www.amazon.it)', value: 'www.amazon.it' },
|
|
70
|
+
{ name: 'Japan (www.amazon.co.jp)', value: 'www.amazon.co.jp' },
|
|
71
|
+
{ name: 'Mexico (www.amazon.com.mx)', value: 'www.amazon.com.mx' },
|
|
72
|
+
{ name: 'Netherlands (www.amazon.nl)', value: 'www.amazon.nl' },
|
|
73
|
+
{ name: 'Poland (www.amazon.pl)', value: 'www.amazon.pl' },
|
|
74
|
+
{ name: 'Saudi Arabia (www.amazon.sa)', value: 'www.amazon.sa' },
|
|
75
|
+
{ name: 'Singapore (www.amazon.sg)', value: 'www.amazon.sg' },
|
|
76
|
+
{ name: 'Spain (www.amazon.es)', value: 'www.amazon.es' },
|
|
77
|
+
{ name: 'Sweden (www.amazon.se)', value: 'www.amazon.se' },
|
|
78
|
+
{ name: 'Turkey (www.amazon.com.tr)', value: 'www.amazon.com.tr' },
|
|
79
|
+
{ name: 'United Arab Emirates (www.amazon.ae)', value: 'www.amazon.ae' },
|
|
80
|
+
{ name: 'United Kingdom (www.amazon.co.uk)', value: 'www.amazon.co.uk' },
|
|
81
|
+
{ name: 'United States (www.amazon.com)', value: 'www.amazon.com' },
|
|
82
|
+
],
|
|
83
|
+
default: 'www.amazon.com',
|
|
84
|
+
description: 'The Amazon marketplace to target. Can be overridden per node.',
|
|
85
|
+
},
|
|
86
|
+
];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.AmazonCreatorsApi = AmazonCreatorsApi;
|
|
90
|
+
//# sourceMappingURL=AmazonCreatorsApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmazonCreatorsApi.credentials.js","sourceRoot":"","sources":["../../credentials/AmazonCreatorsApi.credentials.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ICredentialsDecrypted, ICredentialTestFunctions, IExecuteFunctions, ILoadOptionsFunctions, INodeCredentialTestResult, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class AmazonCreatorsApi implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
credentialTest: {
|
|
6
|
+
creatorsApiCredentialTest(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<INodeCredentialTestResult>;
|
|
7
|
+
};
|
|
8
|
+
loadOptions: {
|
|
9
|
+
getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
13
|
+
}
|