Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- 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 or sender, with controls for paging and inline media.
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.
- 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.
- 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.
Output shape
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.