Import Slack's member analytics as presence
Turn Slack's member analytics CSV (Admin → Analytics → Members → Export) into presence for this Slack connection's existing accounts, so readers who never post are counted. A one-day export records daily_active for each active member; a longer one records one date-only last_seen on each member's last-active day inside the range and nothing for the other days. Reads only the user id, days active and last active columns; email, name and every other column are ignored. Unknown ids are counted, never created. Enable presence on the connection first. Served calls read the file only from inside the import directory. dry_run reports what would be recorded.
Parameters
CLI flags
The exported CSV; any path at a terminal
First UTC day the export covers (YYYY-MM-DD)
Last UTC day the export covers (YYYY-MM-DD)