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

# Zoho CRM: README

> Create Group. Zoho CRM User Groups Create Group reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Create Group.

<Info>
  Tool ID: `zoho_crm_user_groups_create_group`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get zoho_crm_user_groups_create_group --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "user_groups": [
      {
        "code": "SUCCESS",
        "message": "Example message",
        "status": "success",
        "details": {
          "id": "id_123"
        }
      }
    ]
  }
}
```

Use `deepline tools get zoho_crm_user_groups_create_group --json` for the latest machine-readable contract.

## Input reference

Request body for creating a user group

| Name                  | Type    | Required | Default | Details                                          |
| --------------------- | ------- | -------- | ------- | ------------------------------------------------ |
| `payload.user_groups` | `array` | Yes      | —       | Array of user groups to create Maximum items: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request body for creating a user group",
    "properties": {
      "user_groups": {
        "type": "array",
        "description": "Array of user groups to create",
        "maxItems": 1,
        "items": {
          "type": "object",
          "description": "User group creation details",
          "properties": {
            "description": {
              "type": "object",
              "description": "Description of the user group",
              "additionalProperties": true
            },
            "name": {
              "type": "string",
              "description": "Name of the user group",
              "maxLength": 250
            },
            "sources": {
              "type": "array",
              "description": "Array of sources for the user group",
              "maxItems": 200,
              "items": {
                "type": "object",
                "description": "Source details for the user group",
                "properties": {
                  "type": {
                    "type": "string",
                    "description": "Type of source",
                    "enum": [
                      "territories",
                      "roles",
                      "users"
                    ]
                  },
                  "source": {
                    "type": "object",
                    "description": "Source identifier",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "ID of the source",
                        "maxLength": 19
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  },
                  "subordinates": {
                    "type": "object",
                    "description": "Include subordinates flag",
                    "additionalProperties": true
                  },
                  "sub_territories": {
                    "type": "object",
                    "description": "Include sub-territories flag",
                    "additionalProperties": true
                  }
                },
                "required": [
                  "type",
                  "source"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "name",
            "sources"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "user_groups"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                   | Type        | Required | Default | Details                                                                  |
| -------------------------------------- | ----------- | -------- | ------- | ------------------------------------------------------------------------ |
| `result.data`                          | `object`    | Yes      | —       | Response for user group creation                                         |
| `result.data.user_groups`              | `array`     | Yes      | —       | Array of user group creation results Maximum items: 1.                   |
| `result.data.user_groups[].code`       | `"SUCCESS"` | Yes      | —       | Response code indicating success or scheduled status Allowed: `SUCCESS`. |
| `result.data.user_groups[].message`    | `string`    | Yes      | —       | Response message describing the result Maximum length: 500.              |
| `result.data.user_groups[].status`     | `"success"` | Yes      | —       | Status of the operation Allowed: `success`.                              |
| `result.data.user_groups[].details`    | `object`    | Yes      | —       | Details containing the created group ID                                  |
| `result.data.user_groups[].details.id` | `string`    | Yes      | —       | ID of the created user group Maximum length: 19.                         |
| `result.meta`                          | `object`    | No       | —       | Additional response metadata (status, paging).                           |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response for user group creation",
        "properties": {
          "user_groups": {
            "type": "array",
            "description": "Array of user group creation results",
            "maxItems": 1,
            "items": {
              "type": "object",
              "description": "User group creation result details",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Response code indicating success or scheduled status",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Response message describing the result",
                  "maxLength": 500
                },
                "status": {
                  "type": "string",
                  "description": "Status of the operation",
                  "enum": [
                    "success"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details containing the created group ID",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID of the created user group",
                      "maxLength": 19
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "code",
                "message",
                "status",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "user_groups"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
