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 Stats

AI-generated

Summary

Retrieve storage statistics for the selected WhatsApp account’s media archive.

Inputs

  • Account Name or ID — Select the account to inspect. If left empty, the node can select it automatically when the API key is bound to one account; keys with access to multiple accounts require a selection. You can also provide an account ID with an expression.

Output shape

A single record of media storage statistics.

Includes counts by state (total, downloaded, pending, queued, downloading, failed, skipped, and expired), total and pending bytes, counts and bytes by media type, and the oldest and newest download timestamps. Returns aggregate statistics only, with no media file names or IDs. Use Media: Get Many to locate individual items.

Links

Discussion