> ## 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.

# Get member profile

> Get a Slack member's workspace profile and custom status.

`slack.getMemberProfile` retrieves standard profile fields and custom status details.

## Example

```ts automations/get-member-profile.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { slack } from "automate.ax/slack"

export default automation("Get member profile", () => {
  onDashboardRun({ title: "Get member profile" })

  slack.getMemberProfile({ userId: "U01234567" })
})
```

## Inputs

| Input           | Type      | Required | Description                                                         |
| --------------- | --------- | -------- | ------------------------------------------------------------------- |
| `userId`        | `string`  | No       | Member to inspect; omit for the authenticated bot.                  |
| `includeLabels` | `boolean` | No       | Include custom-field labels; Slack heavily rate-limits this option. |

## Output

Returns names, avatar URLs, title, pronouns, email when available, and custom status fields. Requires `users.profile:read`.
