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

# Slack: List Group Members

List all users in a Slack usergroup via native OAuth integration. Returns an array of user IDs belonging to the specified usergroup. Ideal for: group membership auditing, team rosters, mention-group management.

![Slack: List Group Members logo](https://ai-icon.b3.fun/logo/slack)
Catalog action Integrations slack

List all users in a Slack usergroup via native OAuth integration. Returns an array of user IDs belonging to the specified usergroup. Ideal for: group membership auditing, team rosters, mention-group management.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `slack-list-group-members` |
| Category | Integrations |
| Connector | `slack` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `slack`, `integration`, `read`, `team` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `usergroup` | `string` | Yes | Usergroup ID \(e.g., S0123456789\) |
| `include_disabled` | `boolean` | No | Include disabled users \(default: false\) |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `success` | `boolean` | Yes | - |
| `data` | `object` | No | - |

## Examples

**Workflow node**

```json
{
  "type": "slack-list-group-members",
  "payload": {
    "usergroup": "example-usergroup"
  },
  "children": [],
  "connector": {
    "type": "slack",
    "id": "conn_slack"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/slack-list-group-members/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "usergroup": "example-usergroup"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.