n8n-nodes-jamframe 0.0.0-stage → 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.
Files changed (53) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +469 -2
  3. package/dist/credentials/JamFrameApi.credentials.d.ts +10 -0
  4. package/dist/credentials/JamFrameApi.credentials.js +48 -0
  5. package/dist/credentials/JamFrameApi.credentials.js.map +1 -0
  6. package/dist/icons/jamframe.dark.svg +4 -0
  7. package/dist/icons/jamframe.svg +4 -0
  8. package/dist/nodes/JamFrame/JamFrame.node.d.ts +19 -0
  9. package/dist/nodes/JamFrame/JamFrame.node.js +101 -0
  10. package/dist/nodes/JamFrame/JamFrame.node.js.map +1 -0
  11. package/dist/nodes/JamFrame/JamFrame.node.json +18 -0
  12. package/dist/nodes/JamFrame/actions.d.ts +4 -0
  13. package/dist/nodes/JamFrame/actions.js +508 -0
  14. package/dist/nodes/JamFrame/actions.js.map +1 -0
  15. package/dist/nodes/JamFrame/descriptions/DesignDescription.d.ts +3 -0
  16. package/dist/nodes/JamFrame/descriptions/DesignDescription.js +198 -0
  17. package/dist/nodes/JamFrame/descriptions/DesignDescription.js.map +1 -0
  18. package/dist/nodes/JamFrame/descriptions/MediaDescription.d.ts +5 -0
  19. package/dist/nodes/JamFrame/descriptions/MediaDescription.js +162 -0
  20. package/dist/nodes/JamFrame/descriptions/MediaDescription.js.map +1 -0
  21. package/dist/nodes/JamFrame/descriptions/RenderDescription.d.ts +3 -0
  22. package/dist/nodes/JamFrame/descriptions/RenderDescription.js +264 -0
  23. package/dist/nodes/JamFrame/descriptions/RenderDescription.js.map +1 -0
  24. package/dist/nodes/JamFrame/descriptions/RenderJobDescription.d.ts +3 -0
  25. package/dist/nodes/JamFrame/descriptions/RenderJobDescription.js +49 -0
  26. package/dist/nodes/JamFrame/descriptions/RenderJobDescription.js.map +1 -0
  27. package/dist/nodes/JamFrame/descriptions/SocialDescription.d.ts +6 -0
  28. package/dist/nodes/JamFrame/descriptions/SocialDescription.js +385 -0
  29. package/dist/nodes/JamFrame/descriptions/SocialDescription.js.map +1 -0
  30. package/dist/nodes/JamFrame/descriptions/WorkflowDescription.d.ts +5 -0
  31. package/dist/nodes/JamFrame/descriptions/WorkflowDescription.js +159 -0
  32. package/dist/nodes/JamFrame/descriptions/WorkflowDescription.js.map +1 -0
  33. package/dist/nodes/JamFrame/descriptions/shared.d.ts +10 -0
  34. package/dist/nodes/JamFrame/descriptions/shared.js +173 -0
  35. package/dist/nodes/JamFrame/descriptions/shared.js.map +1 -0
  36. package/dist/nodes/JamFrame/methods.d.ts +13 -0
  37. package/dist/nodes/JamFrame/methods.js +133 -0
  38. package/dist/nodes/JamFrame/methods.js.map +1 -0
  39. package/dist/nodes/JamFrameTrigger/JamFrameTrigger.node.d.ts +12 -0
  40. package/dist/nodes/JamFrameTrigger/JamFrameTrigger.node.js +159 -0
  41. package/dist/nodes/JamFrameTrigger/JamFrameTrigger.node.js.map +1 -0
  42. package/dist/nodes/JamFrameTrigger/JamFrameTrigger.node.json +18 -0
  43. package/dist/package.json +67 -0
  44. package/dist/shared/brand.d.ts +7 -0
  45. package/dist/shared/brand.js +11 -0
  46. package/dist/shared/brand.js.map +1 -0
  47. package/dist/shared/helpers.d.ts +92 -0
  48. package/dist/shared/helpers.js +386 -0
  49. package/dist/shared/helpers.js.map +1 -0
  50. package/dist/shared/transport.d.ts +31 -0
  51. package/dist/shared/transport.js +175 -0
  52. package/dist/shared/transport.js.map +1 -0
  53. package/package.json +66 -5
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Alphacloud Technologies Pte Ltd
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 CHANGED
@@ -1,3 +1,470 @@
1
- # Temporary Holding Version
1
+ # n8n-nodes-jamframe
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ An [n8n](https://n8n.io) community node package for JamFrame: render images,
4
+ carousels, PDFs and MP4 videos from your templates, post them to connected
5
+ social accounts, run your JamFrame workflows, design templates and edit media
6
+ with AI, and start n8n workflows when a render job ends, a post goes out, a
7
+ template changes or a workflow run ends.
8
+
9
+ > **Not published yet.** Check the package name `n8n-nodes-jamframe`, the
10
+ > `jamframe.com` URLs and the GitHub repository URLs in `package.json` and
11
+ > the codex files before the first publish (see [Renaming](#renaming)): n8n stores node and
12
+ > credential names in every saved workflow, so they can't change afterwards.
13
+
14
+ It contains:
15
+
16
+ | | |
17
+ | --- | --- |
18
+ | **JamFrame** node | Render a template; get or list past renders; get or wait for a render job; get, list and generate templates (AI); remove an image's background (AI); transcribe audio or video into subtitles (AI); list social accounts; create, get, list, cancel and retry social posts; social analytics; get, list and run workflows; get, list and cancel workflow runs |
19
+ | **JamFrame Trigger** node | Starts a workflow on `render.completed`, `render.failed`, `social.post.published`, `social.post.failed`, `design.created`, `design.updated`, `design.deleted`, `workflow.run.completed` or `workflow.run.failed`; subscribes and unsubscribes itself, and checks each delivery's signature |
20
+ | **JamFrame API** credentials | An API key and the API's base URL |
21
+
22
+ It talks to the API-key authenticated `/v1` API only (the
23
+ [API reference](https://app.jamframe.com/docs/api)) and has no runtime
24
+ dependencies.
25
+
26
+ ## Install
27
+
28
+ Once the package is on npm:
29
+
30
+ - **n8n UI** (self-hosted, owner or admin): **Settings → Community Nodes →
31
+ Install**, enter `n8n-nodes-jamframe`, accept the risk notice. Verified
32
+ community nodes can also be added from the nodes panel, including on n8n
33
+ Cloud.
34
+ - **Manually** (queue mode, or a private build): in the n8n host or container,
35
+ `mkdir -p ~/.n8n/nodes && cd ~/.n8n/nodes && npm i n8n-nodes-jamframe`,
36
+ then restart n8n.
37
+
38
+ To try an unpublished build, run `npm run dev` in this folder (see
39
+ [Develop](#develop)), or `npm pack` and install the `.tgz` the same way.
40
+
41
+ ## Credentials
42
+
43
+ **JamFrame API**:
44
+
45
+ - **API Key**: create one in the app under **Settings → API keys** (keys start
46
+ with `jf_live_`). A key belongs to one workspace; everything the nodes do
47
+ happens in that workspace.
48
+ - **Base URL**: `https://api.jamframe.com` (the default), or your staging or
49
+ self-hosted address, without `/v1`.
50
+
51
+ n8n tests the credential with `POST /v1/auth`, which answers 200 for a
52
+ valid key.
53
+
54
+ ## The JamFrame node
55
+
56
+ ### Render → Render Template
57
+
58
+ `POST /v1/render`. Costs 1 credit per image or PDF page, 1 per second of
59
+ video, only when the render succeeds.
60
+
61
+ - **Template**: pick from the list (your workspace's templates first, then the
62
+ template library, labelled `Library: …`; type to search by name; video
63
+ templates say `video`), or paste an ID (useful with expressions; a library
64
+ template's slug such as `tool-quote-card-paper` works too). Library
65
+ templates render like your own and are charged to your workspace.
66
+ - **Template Parameters**: one field per parameter of the chosen template,
67
+ loaded from `GET /v1/designs/{id}` (text, image/video/audio URLs, QR
68
+ values, shape colours, `{{placeholders}}`, subtitles). Empty fields keep the
69
+ template's own content. Switch the mapper to **Map Automatically** to take
70
+ values from input fields with the same names.
71
+ - **Additional Modifications**: any other key, sent as it is and winning over
72
+ the fields above: `page2@title` (one page of a carousel), `title.color`,
73
+ `title.fontSize`, `badge.hidden`, `audio.volume`, `subtitles.style.position`…
74
+ - **Format**: PNG, JPEG, WebP (one file per page), PDF (one file), MP4 video
75
+ (one file; each page a scene; always a render job).
76
+ - **Resize** (Smart Resize): **One Size** takes a size saved on the template,
77
+ a size name (`story`, `square`, `portrait`, `landscape`, `widescreen`,
78
+ `thumbnail`, `pin`, `original`, or a preset such as `instagram-story`) or
79
+ `WIDTHxHEIGHT` in the **Custom** mode. **Several Sizes** renders up to 10
80
+ sizes in one call (images and PDF, not as a job; 1 credit per page per
81
+ size).
82
+ - **Run as Job**: queue the render (`"async": true`) and get a job ID at once.
83
+ - **Wait for Completion** (default on): when the API answers with a job (a job
84
+ render, or an MP4 still rendering after 90 seconds), poll
85
+ `GET /v1/render-jobs/{id}` after 1 s, then every ×1.5 up to 5 s, until it
86
+ ends; give up after **Timeout** (600 s by default; the job keeps running).
87
+ Off: output `{ jobId, status }`.
88
+ - **Options**: Pages (`1, 3-4`), Scale (1–3×), Quality (JPEG/WebP), Subtitles
89
+ File (MP4: also store an `.srt`/`.vtt`), Webhook URL (jobs: the API POSTs
90
+ `{ event, job }` there when the job ends), Timeout, **Download Files** (each
91
+ file as binary data `data`, `data_1`, …).
92
+
93
+ Output: the API's render result (`content`, `format`, `pages`, `credits`,
94
+ `renderId`, `responseTime`, `duration` and `subtitles` for MP4) plus `url`
95
+ (the first file), `urls` (every file; with several sizes, every size's files in
96
+ order), `warnings` (e.g. modification keys that matched nothing) and `jobId`
97
+ when it ran as a job.
98
+
99
+ ### Render → Get / Get Many
100
+
101
+ The render log: `GET /v1/renders/{id}` and `GET /v1/renders` (newest first;
102
+ **Filters**: Status, Template ID; Return All / Limit). Renders made anywhere
103
+ are listed: this node, the app, signed and dynamic URLs, forms, workflows,
104
+ Zapier and Make. Each item has `outputs` (fresh file links that work for
105
+ 5 minutes; files are kept 8 days) plus `url` and `urls` as above. **Get** can
106
+ also download the files as binary data. Free.
107
+
108
+ ### Render Job → Get / Wait
109
+
110
+ `GET /v1/render-jobs/{id}`: status (`queued`, `running`, `succeeded`,
111
+ `failed`), `progress`, and the files (`url`, `urls`, `result`) once it
112
+ succeeded. **Wait** polls as above; a failed job fails the node with the job's
113
+ error (no credits are charged for it).
114
+
115
+ ### Template → Get / Get Many
116
+
117
+ `GET /v1/designs/{id}` (pages, parameters and saved sizes) and
118
+ `GET /v1/designs` with **Source** = Workspace or Template Library
119
+ (`?source=library`), with Return All / Limit.
120
+
121
+ ### Template → Generate with AI
122
+
123
+ `POST /v1/designs/generate`. The design agent designs a new template from
124
+ your **Prompt** and saves it in the workspace, with parameter keys on the
125
+ layers a render changes (`title`, `photo`, `cta`…). Costs 5 AI credits,
126
+ refunded if it fails.
127
+
128
+ - **Size**: a preset (`instagram-story`, `linkedin-carousel`, `og-image`…), a
129
+ short name (`square`, `portrait`, `story`, `landscape`) or `WIDTHxHEIGHT`;
130
+ 1080x1350 when empty.
131
+ - **Brand**: the workspace's brand kit (default), no brand, or custom colours,
132
+ fonts and a logo.
133
+ - **Wait for Completion** (default on): a design takes 10–40 seconds; the API
134
+ waits about 25 seconds, then the node polls
135
+ `GET /v1/designs/generate/{jobId}` until it is saved (**Timeout**, 300 s by
136
+ default). Off: output `{ jobId, status }` at once.
137
+ - **Options**: Name, Pages (1–10, a carousel), Video (an animated template),
138
+ Reference Image URL, Timeout.
139
+
140
+ Output: the job (`message`, `changes`, `creditsCharged`, `design` with its
141
+ parameters and `editorUrl`) plus `templateId`, ready for Render Template's
142
+ **By ID** mode (`{{ $json.templateId }}`).
143
+
144
+ ### Image → Remove Background
145
+
146
+ `POST /v1/images/remove-background`. Cuts the subject out onto a transparent
147
+ PNG and saves it in the workspace's brand library; `url` can go straight into
148
+ an image parameter of a render. Costs 1 AI credit (4 on a server without the
149
+ local cut-out model, where an image model redraws the subject).
150
+
151
+ - **Input**: a public **URL**, or a **Binary File** of the input item (e.g.
152
+ from Google Drive or an HTTP Request node), sent as a multipart upload. PNG,
153
+ JPEG, GIF or WebP up to 10 MB.
154
+ - **Options**: Asset Name, **Download Result** (the PNG as binary data
155
+ `data`).
156
+
157
+ ### Audio → Transcribe
158
+
159
+ `POST /v1/ai/transcribe`. Turns the speech in an audio file or a video into
160
+ subtitle cues (`cues`), plus the same as `srt` and `vtt` and the full `text`.
161
+ Pass `{{ $json.cues }}` (or `srt`) to a template's subtitles parameter to burn
162
+ them into an MP4. Costs 1 AI credit per minute of audio.
163
+
164
+ - **Input**: a **URL** or a **Binary File** (MP3, M4A, WAV, Ogg, MP4, WebM;
165
+ up to 100 MB and 2 hours).
166
+ - **Options**: Language (detected when empty), Style (Standard: 2 lines of
167
+ 42 characters; Short: one line of 24, for vertical video), Max Characters
168
+ per Line, Max Lines per Cue, Start and Duration (only a window of the file),
169
+ Offset (moves the cues on your video's timeline), Include Word Timings.
170
+
171
+ ### Social Account → Get Many
172
+
173
+ `GET /v1/social/accounts`: the accounts connected in the app (connecting
174
+ needs the platforms' OAuth in a browser, so it happens in the app).
175
+
176
+ ### Social Post → Create / Get / Get Many / Cancel / Retry
177
+
178
+ `POST /v1/social/posts` and friends.
179
+
180
+ - **Accounts**: pick from the connected accounts (sandbox accounts and accounts
181
+ that need reconnecting are labelled).
182
+ - **Caption**, and per-platform captions under Additional Fields.
183
+ - **Media**: **Render a Template** (same template picker and parameters as
184
+ Render; the render is charged when the post goes out; several pages become a
185
+ carousel, a PDF a LinkedIn document), **An Earlier Render** (a `renderId`,
186
+ e.g. from Render Template), **Media URLs**, or **None** (drafts).
187
+ - **Additional Fields**: Scheduled At + Time Zone, Draft, Pages, Scale,
188
+ Quality, Platform Options (JSON, e.g.
189
+ `{"tiktok": {"privacyLevel": "SELF_ONLY"}}`).
190
+
191
+ Every account is checked against its platform's rules before anything is
192
+ created; a refusal fails the node with every problem listed. Publishing is
193
+ asynchronous: use **Get**, or the trigger's `social.post.*` events, for each
194
+ account's permalink or error.
195
+
196
+ ### Social Analytics Report → Get Overview / Get Daily / Get Insights
197
+
198
+ `GET /v1/social/analytics/overview`, `/daily` and `/insights`: how the
199
+ workspace's posts are doing (impressions or views, reach, likes, comments,
200
+ shares, saves, clicks, engagement). **From** and **To** pick the days (the
201
+ last 28 days when empty; days are in the organization's analytics time zone);
202
+ **Filters** narrow it to some platforms or accounts. A metric is `null` when
203
+ the platforms in scope don't report it. Free.
204
+
205
+ - **Get Overview**: one item with the totals, the period before and the change
206
+ in percent.
207
+ - **Get Daily**: one item per day (`day`, the metrics, `postsPublished`,
208
+ `timezone`), ready for a sheet or a chart.
209
+ - **Get Insights**: one item with the top 5 posts, the best weekday and hour
210
+ to post, and each platform compared.
211
+
212
+ ### Workflow → Get / Get Many / Run
213
+
214
+ Workflows are made in the app (Workflows): they read rows from Google Sheets,
215
+ a CSV or XLSX file, Airtable, a Drive folder or an incoming webhook, render a
216
+ template per row and deliver each render. This node starts them and reads
217
+ their results.
218
+
219
+ - **Workflow**: pick from the list or paste an ID.
220
+ - **Run** (`POST /v1/workflows/{id}/run`): starts a run now, drafts included.
221
+ Each row costs the usual render credits. **Options**: Max Rows (a test run),
222
+ Rows (JSON: the rows for a workflow whose source is an incoming webhook),
223
+ Timeout.
224
+ - **Wait for Completion** (default on): polls
225
+ `GET /v1/workflows/{id}/runs/{runId}` until the run ends (**Timeout**, 600 s
226
+ by default; the run keeps going), then outputs the run with each row's
227
+ `status`, `urls`, `deliveries` and `error`. A `failed` run (no row went
228
+ through) fails the node; `partial` and `canceled` runs are output. Off:
229
+ output the queued run at once.
230
+ - **Get** / **Get Many**: the workflow with its steps, trigger, last run and
231
+ `problems` (what stops it from running).
232
+
233
+ ### Workflow Run → Get / Get Many / Cancel
234
+
235
+ `GET /v1/workflows/{id}/runs/{runId}` (with each row's result),
236
+ `GET /v1/workflows/{id}/runs` (newest first) and
237
+ `POST /v1/workflows/{id}/runs/{runId}/cancel` (rows not started yet are
238
+ skipped; the row in progress finishes).
239
+
240
+ ### Errors
241
+
242
+ API errors fail the node with the API's message (for example `Quota exceeded:
243
+ requested 3, remaining 1 of 100`); the error code (`QUOTA_EXCEEDED`,
244
+ `VALIDATION_ERROR`, `NOT_FOUND`…) and `detail` are in the error's description,
245
+ and the HTTP status in its code. A `429` is retried twice after `Retry-After`.
246
+ With **Settings → On Error → Continue**, the item carries `error` instead.
247
+
248
+ ## Trigger
249
+
250
+ The **JamFrame Trigger** node uses the API's webhook subscriptions (REST
251
+ hooks):
252
+
253
+ 1. Activating the workflow calls `POST /v1/webhooks/subscriptions` with
254
+ n8n's webhook URL and the chosen events, and keeps the subscription ID and
255
+ its signing secret (shown only once) in the node's static data.
256
+ 2. Each delivery's `X-Webhook-Signature` (`t=<unix>,v1=<HMAC-SHA256 of
257
+ "t.<raw body>">`) is checked against that secret on the raw request body,
258
+ with a 5-minute tolerance. A delivery that fails the check is answered
259
+ `401` and doesn't start the workflow (turn **Verify Signature** off only to
260
+ debug).
261
+ 3. Deactivating the workflow deletes the subscription. Changing the events or
262
+ the URL replaces it.
263
+
264
+ Each execution gets the event envelope: `id`, `type`, `createdAt`, `data` (a
265
+ render job for `render.*`, `{ post, target }` for `social.post.*`, the template
266
+ summary for `design.*`, the run plus `workflowName` for `workflow.run.*`) and
267
+ `deliveryId` (the `X-Webhook-Delivery` header, the
268
+ same across retries: use it to deduplicate, since delivery is at-least-once).
269
+ A workspace can have at most 20 subscriptions.
270
+
271
+ **Your n8n must be reachable from the internet.** The API only delivers to
272
+ public addresses (no `localhost`, private or link-local hosts) and requires
273
+ `https://` in production. n8n's webhook URLs are `http://localhost:5678/…` by
274
+ default, so on a local n8n set `WEBHOOK_URL` to a public HTTPS address (for
275
+ example a tunnel such as `cloudflared` or `ngrok`) before activating, or
276
+ activation fails with `url must not target a private host`. n8n's test URL
277
+ (`/webhook-test/…`) and production URL (`/webhook/…`) differ; the node
278
+ re-subscribes when the URL changes.
279
+
280
+ ### Without the trigger node
281
+
282
+ If you can't use the node (an older n8n, or you want one endpoint for several
283
+ workflows):
284
+
285
+ 1. Add n8n's built-in **Webhook** node (POST, **Raw Body** on), activate the
286
+ workflow and copy its production URL.
287
+ 2. In the app, open **Webhooks**, add a subscription with that URL and the
288
+ events, and copy the signing secret it shows once (or use
289
+ `POST /v1/webhooks/subscriptions` with your API key).
290
+ 3. Verify the signature in a **Code** node before acting on the event:
291
+
292
+ ```js
293
+ const crypto = require('crypto');
294
+ const secret = $env.JAMFRAME_WEBHOOK_SECRET; // or paste it in a credential
295
+ const item = $input.first();
296
+ // The raw body (works with n8n's filesystem and S3 binary modes too).
297
+ const raw = await this.helpers.getBinaryDataBuffer(0, 'data');
298
+ const header = item.json.headers['x-webhook-signature'] ?? '';
299
+ const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
300
+ const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.`).update(raw).digest();
301
+ const given = Buffer.from(parts.v1 ?? '', 'hex');
302
+ const ok = /^\d+$/.test(parts.t ?? '')
303
+ && Math.abs(Date.now() / 1000 - Number(parts.t)) <= 300
304
+ && given.length === expected.length
305
+ && crypto.timingSafeEqual(given, expected);
306
+ if (!ok) throw new Error('Bad signature');
307
+ return [{ json: JSON.parse(raw.toString('utf8')) }];
308
+ ```
309
+
310
+ (The Code node needs `NODE_FUNCTION_ALLOW_BUILTIN=crypto` on self-hosted
311
+ n8n.)
312
+
313
+ ## Example workflows
314
+
315
+ - **Render and post**: Schedule Trigger → Google Sheets (rows with
316
+ `title`, `photo`) → JamFrame *Render Template* (a carousel template,
317
+ parameters mapped automatically from the row, format JPEG) → JamFrame
318
+ *Create Social Post* (Media: An Earlier Render, Render ID
319
+ `{{$json.renderId}}`, caption from the row).
320
+ - **Videos without waiting**: Webhook → JamFrame *Render Template* (MP4, Run
321
+ as Job, Wait for Completion off) → respond with the job ID. A second
322
+ workflow starts on **JamFrame Trigger** (`render.completed`) and sends
323
+ `{{$json.data.result.content}}` to Slack.
324
+ - **Post status**: **JamFrame Trigger** (`social.post.failed`) → Slack
325
+ message with `{{$json.data.target.accountName}}` and
326
+ `{{$json.data.target.error.message}}`.
327
+ - **Product photos**: Google Drive Trigger (new file in a folder) → Google
328
+ Drive *Download* → JamFrame *Remove Background* (Input: Binary File) →
329
+ JamFrame *Render Template* (the photo parameter `{{$json.url}}`) → JamFrame
330
+ *Create Social Post*.
331
+ - **Weekly report**: Schedule Trigger (Mondays) → JamFrame *Get Overview*
332
+ (From: `{{$today.minus({days: 7})}}`) → Slack message with
333
+ `{{$json.totals.impressions}}` and `{{$json.change.engagement}}`%.
334
+ - **Batch from the app**: Schedule Trigger → JamFrame *Run Workflow* (a
335
+ workflow made in the app, Wait for Completion on) → Filter (rows with
336
+ `status` = `failed`) → email the list.
337
+
338
+ ## Develop
339
+
340
+ ```sh
341
+ npm install
342
+ npm run dev # n8n with this package loaded, rebuilding on changes (Docker or Podman since n8n 3)
343
+ npm run lint # n8n's community-node linter (n8n-node lint)
344
+ npm run build # tsc → dist/, plus the icons
345
+ npm test # build, then node:test unit tests (test/*.test.mjs), no n8n runtime or network
346
+ JAMFRAME_SMOKE_API_KEY=jf_live_… npm run test:smoke # the built node against a running API (1 credit)
347
+ ```
348
+
349
+ `n8n-node dev --external-n8n` loads the package into an n8n you started
350
+ yourself with `N8N_DEV_RELOAD=true`.
351
+
352
+ The tests drive the built nodes with a fake n8n context whose HTTP helper
353
+ answers from a script: the render, render log, job polling, AI design (with
354
+ its job), background removal and transcription (URL and multipart uploads),
355
+ workflow runs, social post, analytics and pagination requests, error mapping,
356
+ the template and workflow pickers, the parameter mapper, and the trigger's
357
+ subscribe / verify / unsubscribe cycle. One test checks that every resource
358
+ and operation in the UI has a handler.
359
+
360
+ `test:smoke` (`test/live.smoke.mjs`) runs the built node against a real API:
361
+ `JAMFRAME_SMOKE_BASE_URL` defaults to `http://localhost:3100`. It checks the
362
+ credential, the template picker, a one-page PNG render of a library template
363
+ (1 credit), the render log, workflows and analytics. With
364
+ `JAMFRAME_SMOKE_AI=1` it also uploads that PNG to Remove Background (1 AI
365
+ credit).
366
+
367
+ Layout:
368
+
369
+ ```
370
+ credentials/JamFrameApi.credentials.ts API key + base URL, Bearer auth, test request
371
+ nodes/JamFrame/ the action node: description files, methods (pickers, mapper, sizes, accounts), actions
372
+ nodes/JamFrameTrigger/ the trigger node
373
+ shared/brand.ts product name, default base URL, docs URL
374
+ shared/helpers.ts pure helpers (signature check, modifications, pagination, result shaping)
375
+ shared/transport.ts API calls, file uploads, error mapping, 429 retry, polling (render jobs, AI designs, workflow runs)
376
+ icons/ the JF mark (the same file for light and dark themes)
377
+ test/ unit tests, and the live smoke test
378
+ .github/workflows/ CI and the provenance publish workflow from n8n's template
379
+ ```
380
+
381
+ ## Publishing (not done yet)
382
+
383
+ Nothing has been published. To publish and get the node verified (n8n's
384
+ requirements as of 2026-11-10):
385
+
386
+ 1. **Decide the name** and apply [Renaming](#renaming) if it changes. Reserve
387
+ the npm name (`n8n-nodes-jamframe`, or `@<org>/n8n-nodes-jamframe` under
388
+ an npm organization).
389
+ 2. **Create the public GitHub repository** this package's URLs point at,
390
+ `github.com/JamFrame-com/n8n-nodes-jamframe` (the `repository` and `homepage` in
391
+ `package.json`, the codex `.node.json` files, `documentationUrl` in the
392
+ credential and `docsUrl` in `shared/brand.ts`), and push this folder to it.
393
+ n8n checks that the npm package's repository URL, author and git link match
394
+ a public repository, and GitHub only runs workflows from a repository's
395
+ root `.github/`.
396
+ 3. **Check the icons** in `icons/` (SVG, light and dark variants) and the
397
+ author email in `package.json`.
398
+ 4. **npm**: create the account (or organization), then add a **Trusted
399
+ Publisher** for the package (GitHub Actions, the repository, workflow
400
+ `publish.yml`), or store a granular token as the `NPM_TOKEN` Actions secret.
401
+ Since 1 May 2026 n8n accepts only packages published from GitHub Actions
402
+ with a provenance statement; `.github/workflows/publish.yml` does that on a
403
+ version tag.
404
+ 5. **Release**: `npm run release` (lint, build, version bump, changelog, tag,
405
+ push); the tag triggers the publish workflow.
406
+ 6. **Check**: `npx @n8n/scan-community-package n8n-nodes-jamframe` against
407
+ the published package.
408
+ 7. **Submit** for verification at the n8n Creator Portal,
409
+ <https://creators.n8n.io/nodes> (review takes up to four weeks).
410
+
411
+ ## Requirements this package follows
412
+
413
+ Checked against n8n's documentation on 2026-11-10:
414
+
415
+ - Naming `n8n-nodes-…` or `@scope/n8n-nodes-…`, the `n8n-community-node-package`
416
+ keyword, and an `n8n` section in `package.json` listing `dist/` node and
417
+ credential files with `n8nNodesApiVersion: 1` and `strict: true`
418
+ ([submit community nodes](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/),
419
+ the `@n8n/node-cli` template).
420
+ - Built with the official tooling, `@n8n/node-cli` 0.55.6 (`n8n-node build`,
421
+ `lint`, `dev`, `release`), from its `programmatic/example` template
422
+ ([n8n-node CLI](https://docs.n8n.io/integrations/creating-nodes/build/n8n-node/)).
423
+ - Verification rules: MIT license, no runtime dependencies, no environment
424
+ variables or file access in the node code, English UI and docs, README,
425
+ publishing from GitHub Actions with provenance, programmatic style for the
426
+ trigger (declarative nodes can't be triggers)
427
+ ([verification guidelines](https://docs.n8n.io/integrations/creating-nodes/build/reference/verification-guidelines/)).
428
+ - `resourceLocator` with a `searchListMethod`, and a `resourceMapper` with a
429
+ `resourceMapperMethod`
430
+ ([UI elements](https://docs.n8n.io/integrations/creating-nodes/build/reference/ui-elements/)).
431
+ - File layout `nodes/<Node>/<Node>.node.ts` + `.node.json` codex,
432
+ `credentials/<Name>.credentials.ts`
433
+ ([node file structure](https://docs.n8n.io/integrations/creating-nodes/build/reference/node-file-structure/)).
434
+ - Manual install into `~/.n8n/nodes`
435
+ ([manual install](https://docs.n8n.io/integrations/community-nodes/installation/manual-install/)).
436
+ - n8n's linter (`@n8n/eslint-plugin-community-nodes` via `n8n-node lint`)
437
+ passes with no errors or warnings. Among its rules: no `setTimeout` (the
438
+ polling uses `sleep` from `n8n-workflow`), only `n8n-workflow` and
439
+ `node:crypto` imported, errors thrown as `NodeApiError` / `NodeOperationError`,
440
+ literal credential `documentationUrl`, codex categories from n8n's list, node
441
+ file names that match the node's `name`, singular resource names.
442
+ - File uploads (Remove Background, Transcribe) use the runtime's built-in
443
+ `FormData` and `Blob`, not the `form-data` package (no dependencies allowed).
444
+ n8n's `httpRequest` hands them to axios, which streams them as
445
+ `multipart/form-data`; checked with n8n-core 2.16 against an echo server.
446
+
447
+ ## Renaming
448
+
449
+ `shared/brand.ts` holds the display name, the default base URL, the API key
450
+ hint and the docs URL. n8n requires the rest to be literals, so a rename also
451
+ edits (all before the first publish; node and credential names are stored in
452
+ users' workflows):
453
+
454
+ - `package.json`: `name`, `description`, `keywords`, `homepage`, `repository`,
455
+ `author`, and the `n8n.nodes` / `n8n.credentials` paths if files are renamed.
456
+ - `credentials/JamFrameApi.credentials.ts`: the class name, `name =
457
+ 'jamFrameApi'` (also `CREDENTIAL_NAME` in `shared/brand.ts` and the
458
+ `credentials` entry of both nodes), `displayName`, `documentationUrl`.
459
+ - `nodes/JamFrame/JamFrame.node.ts` and
460
+ `nodes/JamFrameTrigger/JamFrameTrigger.node.ts`: the class names,
461
+ `name: 'jamFrame'` / `'jamFrameTrigger'`, the trigger's `displayName`
462
+ (n8n's linter wants "Trigger" in a literal). The linter also wants each
463
+ node file named after its `name` with a capital first letter (`jamFrame` →
464
+ `JamFrame.node.ts`).
465
+ - The `.node.json` codex files: `node` (`<package>.<node name>`) and the URLs.
466
+ - The folder, file and icon names, and the paths in `test/`.
467
+
468
+ ## License
469
+
470
+ [MIT](LICENSE.md)
@@ -0,0 +1,10 @@
1
+ import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class JamFrameApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ icon: Icon;
6
+ documentationUrl: string;
7
+ properties: INodeProperties[];
8
+ authenticate: IAuthenticateGeneric;
9
+ test: ICredentialTestRequest;
10
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JamFrameApi = void 0;
4
+ const brand_1 = require("../shared/brand");
5
+ class JamFrameApi {
6
+ constructor() {
7
+ this.name = 'jamFrameApi';
8
+ this.displayName = 'JamFrame API';
9
+ this.icon = { light: 'file:../icons/jamframe.svg', dark: 'file:../icons/jamframe.dark.svg' };
10
+ this.documentationUrl = 'https://github.com/JamFrame-com/n8n-nodes-jamframe?tab=readme-ov-file#credentials';
11
+ this.properties = [
12
+ {
13
+ displayName: 'API Key',
14
+ name: 'apiKey',
15
+ type: 'string',
16
+ typeOptions: { password: true },
17
+ required: true,
18
+ default: '',
19
+ description: brand_1.BRAND.apiKeysHint,
20
+ },
21
+ {
22
+ displayName: 'Base URL',
23
+ name: 'baseUrl',
24
+ type: 'string',
25
+ required: true,
26
+ default: brand_1.BRAND.defaultBaseUrl,
27
+ description: 'The API’s address, without /v1. Change it only for a staging or self-hosted instance.',
28
+ },
29
+ ];
30
+ this.authenticate = {
31
+ type: 'generic',
32
+ properties: {
33
+ headers: {
34
+ Authorization: '=Bearer {{$credentials.apiKey}}',
35
+ },
36
+ },
37
+ };
38
+ this.test = {
39
+ request: {
40
+ baseURL: '={{$credentials.baseUrl.replace(/\\/+$/, "").replace(/(\\/api)?\\/v1$/, "")}}',
41
+ url: '/v1/auth',
42
+ method: 'POST',
43
+ },
44
+ };
45
+ }
46
+ }
47
+ exports.JamFrameApi = JamFrameApi;
48
+ //# sourceMappingURL=JamFrameApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JamFrameApi.credentials.js","sourceRoot":"","sources":["../../credentials/JamFrameApi.credentials.ts"],"names":[],"mappings":";;;AAQA,2CAAwC;AAOxC,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,cAAc,CAAC;QAE7B,SAAI,GAAS,EAAE,KAAK,EAAE,4BAA4B,EAAE,IAAI,EAAE,iCAAiC,EAAE,CAAC;QAE9F,qBAAgB,GACf,mFAAmF,CAAC;QAErF,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,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,aAAK,CAAC,WAAW;aAC9B;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,aAAK,CAAC,cAAc;gBAC7B,WAAW,EACV,uFAAuF;aACxF;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,+EAA+E;gBACxF,GAAG,EAAE,UAAU;gBACf,MAAM,EAAE,MAAM;aACd;SACD,CAAC;IACH,CAAC;CAAA;AA/CD,kCA+CC"}
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="160 145 408 408">
2
+ <path fill="#00aa94" fill-rule="evenodd" d="M355.38,271.03 C359.55,269.65 365.83,269.86 370.28,269.74 C379.28,269.5 388.29,269.42 397.29,269.34 C429.63,269.05 461.97,268.93 494.32,268.75 C503.99,268.69 513.66,268.64 523.32,268.58 C528.34,268.56 535.01,269.09 539.75,267.68 C541.66,267.11 543.49,266.24 545.26,265.33 C551.98,261.86 557,256.68 560.36,249.91 C561.33,247.97 562.25,246 562.78,243.89 C564.08,238.7 563.83,230.01 563.91,224.45 C564.1,210.98 563.16,199.25 552.33,189.71 C548.47,186.31 543.52,183.19 538.46,182.02 C534.12,181.02 523.93,181.47 518.99,181.46 C505.66,181.43 492.32,181.4 478.98,181.37 C427.14,181.25 375.28,180.9 323.44,181.16 C314.73,181.21 299.56,180.88 291.47,182.34 C273.6,185.56 259.38,195.76 250.84,211.75 C247.98,217.1 245.33,222.98 244.21,228.97 C243.33,233.65 243.58,239.15 243.49,243.94 C243.32,252.44 243.24,260.95 243.18,269.45 C242.95,298.79 243.05,328.13 243,357.47 C242.98,367.14 242.98,376.82 242.8,386.48 C242.72,390.83 242.89,397.89 241.98,401.95 C240.79,407.24 236.52,411.46 231.21,412.57 C227,413.45 221.6,412.95 217.23,413.1 C209.43,413.37 201.52,414.32 194.14,416.97 C183.33,420.85 174.08,429.03 168.97,439.35 C165.38,446.57 164.22,454.66 164.03,462.64 C163.93,466.95 163.93,471.34 164.54,475.62 C166.31,488.05 172.88,499.68 183.03,507.13 C188.29,510.98 194.62,514.17 201,515.65 C205.99,516.81 211.34,516.7 216.43,516.79 C224.44,516.94 232.44,516.94 240.44,516.95 C252.83,516.97 275.52,517.75 286.75,514.38 C290.27,513.33 293.62,511.79 296.92,510.21 C312.9,502.58 323.57,491.16 331.23,475.3 C332.97,471.71 334.81,468.13 335.89,464.26 C338.68,454.29 338.43,435.28 338.56,424.42 C338.84,401.75 338.91,379.08 339.05,356.4 C339.15,340.9 339.25,325.4 339.35,309.89 C339.38,305.06 339.41,300.22 339.44,295.39 C339.46,292.59 339.23,289.66 339.92,286.93 C341.69,279.92 348.6,273.26 355.38,271.03 Z"/>
3
+ <path fill="#fec002" fill-rule="evenodd" d="M453.28,395.6 C454.34,389.69 460.2,383.02 465.82,380.95 C468.78,379.85 472.09,379.9 475.2,379.75 C489.85,379.03 504.54,379 519.2,378.79 C524.48,378.72 535.55,379.1 540.13,377.82 C542.69,377.11 545.11,375.84 547.43,374.59 C554.77,370.66 560.47,363.7 562.52,355.55 C563.85,350.27 563.77,344.54 563.89,339.13 C564.23,323.59 563.43,310.41 549.05,301.28 C542.72,297.26 537.45,297.57 530.28,297.43 C522.61,297.28 514.94,297.24 507.28,297.21 C474.44,297.07 441.59,297.29 408.75,297.41 C403.29,297.43 387.62,297.01 383.29,297.99 C377.18,299.37 371.13,303.76 367.54,308.82 C365.19,312.13 362.94,315.97 362.02,319.96 C361.02,324.32 361.5,339.03 361.5,344.42 C361.5,366.93 361.5,389.43 361.5,411.94 C361.5,434.28 361.5,456.62 361.5,478.95 C361.5,483.62 361.06,492.22 361.9,496.43 C363.17,502.87 367.63,508.84 372.96,512.55 C375.02,513.98 377.28,515.09 379.71,515.73 C385.47,517.25 397.32,516.77 403.65,516.72 C409.48,516.68 415.32,516.66 421.15,516.51 C426.01,516.39 430.86,516.3 435.31,514.1 C441.59,510.99 448.15,504.81 450.22,497.99 C451.82,492.71 451.56,481.01 451.66,475.08 C451.94,458.08 452.02,441.07 452.23,424.07 C452.32,416.88 452.11,402.04 453.28,395.6 Z M549.47,436.6 C549.47,456.12 533.65,471.94 514.13,471.94 C494.6,471.94 478.78,456.12 478.78,436.6 C478.78,417.08 494.6,401.25 514.13,401.25 C533.65,401.25 549.47,417.08 549.47,436.6 Z"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="160 145 408 408">
2
+ <path fill="#00aa94" fill-rule="evenodd" d="M355.38,271.03 C359.55,269.65 365.83,269.86 370.28,269.74 C379.28,269.5 388.29,269.42 397.29,269.34 C429.63,269.05 461.97,268.93 494.32,268.75 C503.99,268.69 513.66,268.64 523.32,268.58 C528.34,268.56 535.01,269.09 539.75,267.68 C541.66,267.11 543.49,266.24 545.26,265.33 C551.98,261.86 557,256.68 560.36,249.91 C561.33,247.97 562.25,246 562.78,243.89 C564.08,238.7 563.83,230.01 563.91,224.45 C564.1,210.98 563.16,199.25 552.33,189.71 C548.47,186.31 543.52,183.19 538.46,182.02 C534.12,181.02 523.93,181.47 518.99,181.46 C505.66,181.43 492.32,181.4 478.98,181.37 C427.14,181.25 375.28,180.9 323.44,181.16 C314.73,181.21 299.56,180.88 291.47,182.34 C273.6,185.56 259.38,195.76 250.84,211.75 C247.98,217.1 245.33,222.98 244.21,228.97 C243.33,233.65 243.58,239.15 243.49,243.94 C243.32,252.44 243.24,260.95 243.18,269.45 C242.95,298.79 243.05,328.13 243,357.47 C242.98,367.14 242.98,376.82 242.8,386.48 C242.72,390.83 242.89,397.89 241.98,401.95 C240.79,407.24 236.52,411.46 231.21,412.57 C227,413.45 221.6,412.95 217.23,413.1 C209.43,413.37 201.52,414.32 194.14,416.97 C183.33,420.85 174.08,429.03 168.97,439.35 C165.38,446.57 164.22,454.66 164.03,462.64 C163.93,466.95 163.93,471.34 164.54,475.62 C166.31,488.05 172.88,499.68 183.03,507.13 C188.29,510.98 194.62,514.17 201,515.65 C205.99,516.81 211.34,516.7 216.43,516.79 C224.44,516.94 232.44,516.94 240.44,516.95 C252.83,516.97 275.52,517.75 286.75,514.38 C290.27,513.33 293.62,511.79 296.92,510.21 C312.9,502.58 323.57,491.16 331.23,475.3 C332.97,471.71 334.81,468.13 335.89,464.26 C338.68,454.29 338.43,435.28 338.56,424.42 C338.84,401.75 338.91,379.08 339.05,356.4 C339.15,340.9 339.25,325.4 339.35,309.89 C339.38,305.06 339.41,300.22 339.44,295.39 C339.46,292.59 339.23,289.66 339.92,286.93 C341.69,279.92 348.6,273.26 355.38,271.03 Z"/>
3
+ <path fill="#fec002" fill-rule="evenodd" d="M453.28,395.6 C454.34,389.69 460.2,383.02 465.82,380.95 C468.78,379.85 472.09,379.9 475.2,379.75 C489.85,379.03 504.54,379 519.2,378.79 C524.48,378.72 535.55,379.1 540.13,377.82 C542.69,377.11 545.11,375.84 547.43,374.59 C554.77,370.66 560.47,363.7 562.52,355.55 C563.85,350.27 563.77,344.54 563.89,339.13 C564.23,323.59 563.43,310.41 549.05,301.28 C542.72,297.26 537.45,297.57 530.28,297.43 C522.61,297.28 514.94,297.24 507.28,297.21 C474.44,297.07 441.59,297.29 408.75,297.41 C403.29,297.43 387.62,297.01 383.29,297.99 C377.18,299.37 371.13,303.76 367.54,308.82 C365.19,312.13 362.94,315.97 362.02,319.96 C361.02,324.32 361.5,339.03 361.5,344.42 C361.5,366.93 361.5,389.43 361.5,411.94 C361.5,434.28 361.5,456.62 361.5,478.95 C361.5,483.62 361.06,492.22 361.9,496.43 C363.17,502.87 367.63,508.84 372.96,512.55 C375.02,513.98 377.28,515.09 379.71,515.73 C385.47,517.25 397.32,516.77 403.65,516.72 C409.48,516.68 415.32,516.66 421.15,516.51 C426.01,516.39 430.86,516.3 435.31,514.1 C441.59,510.99 448.15,504.81 450.22,497.99 C451.82,492.71 451.56,481.01 451.66,475.08 C451.94,458.08 452.02,441.07 452.23,424.07 C452.32,416.88 452.11,402.04 453.28,395.6 Z M549.47,436.6 C549.47,456.12 533.65,471.94 514.13,471.94 C494.6,471.94 478.78,456.12 478.78,436.6 C478.78,417.08 494.6,401.25 514.13,401.25 C533.65,401.25 549.47,417.08 549.47,436.6 Z"/>
4
+ </svg>
@@ -0,0 +1,19 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class JamFrame implements INodeType {
3
+ description: INodeTypeDescription;
4
+ methods: {
5
+ listSearch: {
6
+ searchTemplates(this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string, paginationToken?: string): Promise<import("n8n-workflow").INodeListSearchResult>;
7
+ searchWorkflows(this: import("n8n-workflow").ILoadOptionsFunctions, filter?: string): Promise<import("n8n-workflow").INodeListSearchResult>;
8
+ searchSizes(this: import("n8n-workflow").ILoadOptionsFunctions): Promise<import("n8n-workflow").INodeListSearchResult>;
9
+ };
10
+ loadOptions: {
11
+ getSizes(this: import("n8n-workflow").ILoadOptionsFunctions): Promise<import("n8n-workflow").INodePropertyOptions[]>;
12
+ getSocialAccounts(this: import("n8n-workflow").ILoadOptionsFunctions): Promise<import("n8n-workflow").INodePropertyOptions[]>;
13
+ };
14
+ resourceMapping: {
15
+ getTemplateParameters(this: import("n8n-workflow").ILoadOptionsFunctions): Promise<import("n8n-workflow").ResourceMapperFields>;
16
+ };
17
+ };
18
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
19
+ }