Happ icon

Happ

Interact with the Happ Platform API: messenger chats, messages and AI assistants

Message → Get Last

AI-generated

Summary

Fetches the last message for each specified chat from the Happ API. Enter comma-separated chat UUIDs; the response is converted into one n8n item per message object.

Inputs

  • Chat IDs (required) — Comma-separated list of chat UUIDs. Sent as the chatIds query parameter.
  • Request Options — Optional HTTP settings: batch requests (default 50 items per batch, 1000 ms interval; -1 disables batching and 0 is treated as 1), accept invalid SSL certificates, use a proxy, or set the response-header timeout (default 10000 ms).

Output shape

A list of n8n items, each containing a message object in json.

Calls GET /api/messages/last. If the response body is not an object or is an array, the operation leaves the existing items unchanged; otherwise it emits one item for each non-null object value in the response body.

Links

Discussion