n8n-nodes-todayreply 0.0.0-stage → 0.1.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.
Files changed (36) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +154 -2
  3. package/dist/credentials/TodayReplyApi.credentials.d.ts +10 -0
  4. package/dist/credentials/TodayReplyApi.credentials.js +64 -0
  5. package/dist/credentials/TodayReplyApi.credentials.js.map +1 -0
  6. package/dist/icons/todayreply.dark.svg +1 -0
  7. package/dist/icons/todayreply.svg +1 -0
  8. package/dist/nodes/TodayReply/TodayReply.node.d.ts +10 -0
  9. package/dist/nodes/TodayReply/TodayReply.node.js +58 -0
  10. package/dist/nodes/TodayReply/TodayReply.node.js.map +1 -0
  11. package/dist/nodes/TodayReply/TodayReply.node.json +18 -0
  12. package/dist/nodes/TodayReply/resources/conversation/get.d.ts +2 -0
  13. package/dist/nodes/TodayReply/resources/conversation/get.js +76 -0
  14. package/dist/nodes/TodayReply/resources/conversation/get.js.map +1 -0
  15. package/dist/nodes/TodayReply/resources/conversation/getAll.d.ts +2 -0
  16. package/dist/nodes/TodayReply/resources/conversation/getAll.js +178 -0
  17. package/dist/nodes/TodayReply/resources/conversation/getAll.js.map +1 -0
  18. package/dist/nodes/TodayReply/resources/conversation/index.d.ts +2 -0
  19. package/dist/nodes/TodayReply/resources/conversation/index.js +73 -0
  20. package/dist/nodes/TodayReply/resources/conversation/index.js.map +1 -0
  21. package/dist/nodes/TodayReply/shared/listSearch.d.ts +5 -0
  22. package/dist/nodes/TodayReply/shared/listSearch.js +43 -0
  23. package/dist/nodes/TodayReply/shared/listSearch.js.map +1 -0
  24. package/dist/nodes/TodayReply/shared/simplify.d.ts +11 -0
  25. package/dist/nodes/TodayReply/shared/simplify.js +103 -0
  26. package/dist/nodes/TodayReply/shared/simplify.js.map +1 -0
  27. package/dist/nodes/TodayReplyTrigger/TodayReplyTrigger.node.d.ts +12 -0
  28. package/dist/nodes/TodayReplyTrigger/TodayReplyTrigger.node.js +117 -0
  29. package/dist/nodes/TodayReplyTrigger/TodayReplyTrigger.node.js.map +1 -0
  30. package/dist/nodes/TodayReplyTrigger/TodayReplyTrigger.node.json +18 -0
  31. package/dist/nodes/TodayReplyTrigger/signature.d.ts +3 -0
  32. package/dist/nodes/TodayReplyTrigger/signature.js +39 -0
  33. package/dist/nodes/TodayReplyTrigger/signature.js.map +1 -0
  34. package/dist/package.json +61 -0
  35. package/dist/tsconfig.tsbuildinfo +1 -0
  36. package/package.json +59 -4
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TODAY GROUP sp. z o.o.
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,155 @@
1
- # Temporary Holding Version
1
+ # n8n-nodes-todayreply
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
+ [n8n](https://n8n.io/) community nodes for [TodayReply](https://todayreply.pl), a customer service inbox for marketplace sellers (Allegro, e-mail from Erli and Amazon, website chat, Messenger, Instagram, WhatsApp).
4
+
5
+ - [What's included](#whats-included)
6
+ - [Installation](#installation)
7
+ - [TodayReply API credential](#todayreply-api-credential)
8
+ - [Setting up TodayReply Trigger](#setting-up-todayreply-trigger)
9
+ - [Webhook payload](#webhook-payload)
10
+ - [Example workflows](#example-workflows)
11
+ - [Security and limits](#security-and-limits)
12
+ - [What the nodes don't do](#what-the-nodes-dont-do)
13
+ - [Compatibility](#compatibility)
14
+ - [Development](#development)
15
+
16
+ ## What's included
17
+
18
+ | Node | What it does |
19
+ |---|---|
20
+ | **TodayReply** | Reads conversations through the TodayReply public API (version 1, [reference](https://todayreply.pl/dokumentacja-api)). **Conversation → Get Many**: up to 200 of the shop's conversations with the API filters: status, channel, kind (Allegro messages, discussions and claims, ratings, Erli, Amazon), unassigned only, priority, AI-detected topic, needs human only, search; sort and limit. **Conversation → Get**: a conversation with its channel, all messages (team notes too, `direction: note`) and the customer's orders. Getting a conversation marks it as read, like opening it in the panel. Get Many marks nothing. |
21
+ | **TodayReply Trigger** | Starts a workflow when TodayReply sends a webhook: new customer message, reply sent, conversation closed. Checks the HMAC-SHA256 signature and its timestamp (at most 5 minutes off). A request without a valid signature gets 401 and does not run the workflow. |
22
+
23
+ The **Simplify** option (on by default) keeps only the fields described in the API contract, which won't change in version 1. Turned off, it returns the whole response, including fields that may change without notice.
24
+
25
+ ## Installation
26
+
27
+ - **Self-hosted n8n**: Settings → Community Nodes → Install, package name `n8n-nodes-todayreply` (instance owner or admin). Follow the [n8n community nodes installation guide](https://docs.n8n.io/integrations/community-nodes/installation/). Until the package is verified by n8n, n8n 3.x needs `N8N_UNVERIFIED_PACKAGES_ENABLED=true` to load it.
28
+ - **n8n Cloud**: available once the package is verified by n8n (nodes panel, "More from the community").
29
+
30
+ ## TodayReply API credential
31
+
32
+ 1. In TodayReply an admin opens **Ustawienia → Integracje → Klucze API** (Settings → Integrations → API keys) and creates a key, e.g. "n8n". The panel shows the key (`hd_…`) only once.
33
+ 2. In n8n: **Credentials → Add credential → TodayReply API**, field **API Key**.
34
+ 3. Leave **Base URL** at `https://todayreply.pl` unless your panel runs at a different address.
35
+ 4. Fill in **Webhook Secret** only for TodayReply Trigger (below).
36
+ 5. The credential test sends `GET /api/threads?channel_id=0`: with a valid key the response is an empty list, so the test reads no conversation.
37
+
38
+ The key acts as a shop agent and sees conversations from all channels. Deleting the key in the panel cuts n8n off immediately.
39
+
40
+ ## Setting up TodayReply Trigger
41
+
42
+ 1. Add **TodayReply Trigger** to a workflow and pick events in **Trigger On**.
43
+ 2. Expand **Webhook URLs**, switch to **Production URL** and copy the address (`https://<your-n8n>/webhook/<id>/webhook`).
44
+ 3. In TodayReply: **Ustawienia → Integracje → Webhooki** (Settings → Integrations → Webhooks). Paste the address, tick the same events and click **Dodaj webhook** (Add webhook). The panel shows the **Sekret podpisu** (signing secret) only once.
45
+ 4. In n8n paste the secret into the **Webhook Secret** field of the TodayReply API credential selected in the node.
46
+ 5. Publish (activate) the workflow. The production URL answers only then. Without a secret in the credential n8n won't activate the workflow and says why.
47
+ 6. In the panel click **Wyślij test** (Send test) next to the webhook. "Adres odebrał testowe zdarzenie" (the URL received the test event) means the URL and secret match (the test `ping` event does not run the workflow). `HTTP 401`: the secret in n8n differs from the panel. `HTTP 404`: the workflow isn't published or the URL is wrong.
48
+
49
+ Important:
50
+
51
+ - n8n must be reachable from the internet at a public address over HTTPS (port 443). TodayReply rejects internal network addresses and ports other than 80 and 443, including n8n's default `:5678`. n8n Cloud or n8n behind a reverse proxy with HTTPS works. Plain HTTP on port 80 is accepted, but conversation content then travels unencrypted.
52
+ - One webhook in the panel has one secret. A second workflow with a trigger needs a second webhook and a second credential with the same API key and the new secret.
53
+ - Don't paste the test URL (`/webhook-test/`) into the panel: n8n listens there for 120 seconds and for a single call only. To build a workflow use the examples below (Pin data in n8n) or the first real execution (Executions → Debug in editor).
54
+ - A webhook in the panel has its own event list. An event the node doesn't listen to gets 200 and doesn't run the workflow.
55
+
56
+ ## Webhook payload
57
+
58
+ TodayReply sends `POST` with `Content-Type: application/json` and the header `X-Helpdesk-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "t.body", key: secret>`. The node outputs the whole event: `{event, created_at, data}`. Times are milliseconds since 1970-01-01 (UTC).
59
+
60
+ `message.received` (a message from the customer; automatic e-mails and blocked senders don't count):
61
+
62
+ ```json
63
+ {
64
+ "event": "message.received",
65
+ "created_at": 1794700800123,
66
+ "data": {
67
+ "thread": {
68
+ "id": 1234,
69
+ "channel_id": 7,
70
+ "channel_type": "allegro",
71
+ "kind": "message",
72
+ "customer": "kupujacy_123",
73
+ "subject": "Pytanie o zamówienie",
74
+ "status": "open",
75
+ "order_ref": "8f2c4a10-4f8e-11f1-9c2b-0b1d2f3a4c5d"
76
+ },
77
+ "message": {
78
+ "id": 98765,
79
+ "author": "customer",
80
+ "body": "Dzień dobry, kiedy wyślecie paczkę?",
81
+ "created_at": 1794700790000
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ `message.sent` (a reply sent from TodayReply by a person, AI, an autoresponder or an API key; no `message.id`; `author`: `agent`, `ai` or `auto`):
88
+
89
+ ```json
90
+ {
91
+ "event": "message.sent",
92
+ "created_at": 1794700860123,
93
+ "data": {
94
+ "thread": { "id": 1234, "channel_id": 7, "channel_type": "allegro", "kind": "message", "customer": "kupujacy_123", "subject": "Pytanie o zamówienie", "status": "pending", "order_ref": "8f2c4a10-4f8e-11f1-9c2b-0b1d2f3a4c5d" },
95
+ "message": { "author": "agent", "body": "Dzień dobry, paczka wyjdzie dziś do 15:00.", "created_at": 1794700860123 }
96
+ }
97
+ }
98
+ ```
99
+
100
+ `thread.closed` (closed by a person, a rule, an API key or the marketplace):
101
+
102
+ ```json
103
+ {
104
+ "event": "thread.closed",
105
+ "created_at": 1794700920123,
106
+ "data": {
107
+ "thread": { "id": 1234, "channel_id": 7, "channel_type": "allegro", "kind": "message", "customer": "kupujacy_123", "subject": "Pytanie o zamówienie", "status": "closed", "order_ref": "8f2c4a10-4f8e-11f1-9c2b-0b1d2f3a4c5d" }
108
+ }
109
+ }
110
+ ```
111
+
112
+ The same examples are in `test/fixtures/delivery.json`; TodayReply's tests check that real events have the same fields.
113
+
114
+ ## Example workflows
115
+
116
+ 1. **New message to Slack**: TodayReply Trigger (Message Received) → Slack, text `{{ $json.data.thread.customer }}: {{ $json.data.message.body }}` and link `https://todayreply.pl/inbox/{{ $json.data.thread.id }}`. The conversation isn't read, so it stays unread in the panel.
117
+ 2. **Conversations handed to a human, every morning**: Schedule Trigger → TodayReply (Conversation → Get Many, Filters: Needs Human Only and Status Open, Sort: Waiting Longest) → e-mail or Slack with `customer`, `snippet` and a panel link.
118
+ 3. **Closed conversations in a sheet**: TodayReply Trigger (Conversation Closed) → TodayReply (Conversation → Get, Conversation By ID: `{{ $json.data.thread.id }}`) → Google Sheets: customer, channel, message count `{{ $json.messages.length }}`, order number.
119
+
120
+ ## Security and limits
121
+
122
+ - Keep the secret and API key in the n8n credential: n8n encrypts it and leaves it out of workflow exports.
123
+ - A request signed more than 5 minutes before or after the n8n server's time is rejected. Keep the n8n server's clock in sync (NTP).
124
+ - Within that window a signed request can be sent again and passes too: the trigger doesn't remember deliveries and TodayReply sends no delivery ID. HTTPS makes this harder but not impossible, since a signed request can end up elsewhere, e.g. in a proxy log. If the workflow does something irreversible, drop repeats with the Remove Duplicates node (*Remove Items Processed in Previous Executions*, since every delivery is a separate execution): `message.received` on `data.message.id`, `message.sent` (no `message.id`) on `data.thread.id` plus `data.message.created_at`, and `thread.closed` on `data.thread.id` plus the event's `created_at`.
125
+ - TodayReply sends each event once, without retries. If n8n was down the event is lost: for important processes add a periodic Get Many as a backstop.
126
+ - After deleting or deactivating a workflow, delete its webhook in the panel too, otherwise TodayReply keeps sending events and records `HTTP 404` on the webhook.
127
+ - Get marks the conversation as read. Get Many has no pagination: at most 200 conversations, pinned first, so narrow the list with filters.
128
+
129
+ ## What the nodes don't do
130
+
131
+ - **Replies, notes, status changes, assignment, tags**: the TodayReply public API is read-only by design. A message sent to a customer can't be taken back, and closing a conversation sends the customer a survey.
132
+ - **Automatic webhook registration**: an API key can't create webhooks; an admin does it in the panel, so you copy the URL and secret by hand.
133
+ - **Polling trigger**: the API has no "changed since" filter, so use Schedule Trigger with Get Many instead.
134
+
135
+ ## Compatibility
136
+
137
+ - `n8nNodesApiVersion` 1, no runtime dependencies.
138
+ - Tested on n8n 2.47.7. Other versions untested.
139
+ - The package doesn't use `toPathSegment` (requires n8n 2.46.1), so it doesn't raise the minimum n8n version.
140
+
141
+ ## Development
142
+
143
+ ```bash
144
+ npm install
145
+ npm run build # n8n-node build
146
+ npm run lint # n8n-node lint (strict mode, default eslint.config.mjs)
147
+ npm test # build and node:test tests from test/
148
+ npm run dev # n8n with this package at http://localhost:5678 (n8n-node dev)
149
+ ```
150
+
151
+ Releases are published only from GitHub Actions with npm provenance (`.github/workflows/publish.yml`): `npm run release` on `main` creates the version tag that triggers it.
152
+
153
+ ## License
154
+
155
+ [MIT](LICENSE.md)
@@ -0,0 +1,10 @@
1
+ import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class TodayReplyApi 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,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TodayReplyApi = void 0;
4
+ class TodayReplyApi {
5
+ constructor() {
6
+ this.name = 'todayReplyApi';
7
+ this.displayName = 'TodayReply API';
8
+ this.icon = { light: 'file:../icons/todayreply.svg', dark: 'file:../icons/todayreply.dark.svg' };
9
+ this.documentationUrl = 'https://todayreply.pl/dokumentacja-api';
10
+ this.properties = [
11
+ {
12
+ displayName: 'API Key',
13
+ name: 'apiKey',
14
+ type: 'string',
15
+ typeOptions: { password: true },
16
+ required: true,
17
+ default: '',
18
+ placeholder: 'hd_...',
19
+ description: 'Starts with hd_. A TodayReply admin creates it in Ustawienia → Integracje → Klucze API, and the panel shows it only once. The key reads the conversations of every channel of the shop.',
20
+ },
21
+ {
22
+ displayName: 'Webhook Secret',
23
+ name: 'webhookSecret',
24
+ type: 'string',
25
+ typeOptions: { password: true },
26
+ default: '',
27
+ description: 'Only for the TodayReply Trigger: the signing secret TodayReply shows once when you add the webhook in Ustawienia → Integracje → Webhooki. One webhook, one secret: a second trigger needs its own webhook and credential.',
28
+ },
29
+ {
30
+ displayName: 'Base URL',
31
+ name: 'baseUrl',
32
+ type: 'string',
33
+ default: 'https://todayreply.pl',
34
+ description: 'Address of the TodayReply panel. Change it only if your shop uses another one.',
35
+ },
36
+ ];
37
+ this.authenticate = {
38
+ type: 'generic',
39
+ properties: {
40
+ headers: {
41
+ Authorization: '=Bearer {{$credentials.apiKey}}',
42
+ },
43
+ },
44
+ };
45
+ this.test = {
46
+ request: {
47
+ baseURL: '={{ ($credentials.baseUrl || "https://todayreply.pl").replace(/\\/+$/, "") }}',
48
+ url: '/api/threads',
49
+ qs: { channel_id: 0 },
50
+ },
51
+ rules: [
52
+ {
53
+ type: 'responseCode',
54
+ properties: {
55
+ value: 401,
56
+ message: 'TodayReply rejected the API key: it is wrong or was deleted in the panel',
57
+ },
58
+ },
59
+ ],
60
+ };
61
+ }
62
+ }
63
+ exports.TodayReplyApi = TodayReplyApi;
64
+ //# sourceMappingURL=TodayReplyApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TodayReplyApi.credentials.js","sourceRoot":"","sources":["../../credentials/TodayReplyApi.credentials.ts"],"names":[],"mappings":";;;AAYA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QAEvB,gBAAW,GAAG,gBAAgB,CAAC;QAE/B,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viewBox="0 0 60 60"><rect width="60" height="60" rx="13" fill="#5cc9a7"/><rect y="24" width="60" height="12" fill="#e7ad00"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><rect width="60" height="60" rx="13" fill="#0e6b58"/><rect y="24" width="60" height="12" fill="#f0b400"/></svg>
@@ -0,0 +1,10 @@
1
+ import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
+ import { searchConversations } from './shared/listSearch';
3
+ export declare class TodayReply implements INodeType {
4
+ description: INodeTypeDescription;
5
+ methods: {
6
+ listSearch: {
7
+ searchConversations: typeof searchConversations;
8
+ };
9
+ };
10
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TodayReply = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const conversation_1 = require("./resources/conversation");
6
+ const listSearch_1 = require("./shared/listSearch");
7
+ class TodayReply {
8
+ constructor() {
9
+ this.description = {
10
+ displayName: 'TodayReply',
11
+ name: 'todayReply',
12
+ icon: {
13
+ light: 'file:../../icons/todayreply.svg',
14
+ dark: 'file:../../icons/todayreply.dark.svg',
15
+ },
16
+ group: ['transform'],
17
+ version: 1,
18
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
19
+ description: 'Read conversations from the TodayReply helpdesk inbox',
20
+ defaults: {
21
+ name: 'TodayReply',
22
+ },
23
+ usableAsTool: true,
24
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
25
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
26
+ credentials: [{ name: 'todayReplyApi', required: true }],
27
+ requestDefaults: {
28
+ baseURL: '={{ ($credentials.baseUrl || "https://todayreply.pl").replace(/\\/+$/, "") }}',
29
+ headers: {
30
+ Accept: 'application/json',
31
+ },
32
+ },
33
+ properties: [
34
+ {
35
+ displayName: 'Resource',
36
+ name: 'resource',
37
+ type: 'options',
38
+ noDataExpression: true,
39
+ options: [
40
+ {
41
+ name: 'Conversation',
42
+ value: 'conversation',
43
+ },
44
+ ],
45
+ default: 'conversation',
46
+ },
47
+ ...conversation_1.conversationDescription,
48
+ ],
49
+ };
50
+ this.methods = {
51
+ listSearch: {
52
+ searchConversations: listSearch_1.searchConversations,
53
+ },
54
+ };
55
+ }
56
+ }
57
+ exports.TodayReply = TodayReply;
58
+ //# sourceMappingURL=TodayReply.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TodayReply.node.js","sourceRoot":"","sources":["../../../nodes/TodayReply/TodayReply.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAE9F,2DAAmE;AACnE,oDAA0D;AAO1D,MAAa,UAAU;IAAvB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE;gBACL,KAAK,EAAE,iCAAiC;gBACxC,IAAI,EAAE,sCAAsC;aAC5C;YACD,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,uDAAuD;YACpE,QAAQ,EAAE;gBACT,IAAI,EAAE,YAAY;aAClB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACxD,eAAe,EAAE;gBAChB,OAAO,EAAE,+EAA+E;gBACxF,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;iBAC1B;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,cAAc;4BACpB,KAAK,EAAE,cAAc;yBACrB;qBACD;oBACD,OAAO,EAAE,cAAc;iBACvB;gBACD,GAAG,sCAAuB;aAC1B;SACD,CAAC;QAEF,YAAO,GAAG;YACT,UAAU,EAAE;gBACX,mBAAmB,EAAnB,gCAAmB;aACnB;SACD,CAAC;IACH,CAAC;CAAA;AAhDD,gCAgDC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "n8n-nodes-todayreply",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Communication"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "https://todayreply.pl/dokumentacja-api"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "https://www.npmjs.com/package/n8n-nodes-todayreply"
15
+ }
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const conversationGetDescription: INodeProperties[];
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.conversationGetDescription = void 0;
4
+ const showOnlyForConversationGet = {
5
+ operation: ['get'],
6
+ resource: ['conversation'],
7
+ };
8
+ exports.conversationGetDescription = [
9
+ {
10
+ displayName: 'Getting a conversation marks it as read in TodayReply, the same way opening it in the panel does',
11
+ name: 'readNotice',
12
+ type: 'notice',
13
+ default: '',
14
+ displayOptions: { show: showOnlyForConversationGet },
15
+ },
16
+ {
17
+ displayName: 'Conversation',
18
+ name: 'conversationId',
19
+ type: 'resourceLocator',
20
+ default: { mode: 'list', value: '' },
21
+ required: true,
22
+ displayOptions: { show: showOnlyForConversationGet },
23
+ description: 'The conversation to get',
24
+ modes: [
25
+ {
26
+ displayName: 'From List',
27
+ name: 'list',
28
+ type: 'list',
29
+ typeOptions: {
30
+ searchListMethod: 'searchConversations',
31
+ searchable: true,
32
+ },
33
+ },
34
+ {
35
+ displayName: 'By ID',
36
+ name: 'id',
37
+ type: 'string',
38
+ placeholder: 'e.g. 1234',
39
+ validation: [
40
+ {
41
+ type: 'regex',
42
+ properties: {
43
+ regex: '^[0-9]+$',
44
+ errorMessage: 'A conversation ID is a number, e.g. data.thread.id from the TodayReply Trigger',
45
+ },
46
+ },
47
+ ],
48
+ },
49
+ {
50
+ displayName: 'By URL',
51
+ name: 'url',
52
+ type: 'string',
53
+ placeholder: 'https://todayreply.pl/inbox/1234',
54
+ extractValue: {
55
+ type: 'regex',
56
+ regex: 'https?://[^/]+/(?:#/)?inbox/([0-9]+)',
57
+ },
58
+ validation: [
59
+ {
60
+ type: 'regex',
61
+ properties: {
62
+ regex: 'https?://[^/]+/(?:#/)?inbox/([0-9]+).*',
63
+ errorMessage: 'Paste the address of a conversation opened in the TodayReply panel',
64
+ },
65
+ },
66
+ ],
67
+ },
68
+ ],
69
+ routing: {
70
+ request: {
71
+ url: '=/api/threads/{{ encodeURIComponent($value) }}',
72
+ },
73
+ },
74
+ },
75
+ ];
76
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/TodayReply/resources/conversation/get.ts"],"names":[],"mappings":";;;AAEA,MAAM,0BAA0B,GAAG;IAClC,SAAS,EAAE,CAAC,KAAK,CAAC;IAClB,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC1B,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC5D;QACC,WAAW,EACV,kGAAkG;QACnG,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;KACpD;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE;QACpD,WAAW,EAAE,yBAAyB;QACtC,KAAK,EAAE;YACN;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE;oBACZ,gBAAgB,EAAE,qBAAqB;oBACvC,UAAU,EAAE,IAAI;iBAChB;aACD;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,WAAW;gBACxB,UAAU,EAAE;oBACX;wBACC,IAAI,EAAE,OAAO;wBACb,UAAU,EAAE;4BACX,KAAK,EAAE,UAAU;4BACjB,YAAY,EACX,gFAAgF;yBACjF;qBACD;iBACD;aACD;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kCAAkC;gBAC/C,YAAY,EAAE;oBACb,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,sCAAsC;iBAC7C;gBACD,UAAU,EAAE;oBACX;wBACC,IAAI,EAAE,OAAO;wBACb,UAAU,EAAE;4BACX,KAAK,EAAE,wCAAwC;4BAC/C,YAAY,EAAE,oEAAoE;yBAClF;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,gDAAgD;aACrD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const conversationGetManyDescription: INodeProperties[];
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.conversationGetManyDescription = void 0;
4
+ const showOnlyForConversationGetMany = {
5
+ operation: ['getAll'],
6
+ resource: ['conversation'],
7
+ };
8
+ exports.conversationGetManyDescription = [
9
+ {
10
+ displayName: 'TodayReply returns at most 200 conversations, pinned ones first, and has no paging: narrow the list with filters',
11
+ name: 'listNotice',
12
+ type: 'notice',
13
+ default: '',
14
+ displayOptions: { show: showOnlyForConversationGetMany },
15
+ },
16
+ {
17
+ displayName: 'Limit',
18
+ name: 'limit',
19
+ type: 'number',
20
+ displayOptions: { show: showOnlyForConversationGetMany },
21
+ typeOptions: {
22
+ minValue: 1,
23
+ maxValue: 200,
24
+ },
25
+ default: 50,
26
+ routing: {
27
+ output: {
28
+ maxResults: '={{$value}}',
29
+ },
30
+ },
31
+ description: 'Max number of results to return',
32
+ },
33
+ {
34
+ displayName: 'Filters',
35
+ name: 'filters',
36
+ type: 'collection',
37
+ placeholder: 'Add Filter',
38
+ default: {},
39
+ displayOptions: { show: showOnlyForConversationGetMany },
40
+ options: [
41
+ {
42
+ displayName: 'Channel ID',
43
+ name: 'channelId',
44
+ type: 'number',
45
+ default: 0,
46
+ description: 'Only conversations from this channel, or from every channel when 0. Its ID is in the channel field of Get and in data.thread.channel_id of the TodayReply Trigger.',
47
+ routing: {
48
+ send: { type: 'query', property: 'channel_id', value: '={{ $value > 0 ? $value : "" }}' },
49
+ },
50
+ },
51
+ {
52
+ displayName: 'Kind',
53
+ name: 'kind',
54
+ type: 'options',
55
+ default: 'message',
56
+ options: [
57
+ { name: 'Allegro Claims', value: 'claim' },
58
+ { name: 'Allegro Discussions', value: 'dispute' },
59
+ { name: 'Allegro Discussions and Claims', value: 'cases' },
60
+ { name: 'Allegro Ratings', value: 'rating' },
61
+ { name: 'Amazon', value: 'amazon' },
62
+ { name: 'Erli', value: 'erli' },
63
+ {
64
+ name: 'Messages',
65
+ value: 'message',
66
+ description: 'Messages, e-mails and chats, including Erli and Amazon',
67
+ },
68
+ {
69
+ name: 'Purchase Problems',
70
+ value: 'issue',
71
+ description: 'Allegro purchase problems and Kaufland buyer tickets',
72
+ },
73
+ ],
74
+ routing: { send: { type: 'query', property: 'kind' } },
75
+ },
76
+ {
77
+ displayName: 'Needs Human Only',
78
+ name: 'needsHuman',
79
+ type: 'boolean',
80
+ default: true,
81
+ description: 'Whether to return only conversations the AI handed over to a person',
82
+ routing: {
83
+ send: { type: 'query', property: 'needs_human', value: '={{ $value ? "1" : "" }}' },
84
+ },
85
+ },
86
+ {
87
+ displayName: 'Priority',
88
+ name: 'priority',
89
+ type: 'options',
90
+ default: 'high',
91
+ options: [
92
+ { name: 'High', value: 'high' },
93
+ { name: 'Low', value: 'low' },
94
+ { name: 'Normal', value: 'normal' },
95
+ ],
96
+ routing: { send: { type: 'query', property: 'priority' } },
97
+ },
98
+ {
99
+ displayName: 'Search',
100
+ name: 'search',
101
+ type: 'string',
102
+ default: '',
103
+ description: 'Part of the customer name, subject, order number or message text, case-insensitive, up to 200 characters',
104
+ routing: {
105
+ send: { type: 'query', property: 'search', value: '={{ String($value).slice(0, 200) }}' },
106
+ },
107
+ },
108
+ {
109
+ displayName: 'Status',
110
+ name: 'status',
111
+ type: 'options',
112
+ default: 'open',
113
+ description: 'Spam is left out unless you ask for it here',
114
+ options: [
115
+ { name: 'Closed', value: 'closed' },
116
+ { name: 'Open', value: 'open' },
117
+ { name: 'Pending', value: 'pending', description: 'Waiting for the customer' },
118
+ { name: 'Snoozed', value: 'snoozed' },
119
+ { name: 'Spam', value: 'spam' },
120
+ ],
121
+ routing: { send: { type: 'query', property: 'status' } },
122
+ },
123
+ {
124
+ displayName: 'Topic',
125
+ name: 'topic',
126
+ type: 'options',
127
+ default: 'wysylka',
128
+ description: 'The topic the AI recognized',
129
+ options: [
130
+ { name: 'Complaint', value: 'reklamacja' },
131
+ { name: 'Invoice', value: 'faktura' },
132
+ { name: 'Order', value: 'zamowienie' },
133
+ { name: 'Other', value: 'inne' },
134
+ { name: 'Payment', value: 'platnosc' },
135
+ { name: 'Product', value: 'produkt' },
136
+ { name: 'Return', value: 'zwrot' },
137
+ { name: 'Shipping', value: 'wysylka' },
138
+ ],
139
+ routing: { send: { type: 'query', property: 'topic' } },
140
+ },
141
+ {
142
+ displayName: 'Unassigned Only',
143
+ name: 'unassigned',
144
+ type: 'boolean',
145
+ default: true,
146
+ description: 'Whether to return only conversations nobody on the team is assigned to',
147
+ routing: {
148
+ send: { type: 'query', property: 'assignee', value: '={{ $value ? "none" : "" }}' },
149
+ },
150
+ },
151
+ ],
152
+ },
153
+ {
154
+ displayName: 'Sort',
155
+ name: 'sort',
156
+ type: 'options',
157
+ default: 'newest',
158
+ displayOptions: { show: showOnlyForConversationGetMany },
159
+ options: [
160
+ { name: 'Newest Message First', value: 'newest' },
161
+ { name: 'Oldest Message First', value: 'oldest' },
162
+ {
163
+ name: 'Priority',
164
+ value: 'priority',
165
+ description: 'Conversations the AI handed to a person first, then by priority',
166
+ },
167
+ {
168
+ name: 'Waiting Longest',
169
+ value: 'sla',
170
+ description: 'Conversations waiting longest for a reply first',
171
+ },
172
+ ],
173
+ routing: {
174
+ send: { type: 'query', property: 'sort', value: '={{ $value === "newest" ? "" : $value }}' },
175
+ },
176
+ },
177
+ ];
178
+ //# sourceMappingURL=getAll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/TodayReply/resources/conversation/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,8BAA8B,GAAG;IACtC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC1B,CAAC;AAIW,QAAA,8BAA8B,GAAsB;IAChE;QACC,WAAW,EACV,kHAAkH;QACnH,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;KACxD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;QACxD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,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E;aACvD;YACD;gBACC,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,wEAAwE;gBACrF,OAAO,EAAE;oBACR,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,KAAK,EAAE,6BAA6B,EAAE;iBACnF;aACD;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;QACxD,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,QAAQ,EAAE;YACjD,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,QAAQ,EAAE;YACjD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,iEAAiE;aAC9E;YACD;gBACC,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,iDAAiD;aAC9D;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,0CAA0C,EAAE;SAC5F;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const conversationDescription: INodeProperties[];