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

# Create Team Member

> Creates a single `TeamMember` object.

`square.createTeamMember` creates a single `TeamMember` object.

## Example

```ts automations/square-create-team-member.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { square } from "automate.ax/square"

export default automation("Create Square Team Member", () => {
  onDashboardRun({ title: "Create Square Team Member" })

  square.createTeamMember({})
})
```

## Inputs

Every input accepts a compatible signal. It requires `EMPLOYEES_WRITE`.

| Field            | Type                | Required | Default | Description                                                                                                                                                                                                                                                                                                           |
| ---------------- | ------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `idempotencyKey` | `string`            | No       | —       | A unique string that identifies this `CreateTeamMember` request. Keys can be any valid string, but must be unique for every request. For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). The minimum length is 1 and the maximum length is 45. |
| `teamMember`     | `Square.TeamMember` | No       | —       | **Required** The data used to create the `TeamMember` object. If you include `wage_setting`, you must provide `job_id` for each job assignment. To get job IDs, call ListJobs.                                                                                                                                        |

Use the official [CreateTeamMember reference](https://developer.squareup.com/reference/square/team-api/create-team-member) for provider field semantics and limits.

## Output

Returns the official `Square.CreateTeamMemberResponse` response as a codec-safe object. Square integer money amounts remain `bigint` values.
