n8n-nodes-paaalleeee 0.1.7

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 ADDED
@@ -0,0 +1,7 @@
1
+ Copyright 2025 n8n
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,108 @@
1
+ ![README banner](https://github.com/haxbxbdbhshs/Palatine-Speech-Node-n8n/blob/main/docs/assets/Header.png)
2
+
3
+ # n8n-nodes-palatine-speech
4
+
5
+ > Designed for seamless integration of the **Palatine Speech API** into n8n workflows.
6
+
7
+ This is an n8n community node that integrates [Palatine Speech](https://speech.palatine.ru/) into your workflows and enables audio processing tasks such as transcription, diarization, sentiment analysis, and summarization.
8
+
9
+ ## Navigation
10
+
11
+ [Supported Operations](#supported-operations)\
12
+ [Installation](#installation)\
13
+ [Credentials](#credentials)\
14
+ [Workflow Example](#workflow-example)\
15
+ [Use Cases](#use-cases) \
16
+ [Compatibility](#compatibility)\
17
+ [Useful Resources](#useful-resources)\
18
+ [Keywords](#keywords)
19
+
20
+ [Russian version of README](https://gist.github.com/haxbxbdbhshs/b7dfc63659d0417b3d73d0b1d0a3002f)
21
+
22
+ ## Supported Operations
23
+
24
+ For details on each operation, see the [Palatine Speech documentation](https://docs.speech.palatine.ru/documentation/quick_start/transcription). You can also open the documentation by clicking the operation title below.
25
+
26
+ * [Full list of supported file types](https://docs.speech.palatine.ru/documentation/technical_information/supported_files)
27
+ * [Full list of supported languages](https://docs.speech.palatine.ru/documentation/technical_information/supported_languages)
28
+
29
+ ### [Transcribe — speech transcription](https://docs.speech.palatine.ru/documentation/quick_start/transcription)
30
+
31
+ Speech-to-Text (STT) converts audio/video into a written transcript.
32
+ It supports multiple languages and can automatically detect the language spoken in the recording.
33
+ It is well-suited for calls, interviews, lectures, and any other recordings where you need an accurate text version of what was said.
34
+
35
+ ### [Diarize — speaker diarization](https://docs.speech.palatine.ru/api-reference/diarization/diarization-polling-api/diarize)
36
+
37
+ Speaker diarization separates a recording into speaker segments and identifies who is speaking in each segment. This is useful for meetings and interviews, where keeping the conversation structure by speaker matters.
38
+
39
+ ### [Sentiment Analysis — sentiment analysis](https://docs.speech.palatine.ru/documentation/quick_start/sentiment_analyze#sozdanie-zadachi)
40
+
41
+ Determines the emotional tone of speech in audio/video (and can also analyze text). The result is a ranked list of sentiment classes with probabilities, where the first item is the most likely: `Very Negative`, `Negative`, `Neutral`, `Positive`, `Very Positive`.
42
+
43
+ ### [Summarize — audio summarization](https://docs.speech.palatine.ru/documentation/quick_start/summarization)
44
+
45
+ Generates a structured summary from audio/video (or from already available text). In addition to built-in scenarios such as `meeting_summary`, it supports `user_prompt` — you can provide a custom prompt for the LLM to produce output in the structure you need (bullet points, decisions and action items, risks, Q&A, etc.).
46
+
47
+ ## Installation
48
+
49
+ 1. In your n8n instance, go to **Settings > Community Nodes → Install**
50
+ 2. Enter: `n8n-nodes-palatine-speech`
51
+ 3. Click **Install**
52
+ > ⚠️ Make sure the environment variable `N8N_COMMUNITY_PACKAGES_ENABLED=true` is set.
53
+
54
+ ## Credentials
55
+
56
+ 1. Go to **Credentials → + Create**
57
+ 2. Find **Palatine Speech API**
58
+ 3. Fill in the fields:
59
+ * **API Key** — available in your Palatine Speech dashboard
60
+ * **Base URL** — default is `https://api.palatine.ru`
61
+
62
+ ## Workflow Example
63
+
64
+ 1. `Webhook` → Receive an audio file
65
+ 2. `Config` → Configure parameters
66
+ 3. `Palatine Speech` → Transcribe the file
67
+ 4. `Create record` → Create a table record
68
+ 5. `Telegram` → Send the result to a chat
69
+
70
+ ![workflow example](https://github.com/haxbxbdbhshs/Palatine-Speech-Node-n8n/blob/main/docs/assets/WorkflowExample.png)
71
+
72
+ ## Use Cases
73
+
74
+ * **Meeting summaries** \
75
+ For meeting and interview recordings, it is recommended to use `Summarize` (`meeting_summary`): it produces a brief summary, a list of decisions, and group action items by owner and due date; the result can be sent to the team chat if needed. \
76
+ For non-standard requests, specify `Prompt` in `Summarize` and provide the required instruction, for example: “Additionally, structure the agreements by deadlines and owners.”
77
+
78
+ * **Lecture/webinar notes** \
79
+ Session recording → `Transcribe` → generate a full transcript. \
80
+ Save the resulting text alongside the session materials.
81
+
82
+ * **Automatic subtitles for video** \
83
+ Extract the audio track → `Transcribe` + `Diarize` → convert the result to SRT/VTT and attach it to the video. \
84
+ `Transcribe` produces the transcript, while `Diarize` provides speaker segmentation for multi-speaker recordings.
85
+
86
+ * **Customer support assistant** \
87
+ Processing voice messages with `Sentiment Analysis` helps determine the emotional tone of the request. \
88
+ Based on the result, tickets can be created in the CRM and a priority can be assigned.
89
+
90
+ ## Compatibility
91
+
92
+ This node was tested with n8n v1.39.1 and later.
93
+
94
+ ## Useful Resources
95
+
96
+ * [Palatine Speech documentation](https://docs.speech.palatine.ru/documentation/quick_start/transcription)
97
+ * [n8n Community Nodes guide](https://docs.n8n.io/integrations/community-nodes/)
98
+ * [Official n8n GitHub](https://github.com/n8n-io/n8n)
99
+
100
+ ## Keywords
101
+
102
+ `n8n-community-node-package`, `n8n`, `palatine`, `speech-to-text`, `transcribe`, `transcription`, `stt`, `audio`, `ai`, `automation`, `voice-to-text`, `speech-recognition`, `audio-transcription`, `audio2text`, `audio-processing`, `diarization`, `speaker-diarization`, `speaker-segmentation`, `summarization`, `audio-summarization`, `sentiment-analysis`, `emotion-detection`, `tone-analysis`
103
+
104
+ ## License
105
+ MIT
106
+
107
+ ## Support
108
+ Telegram @Speech_Palatine_Support_Bot
@@ -0,0 +1,8 @@
1
+ import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class PalatineSpeechNodeApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PalatineSpeechNodeApi = void 0;
4
+ class PalatineSpeechNodeApi {
5
+ name = 'PalatineSpeechNodeApi';
6
+ displayName = 'Palatine Speech API';
7
+ documentationUrl = 'https://docs.speech.palatine.ru/api-reference';
8
+ properties = [
9
+ {
10
+ displayName: 'Base URL',
11
+ name: 'baseUrl',
12
+ type: 'string',
13
+ default: 'https://api.palatine.ru',
14
+ placeholder: 'https://api.palatine.ru',
15
+ required: true,
16
+ },
17
+ {
18
+ displayName: 'API Key',
19
+ name: 'apiKey',
20
+ type: 'string',
21
+ typeOptions: { password: true },
22
+ default: '',
23
+ required: true,
24
+ },
25
+ ];
26
+ authenticate = {
27
+ type: 'generic',
28
+ properties: {
29
+ headers: {
30
+ Authorization: '={{"Bearer " + $credentials.apiKey}}',
31
+ },
32
+ },
33
+ };
34
+ }
35
+ exports.PalatineSpeechNodeApi = PalatineSpeechNodeApi;
@@ -0,0 +1,3 @@
1
+ import { PalatineSpeechNode } from './nodes/PalatineSpeechNode/PalatineSpeechNode.node';
2
+ import { PalatineSpeechNodeApi } from './credentials/PalatineSpeechNodeApi.credentials';
3
+ export { PalatineSpeechNode, PalatineSpeechNodeApi };
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PalatineSpeechNodeApi = exports.PalatineSpeechNode = void 0;
4
+ const PalatineSpeechNode_node_1 = require("./nodes/PalatineSpeechNode/PalatineSpeechNode.node");
5
+ Object.defineProperty(exports, "PalatineSpeechNode", { enumerable: true, get: function () { return PalatineSpeechNode_node_1.PalatineSpeechNode; } });
6
+ const PalatineSpeechNodeApi_credentials_1 = require("./credentials/PalatineSpeechNodeApi.credentials");
7
+ Object.defineProperty(exports, "PalatineSpeechNodeApi", { enumerable: true, get: function () { return PalatineSpeechNodeApi_credentials_1.PalatineSpeechNodeApi; } });
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class PalatineSpeechNode implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,282 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PalatineSpeechNode = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ class PalatineSpeechNode {
6
+ description = {
7
+ displayName: 'Palatine Speech',
8
+ name: 'PalatineSpeechNode',
9
+ icon: {
10
+ light: 'file:logoLight.svg',
11
+ dark: 'file:logoDark.svg',
12
+ },
13
+ group: ['transform'],
14
+ version: 1,
15
+ description: 'Use Palatine Speech API to transcribe audio, diarize speakers, analyze sentiment, generate AI summaries and more.',
16
+ defaults: {
17
+ name: 'Palatine Speech',
18
+ },
19
+ inputs: ['main'],
20
+ outputs: ['main'],
21
+ credentials: [{ name: 'PalatineSpeechNodeApi', required: true }],
22
+ properties: [
23
+ {
24
+ displayName: 'File',
25
+ name: 'binaryProperty',
26
+ type: 'string',
27
+ default: 'data',
28
+ description: 'Name of the binary property that contains the audio file',
29
+ },
30
+ {
31
+ displayName: 'Task',
32
+ name: 'task',
33
+ type: 'options',
34
+ options: [
35
+ { name: 'Transcribe', value: 'transcribe', description: 'Convert speech in the audio file to text.' },
36
+ { name: 'Diarize', value: 'diarize', description: 'Split audio by speakers and return timestamps for each segment.' },
37
+ { name: 'Sentiment Analysis', value: 'sentiment', description: 'Detect sentiment/emotion in the audio and return scores.' },
38
+ { name: 'Summarize', value: 'summarize', description: 'Generate an AI summary of the audio (notes, decisions, action items).' },
39
+ ],
40
+ default: 'transcribe',
41
+ description: 'Select what to do with the audio file.',
42
+ },
43
+ {
44
+ displayName: 'Model',
45
+ name: 'model',
46
+ type: 'options',
47
+ options: [
48
+ { name: 'palatine_small', value: 'palatine_small', description: 'Faster processing (recommended for most cases).' },
49
+ { name: 'palatine_large_highspeed', value: 'palatine_large_highspeed', description: 'Higher accuracy (may take a little longer).' },
50
+ ],
51
+ default: 'palatine_small',
52
+ description: 'Model used for processing (applies to all tasks).',
53
+ },
54
+ // Summarize-only
55
+ {
56
+ displayName: 'AI Task',
57
+ name: 'summarizeTask',
58
+ type: 'options',
59
+ options: [
60
+ { name: 'Meeting Summary', value: 'meeting_summary', description: 'Ready-made meeting summary: key points, decisions, and action items.' },
61
+ { name: 'User Prompt', value: 'user_prompt', description: 'Use your own prompt to control the summary format/content.' },
62
+ ],
63
+ default: 'user_prompt',
64
+ description: 'Summarization mode.',
65
+ displayOptions: { show: { task: ['summarize'] } },
66
+ },
67
+ {
68
+ displayName: 'Prompt',
69
+ name: 'summarizePrompt',
70
+ type: 'string',
71
+ default: '',
72
+ description: 'Your instruction for the AI. Used only with "User Prompt". Leave blank to use the default prompt.',
73
+ displayOptions: {
74
+ show: {
75
+ task: ['summarize'],
76
+ summarizeTask: ['user_prompt'],
77
+ },
78
+ },
79
+ },
80
+ {
81
+ displayName: 'Thinking',
82
+ name: 'summarizeThinking',
83
+ type: 'boolean',
84
+ default: false,
85
+ description: 'Enable "thinking" mode for deeper reasoning (may increase processing time).',
86
+ displayOptions: { show: { task: ['summarize'] } },
87
+ },
88
+ ],
89
+ };
90
+ async execute() {
91
+ const items = this.getInputData();
92
+ const returnData = [];
93
+ // Polling
94
+ const pollIntervalMs = 2000;
95
+ const maxPollAttempts = 150;
96
+ const credentials = await this.getCredentials('PalatineSpeechNodeApi');
97
+ const baseUrl = String(credentials.baseUrl || '').replace(/\/$/, '');
98
+ if (!baseUrl) {
99
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Credential "Base URL" is empty');
100
+ }
101
+ const request = async (options, itemIndex) => {
102
+ try {
103
+ return await this.helpers.httpRequestWithAuthentication.call(this, 'PalatineSpeechNodeApi', options);
104
+ }
105
+ catch (error) {
106
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), error, { itemIndex });
107
+ }
108
+ };
109
+ const extractTaskId = (resp) => {
110
+ if (!resp || typeof resp !== 'object')
111
+ return undefined;
112
+ return resp.task_id || resp.taskId || resp.id || resp.task?.id;
113
+ };
114
+ const normalizeStatus = (s) => (typeof s === 'string' ? s.trim().toLowerCase() : '');
115
+ const isTerminalSuccess = (statusPayload) => {
116
+ const s = normalizeStatus(statusPayload?.status) ||
117
+ normalizeStatus(statusPayload?.state) ||
118
+ normalizeStatus(statusPayload?.task_status);
119
+ if (['completed', 'done', 'success', 'finished'].includes(s))
120
+ return true;
121
+ const hasResult = statusPayload?.result !== undefined ||
122
+ statusPayload?.data !== undefined ||
123
+ statusPayload?.output !== undefined ||
124
+ statusPayload?.response !== undefined;
125
+ const looksProcessing = ['queued', 'pending', 'processing', 'running', 'in_progress'].includes(s);
126
+ return hasResult && !looksProcessing;
127
+ };
128
+ const isTerminalFailure = (statusPayload) => {
129
+ const s = normalizeStatus(statusPayload?.status) ||
130
+ normalizeStatus(statusPayload?.state) ||
131
+ normalizeStatus(statusPayload?.task_status);
132
+ return ['failed', 'error', 'canceled', 'cancelled'].includes(s);
133
+ };
134
+ const unwrapFinalPayload = (statusPayload) => statusPayload?.result ??
135
+ statusPayload?.data ??
136
+ statusPayload?.output ??
137
+ statusPayload?.response ??
138
+ statusPayload;
139
+ for (let i = 0; i < items.length; i++) {
140
+ try {
141
+ const binaryProperty = this.getNodeParameter('binaryProperty', i);
142
+ const task = this.getNodeParameter('task', i);
143
+ const model = this.getNodeParameter('model', i);
144
+ const binaryData = items[i].binary?.[binaryProperty];
145
+ if (!binaryData) {
146
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `No binary data in property "${binaryProperty}"`, {
147
+ itemIndex: i,
148
+ });
149
+ }
150
+ let summarizeTask;
151
+ let summarizeThinking = false;
152
+ let summarizePromptRaw = '';
153
+ if (task === 'summarize') {
154
+ summarizeTask = this.getNodeParameter('summarizeTask', i);
155
+ summarizeThinking = this.getNodeParameter('summarizeThinking', i);
156
+ if (summarizeTask === 'user_prompt') {
157
+ summarizePromptRaw = this.getNodeParameter('summarizePrompt', i, '') || '';
158
+ }
159
+ }
160
+ const audioBuffer = await this.helpers.getBinaryDataBuffer(i, binaryProperty);
161
+ // Endpoints (polling API)
162
+ let url;
163
+ let qs;
164
+ switch (task) {
165
+ case 'transcribe':
166
+ url = `${baseUrl}/api/v1/transcribe/do_transcribe`;
167
+ break;
168
+ case 'diarize':
169
+ url = `${baseUrl}/api/v1/diarization/do_diarize`;
170
+ break;
171
+ case 'sentiment':
172
+ url = `${baseUrl}/api/v1/sentiment_analysis/analyze_file`;
173
+ break;
174
+ case 'summarize': {
175
+ if (!summarizeTask) {
176
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Summarize: summarizeTask is missing', {
177
+ itemIndex: i,
178
+ });
179
+ }
180
+ const promptToSend = summarizeTask === 'meeting_summary'
181
+ ? '*'
182
+ : (summarizePromptRaw || '').trim() || '*';
183
+ url = `${baseUrl}/api/v1/ai_service/summarize_file`;
184
+ qs = {
185
+ task: summarizeTask,
186
+ prompt: promptToSend,
187
+ thinking: summarizeThinking,
188
+ };
189
+ break;
190
+ }
191
+ default:
192
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown task: ${task}`, { itemIndex: i });
193
+ }
194
+ // Multipart via built-in FormData/Blob (Node 18+)
195
+ const form = new FormData();
196
+ const fileName = binaryData.fileName || 'audio';
197
+ const mimeType = binaryData.mimeType || 'audio/mpeg';
198
+ const u8 = new Uint8Array(audioBuffer); // создаёт копию и гарантирует ArrayBuffer под капотом
199
+ form.append('file', new Blob([u8], { type: mimeType }), fileName);
200
+ form.append('model', model);
201
+ const createOptions = {
202
+ method: 'POST',
203
+ url,
204
+ qs,
205
+ body: form,
206
+ json: true,
207
+ };
208
+ const createResp = await request(createOptions, i);
209
+ let finalResponse = createResp;
210
+ const taskId = extractTaskId(createResp);
211
+ // If API responded with task_id → poll unified status endpoint
212
+ if (taskId) {
213
+ const statusUrl = `${baseUrl}/api/v1/transcribe/task_status/${taskId}`;
214
+ let statusPayload = null;
215
+ let completed = false;
216
+ for (let attempt = 1; attempt <= maxPollAttempts; attempt++) {
217
+ statusPayload = await request({
218
+ method: 'GET',
219
+ url: statusUrl,
220
+ json: true,
221
+ }, i);
222
+ if (isTerminalFailure(statusPayload)) {
223
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Task ${taskId} failed: ${statusPayload?.error || statusPayload?.message || JSON.stringify(statusPayload)}`, { itemIndex: i });
224
+ }
225
+ if (isTerminalSuccess(statusPayload)) {
226
+ finalResponse = unwrapFinalPayload(statusPayload);
227
+ completed = true;
228
+ break;
229
+ }
230
+ await (0, n8n_workflow_1.sleep)(pollIntervalMs);
231
+ }
232
+ if (!completed) {
233
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Task ${taskId} did not complete within polling limit (${maxPollAttempts} attempts)`, { itemIndex: i });
234
+ }
235
+ }
236
+ // Output
237
+ const result = {
238
+ task,
239
+ source_file: binaryData.fileName,
240
+ model_used: model,
241
+ };
242
+ if (task === 'transcribe') {
243
+ result.transcription =
244
+ typeof finalResponse === 'string'
245
+ ? finalResponse.trim()
246
+ : finalResponse?.text || finalResponse?.transcription || finalResponse?.data?.text || '';
247
+ }
248
+ else if (task === 'diarize') {
249
+ result.diarization = finalResponse;
250
+ }
251
+ else if (task === 'sentiment') {
252
+ result.sentiment = finalResponse;
253
+ }
254
+ else if (task === 'summarize') {
255
+ result.summary =
256
+ typeof finalResponse === 'string'
257
+ ? finalResponse
258
+ : finalResponse?.summary || finalResponse?.result || finalResponse?.text || finalResponse;
259
+ }
260
+ returnData.push({
261
+ json: result,
262
+ binary: items[i].binary,
263
+ pairedItem: { item: i },
264
+ });
265
+ }
266
+ catch (error) {
267
+ if (this.continueOnFail()) {
268
+ const message = error instanceof Error ? error.message : String(error);
269
+ returnData.push({
270
+ json: { error: message },
271
+ pairedItem: { item: i },
272
+ });
273
+ continue;
274
+ }
275
+ // If it's already a NodeOperationError/NodeApiError — rethrow
276
+ throw error;
277
+ }
278
+ }
279
+ return [returnData];
280
+ }
281
+ }
282
+ exports.PalatineSpeechNode = PalatineSpeechNode;
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #fff;
7
+ }
8
+ </style>
9
+ </defs>
10
+ <path class="cls-1" d="M999.6,477.86C986.95,200.13,768.97-.59,500.05-.59S0,223.29,0,499.46C0,750.41,185.66,953.23,425.85,994.02c94.98,16.13,181.51,2.13,276.77-37.28-11.61-23.27-18.17-49.48-18.17-77.2,0-95.73,77.89-173.62,173.62-173.62,31.41,0,60.88,8.43,86.33,23.08,40.85-78.87,58.56-177.55,55.21-251.15ZM30.97,500.67C30.97,244.48,239.39,36.05,495.58,36.05c124.67,0,241.83,47.42,329.9,133.53,52.73,51.56,91.32,113.49,113.9,181.28-77.66-111.84-207-185.23-353.17-185.23-236.95,0-429.72,192.78-429.72,429.73,0,134.57,62.2,254.87,159.34,333.73C148.64,858.68,30.97,693.16,30.97,500.67ZM357.7,690.04c0-175.96,143.15-319.12,319.12-319.12,122.94,0,229.85,69.89,283.13,172.02-1.07,9.78-2.45,19.6-4.15,29.41-50.22-44.63-116.29-71.79-188.6-71.79-156.72,0-284.22,127.5-284.22,284.22,0,67.24,23.49,129.09,62.67,177.81-10.22,1.09-20.5,1.85-30.84,2.27-93.95-55.6-157.1-157.97-157.1-274.82ZM858.06,668.07c-116.61,0-211.47,94.87-211.47,211.47,0,20.03,2.86,39.39,8.09,57.76-21.15,7.71-42.74,13.85-64.69,18.38-42.77-44.33-69.16-104.57-69.16-170.89,0-135.85,110.52-246.37,246.37-246.37,70.47,0,134.07,29.79,179.02,77.38-5.74,21.48-12.92,42.65-21.46,63.11-20.98-6.99-43.39-10.84-66.69-10.84ZM676.82,333.07c-196.83,0-356.97,160.14-356.97,356.98,0,108.05,48.26,205.03,124.35,270.54-146.07-57-249.84-199.21-249.84-365.22,0-216.08,175.79-391.87,391.86-391.87,172.08,0,318.6,111.5,371.14,266.04-65.42-83.05-166.86-136.46-280.54-136.46Z"/>
11
+ </svg>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1000 1000">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: url(#linear-gradient);
7
+ }
8
+ </style>
9
+ <linearGradient id="linear-gradient" x1="111.71" y1="121.25" x2="831.21" y2="816.19" gradientUnits="userSpaceOnUse">
10
+ <stop offset=".11" stop-color="#a0001f"/>
11
+ <stop offset=".55" stop-color="#ac2057"/>
12
+ <stop offset="1" stop-color="#b73e8d"/>
13
+ </linearGradient>
14
+ </defs>
15
+ <path class="cls-1" d="M999.6,477.86C986.95,200.13,768.97-.59,500.05-.59S0,223.29,0,499.46C0,750.41,185.66,953.23,425.85,994.02c94.98,16.13,181.51,2.13,276.77-37.28-11.61-23.27-18.17-49.48-18.17-77.2,0-95.73,77.89-173.62,173.62-173.62,31.41,0,60.88,8.43,86.33,23.08,40.85-78.87,58.56-177.55,55.21-251.15ZM30.97,500.67C30.97,244.48,239.39,36.05,495.58,36.05c124.67,0,241.83,47.42,329.9,133.53,52.73,51.56,91.32,113.49,113.9,181.28-77.66-111.84-207-185.23-353.17-185.23-236.95,0-429.72,192.78-429.72,429.73,0,134.57,62.2,254.87,159.34,333.73C148.64,858.68,30.97,693.16,30.97,500.67ZM357.7,690.04c0-175.96,143.15-319.12,319.12-319.12,122.94,0,229.85,69.89,283.13,172.02-1.07,9.78-2.45,19.6-4.15,29.41-50.22-44.63-116.29-71.79-188.6-71.79-156.72,0-284.22,127.5-284.22,284.22,0,67.24,23.49,129.09,62.67,177.81-10.22,1.09-20.5,1.85-30.84,2.27-93.95-55.6-157.1-157.97-157.1-274.82ZM858.06,668.07c-116.61,0-211.47,94.87-211.47,211.47,0,20.03,2.86,39.39,8.09,57.76-21.15,7.71-42.74,13.85-64.69,18.38-42.77-44.33-69.16-104.57-69.16-170.89,0-135.85,110.52-246.37,246.37-246.37,70.47,0,134.07,29.79,179.02,77.38-5.74,21.48-12.92,42.65-21.46,63.11-20.98-6.99-43.39-10.84-66.69-10.84ZM676.82,333.07c-196.83,0-356.97,160.14-356.97,356.98,0,108.05,48.26,205.03,124.35,270.54-146.07-57-249.84-199.21-249.84-365.22,0-216.08,175.79-391.87,391.86-391.87,172.08,0,318.6,111.5,371.14,266.04-65.42-83.05-166.86-136.46-280.54-136.46Z"/>
16
+ </svg>
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "n8n-nodes-paaalleeee",
3
+ "version": "0.1.7",
4
+ "description": "Custom n8n node for Palatine Speech API: transcription, diarization, sentiment analysis, summarization and more",
5
+ "keywords": [
6
+ "n8n-community-node-package",
7
+ "n8n",
8
+ "palatine",
9
+ "speech-to-text",
10
+ "transcribe",
11
+ "transcription",
12
+ "stt",
13
+ "audio",
14
+ "ai",
15
+ "automation",
16
+ "voice-to-text",
17
+ "speech-recognition",
18
+ "audio-transcription",
19
+ "audio2text",
20
+ "audio-processing",
21
+ "diarization",
22
+ "speaker-diarization",
23
+ "speaker-segmentation",
24
+ "summarization",
25
+ "audio-summarization",
26
+ "sentiment-analysis",
27
+ "emotion-detection",
28
+ "tone-analysis"
29
+ ],
30
+ "license": "MIT",
31
+ "author": "palatine-vision",
32
+ "main": "dist/index.js",
33
+ "types": "dist/index.d.ts",
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "scripts": {
38
+ "build": "tsc && npm run copy:assets",
39
+ "copy:assets": "node -e \"const fs=require('fs');const path=require('path');const files=['logoLight.svg','logoDark.svg'];const srcDir=path.join('nodes','PalatineSpeechNode');const dstDir=path.join('dist','nodes','PalatineSpeechNode');fs.mkdirSync(dstDir,{recursive:true});let ok=true;for(const f of files){const src=path.join(srcDir,f);const dst=path.join(dstDir,f);if(!fs.existsSync(src)){console.error('ERROR:',f,'not found at',src);ok=false;continue;}fs.copyFileSync(src,dst);console.log('OK: copied',src,'->',dst);}if(!ok) process.exit(1);\"",
40
+ "dev": "tsc --watch",
41
+ "prepack": "npm run build",
42
+ "prepublishOnly": "npm run build"
43
+ },
44
+ "n8n": {
45
+ "credentials": [
46
+ "dist/credentials/PalatineSpeechNodeApi.credentials.js"
47
+ ],
48
+ "nodes": [
49
+ "dist/nodes/PalatineSpeechNode/PalatineSpeechNode.node.js"
50
+ ]
51
+ },
52
+ "devDependencies": {
53
+ "n8n-core": "^1.80.0",
54
+ "n8n-workflow": "^1.80.0",
55
+ "typescript": "^5.9.3"
56
+ },
57
+ "engines": {
58
+ "node": ">=18.0.0"
59
+ }
60
+ }