slack.listMembers returns invited, active, bot, and deactivated accounts. Use deleted and the member-type flags to filter for 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.
Access to email addresses requires the installed Slack account to have users:read.email. This action doesn’t request that sensitive scope.