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

> Get an Asana user visible to the connected account.

`getUser` loads one user by GID.

```ts automations/get-asana-user-by-id.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { getUser } from "automate.ax/asana"

export default automation("Get Asana teammate", () => {
  onHttpRequest({ scope: "automation" })
  getUser({ userId: "user-gid" })
})
```

Required `userId` is a user GID. Optional `account` defaults to the project binding. Returns the normalized `AsanaUser`; email and profile photo can be absent, and the user must be visible to the connected account.
