n8n-nodes-pilot-status 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `n8n-nodes-pilot-status`.
|
|
4
4
|
|
|
5
|
+
## 2.4.0 - 2026-10-05
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Number Restored** (`number.restored`) in the trigger's event list: a deleted number was
|
|
10
|
+
restored inside its 30-day window. Same `data` as `number.removed`; the number comes back
|
|
11
|
+
disconnected and must be reconnected.
|
|
12
|
+
|
|
13
|
+
### Docs
|
|
14
|
+
|
|
15
|
+
- README: events newer than the installed node version never break a workflow — under
|
|
16
|
+
**All Events** they fire with the body untouched; with a specific event selected anything
|
|
17
|
+
else is answered `200 Ignored event`. No behaviour change: the trigger never validated
|
|
18
|
+
event names.
|
|
19
|
+
|
|
5
20
|
## 2.3.0 - 2026-10-03
|
|
6
21
|
|
|
7
22
|
### Added
|
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ The API never returns the secret — not even in the `201` of the create call
|
|
|
71
71
|
- **Message Received** (`message.received`): Triggered when a general inbound message is received on your connected WhatsApp number.
|
|
72
72
|
- **Group Message** (`message.group`): Triggered when an inbound group message is received (group subject is included when available).
|
|
73
73
|
- **Newsletter Message** (`message.newsletter`): Triggered when an inbound WhatsApp channel / newsletter message is received.
|
|
74
|
-
- **Number Created / Connected / Disconnected / Removed** (`number.created`, `number.connected`, `number.disconnected`, `number.removed`): Lifecycle of a WhatsApp number in your account.
|
|
74
|
+
- **Number Created / Connected / Disconnected / Removed / Restored** (`number.created`, `number.connected`, `number.disconnected`, `number.removed`, `number.restored`): Lifecycle of a WhatsApp number in your account. `number.restored` means a deleted number was brought back within its 30-day window — it returns disconnected and must be reconnected.
|
|
75
75
|
- **Call Ringing / Connected / Ended / Missed / Permission Updated** (`call.ringing`, `call.connected`, `call.ended`, `call.missed`, `call.permission_updated`): WhatsApp Business Calling events (`call.*`) — Meta Cloud API **and web (Pilot Status) numbers** (`call.permission_updated` is Meta-only). Payloads are **flat** (fields next to `event`, no `data` wrapper): `{ event, callId, externalCallId?, direction, status, from, to, timestamp, duration? }`; `duration` (seconds) appears on `call.ended` only when the call was answered. `externalCallId` is the provider call id (Meta `wacid...` or Evolution GO CallID).
|
|
76
76
|
- **Flow Response Received** (`flow.response_received`): Triggered when someone SUBMITS a WhatsApp Flow form — the answers arrive here. **META numbers only.** Wrapped in `data`: `{ event, data: { event, flowId, metaFlowId, flowToken, messageId, whatsappNumberId, from, receivedAt, response, responseRaw, flowMedia, submitted } }`. Four things to know. The number field is **`whatsappNumberId`, not `numberId`** — same value, different name on the wire. **`response` and `responseRaw` are mutually exclusive**: `response` holds what your own Flow endpoint returned, already parsed, and `responseRaw` is `null`; if the parse failed it is the other way round, and the raw string is the only copy of the answer there is. **On a Flow with a `data_exchange` endpoint `response` is EMPTY even on a number that stores everything** — Meta's completion payload carries only the `flow_token` — and what the person typed is in **`submitted`**: one entry per `data_exchange` screen, `{ screen, at, data, omitted }`, in order, where `omitted` (`DATA_TOO_LARGE`, `LIMIT_REACHED` or `UNREADABLE`) says why a `data` is `null`. `flowMedia` holds the files attached inside the form: `{ field, fileName, mimeType, status, url }`. Both are `null` and **never `[]`** when empty, so a node testing for an empty array never fires; `GET /v1/flows/{id}/responses` publishes the same two lists as arrays, under `media` and `submitted`. And picking this event for a **non-Meta** number fails SILENTLY: the API filters a webhook's events down to what the number's provider can emit, so the subscription is created with an empty event list, returns `201`, and never fires.
|
|
77
77
|
|
|
@@ -80,6 +80,7 @@ Webhook payload notes:
|
|
|
80
80
|
- `message.reply` always includes `messageRepliedId`: Pilot Status internal id of the original outbound message when correlated, or `null` if none was found — use `quotedMessageId` with `message.sent`’s `messageId` when it is `null`.
|
|
81
81
|
- `message.received` includes `fromMe` (boolean) and `fromName` (string, optional).
|
|
82
82
|
- For outbound status events (`message.sent`, `message.delivered`, `message.read`, `message.failed`): `messageId` is the WhatsApp provider id (may be `null`) and `internalMessageId` is the Pilot Status message id.
|
|
83
|
+
- **Events newer than this node version never break a workflow.** The trigger does not validate the body against a list of known events: with **All Events** selected, an event added to the platform after your node version still fires the workflow with the body untouched (branch on `event` and ignore what you do not handle); with a specific event selected, anything else is answered `200 Ignored event`.
|
|
83
84
|
|
|
84
85
|
---
|
|
85
86
|
|