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

# Create User

Create a new user.

<Note>
  External Documentation

  To learn more, visit the [Google Admin Console documentation](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users/insert).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter                     | Description                                                                                                                                                                                                 |
  | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Change Password At Next Login | Indicates if the user is forced to change their password at next login. This setting doesn't apply when [the user signs in via a third-party identity provider](https://support.google.com/a/answer/60224). |
  | First Name                    | The user's first name.                                                                                                                                                                                      |
  | Last Name                     | The user's last name.                                                                                                                                                                                       |
  | Password                      | The user's password. Must be between 8 to 100 `ASCII` characters long.                                                                                                                                      |
  | Primary Email                 | The user's primary email address. It must be unique and cannot be an alias of another user.                                                                                                                 |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.<br /><br />If not specified, the delegated user is the one provided in the connection.<br /><br />Has no effect when using an OAuth connection.<br /><br />NOTE: the connection details are not edited by this input.                                                                                                                                                                                           |
  | Organizations           | A JSON list of organizations the user belongs to. The maximum allowed data size for this field is 10KB. <br />Example input:<br /><pre><code>\[<br />  \{<br />    "name": string,<br />    "title": string,<br />    "primary": boolean,<br />    "type": string,<br />    "description": string,<br />    "department": string<br />  }<br />]</code></pre>For more information, see the [Google Admin Console documentation](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users#User). |
  | Relations               | A JSON list of the relationships of the user to other users. The maximum allowed data size for this field is 2KB. <br />Example input with detailed fields:<br /><pre><code>\[<br />    \{<br />      "value": string,<br />      "type": string,<br />      "customType": string<br />    }<br />  ]</code></pre>For more information, see the [Google Admin Console documentation](https://developers.google.com/workspace/admin/directory/reference/rest/v1/users#User).                                            |
  | Secondary Email         | This is the email address where the new user receives their new account details. Also functions as the user's recovery email.                                                                                                                                                                                                                                                                                                                                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
  "kind": string,
  "id": string,
  "etag": string,
  "primaryEmail": string,
  "name": {
    "givenName": string,
    "familyName": string
  },
  "isAdmin": false,
  "isDelegatedAdmin": false,
  "creationTime": string,
  "changePasswordAtNextLogin": false,
  "customerId": string,
  "orgUnitPath": string,
  "isMailboxSetup": false
}
```

## Workflow Library Example

[Create User with Google Admin Console and Send Results Via Email](https://library.blinkops.com/workflows/create-user-with-google-admin-console-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-user-with-google-admin-console-and-send-results-via-email/canvas" />
</div>
