OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Channel → Get Messages

AI-generated

Summary

Fetches archived messages for a WhatsApp Channel using the selected session and channel ID. Get Messages works with the whatsapp-web.js engine; Baileys returns HTTP 501.

Inputs

  • sessionId (required) — Select the session to use, or provide its ID with an expression.
  • channelId (required) — Select the channel or provide its ID with an expression. The channel ID is in the form 1234567890@newsletter; the channel dropdown is populated only for whatsapp-web.js.
  • limit — Maximum number of messages to return, from 1 to 100. Defaults to 50.

Output shape

A list of message items.

The source pack confirms list routes emit one n8n item per returned row on current node versions; workflows using version 1 keep the array on a single item.

Links

Discussion