listMembers returns invited, active, bot, and deactivated workspace accounts.
Use deleted and the member-type flags when you only want active humans.
Example
automations/list-slack-members.automation.ts
Inputs
Output
Returnsmembers: SlackMember[] and responseMetadata.nextCursor. A member
contains id, profile, and available role, account-state, workspace, time-zone,
name, and update metadata. The profile may include names, avatar URLs, title,
pronouns, and custom status.
Email is returned only if the installed Slack account separately has
users:read.email; this action intentionally does not request that sensitive
scope.