> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List members

> List Slack workspace members with profile details.

`listMembers` returns invited, active, bot, and deactivated workspace accounts.
Use `deleted` and the member-type flags when you only want active humans.

## Example

```ts automations/list-slack-members.automation.ts theme={null}
import { automation } from "automate.ax"
import { listMembers } from "automate.ax/slack"

export default automation("List Slack members", () => {
  listMembers({ includeLocale: true, limit: 200 })
})
```

## Inputs

| Input           | Type                                             | Required | Default         | Description                        |
| --------------- | ------------------------------------------------ | -------- | --------------- | ---------------------------------- |
| `cursor`        | `string`                                         | No       | First page      | Cursor from the preceding page.    |
| `limit`         | `number`                                         | No       | Slack default   | Requested page size from 1 to 200. |
| `includeLocale` | `boolean`                                        | No       | Slack default   | Asks Slack to include locale data. |
| `account`       | `string \| IntegrationAccountReference<"slack">` | No       | Project default | Slack binding.                     |

## Output

Returns `members: 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.
