SocialMate icon

SocialMate

Control WhatsApp from n8n or an AI agent: send & read messages, look up contacts, manage groups, download media, queue paced batches of personalised messages, and fetch conversation memory (Get AI Context) — all through your self-hosted SocialMate server.

Media → Get Many

AI-generated

Summary

Lists media items for the selected WhatsApp account, applying any configured filters. Returns metadata only; use a returned media ID with Download File to fetch the bytes once the item is downloaded.

Inputs

  • Filters — Optional filters: Chat ID (phone number in international format or group JID), direction (all, received, sent), cached context (all, yes, no), search text, sort order (newest, oldest, biggest, smallest), state, and media type. Defaults leave filters unrestricted and sort newest first.
  • Return All — Whether to return all matching results. Defaults to false.
  • Limit — Maximum results when Return All is false; defaults to 50.

Output shape

A list of media item records

Each record contains media metadata, including its ID, type, file name, size, caption, state, needsContext, and apiPath. The operation returns no file bytes. Items can be filtered or sorted, and results are paginated internally; the response is emitted as individual n8n items.

Links

Discussion