Actions164
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Add Participants
- Approve Membership Requests
- Create
- Delete Picture
- Demote Participants
- Get
- Get Invite Code
- Get Join Info
- Get Membership Requests
- Get Picture
- Get Settings
- Join
- Leave
- List
- Promote Participants
- Reject Membership Requests
- Remove Participants
- Revoke Invite Code
- Set Member Label
- Set Picture
- Update Description
- Update Settings
- Update Subject
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Message → List
AI-generatedSummary
Lists stored messages for a session, optionally filtered by chat, sender, direction, message type, and exact message ID, with controls for paging, ordering, and inline media inclusion. Many filters and options require OpenWA 0.25.0 or later.
Inputs
- Session Name or ID (required) — Select or enter the session whose message history to read.
- After Row ID — Use a stored row ID from the previous page’s response as a keyset cursor. It takes precedence over Offset and keeps the page boundary anchored if new messages arrive. Invalid or foreign row IDs cause an error. Requires server version 0.23.4 or later; older servers may ignore this cursor.
- Chat Name or ID — Return messages from only this chat. The UI notes that only the first 1,000 are listed for a chat; use an expression for IDs beyond the dropdown list.
- Direction — Return only incoming or outgoing messages; requires OpenWA 0.25.0 or later.
- From — Return messages from only this sender.
- Inline Media — Defaults to true and includes media payloads in each message. Turn it off to receive an
{ omitted, sizeBytes }marker and retrieve the bytes separately with Get Media. Requires server version 0.23.4 or later; older servers always inline media. The inline media budget applies independently to each page. - Limit — Maximum number of messages to return; defaults to 50, with a UI range of 1–100.
- Message ID — Exact WhatsApp message reference, up to 200 characters without whitespace. This is not the stored row ID used by After Row ID. Requires OpenWA 0.25.0 or later.
- Offset — Number of messages to skip; defaults to 0 and is ignored when After Row ID is set. Offset paging can shift on a live chat as new messages arrive.
- Order By — Order messages newest first by ingestion time or WhatsApp message timestamp. Timestamp ordering excludes messages without a known timestamp. Keeping the same filters and ordering is recommended when using After Row ID. Requires OpenWA 0.25.0 or later.
- Since — Inclusive lower bound on WhatsApp message timestamp in epoch milliseconds according to the workflow timezone. Requires OpenWA 0.25.0 or later.
- Type — Exact stored message type, such as text, image, voice, or poll. Requires OpenWA 0.25.0 or later.
- Until — Exclusive upper bound on WhatsApp message timestamp in epoch milliseconds according to the workflow timezone. Must be later than Since. Requires OpenWA 0.25.0 or later.
Output shape
A list of message records, emitted as one n8n item per row for current node versions.
A list of message records, emitted as one n8n item per row for current node versions. Older saved node versions retain the whole response array on a single item. An empty result is an empty list.