> ## 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 portals. Zoho CRM Portals Create Portal reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Create portals.

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

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_portals_create_portal',
  {
    "portals": [
      {
        "name": "Example"
      }
    ]
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute zoho_crm_portals_create_portal --input '{
  "portals": [
    {
      "name": "Example"
    }
  ]
}' --json
```

## Example response

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

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

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

## Input reference

Request body schema for creating portals

| Name              | Type    | Required | Default | Details                                              |
| ----------------- | ------- | -------- | ------- | ---------------------------------------------------- |
| `payload.portals` | `array` | Yes      | —       | Array of portal creation objects Maximum items: 100. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request body schema for creating portals",
    "properties": {
      "portals": {
        "type": "array",
        "description": "Array of portal creation objects",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Portal creation details",
          "properties": {
            "name": {
              "type": "string",
              "description": "Portal name (6-30 characters)",
              "minLength": 6,
              "maxLength": 30
            }
          },
          "required": [
            "name"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "portals"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                 | Type        | Required | Default | Details                                                            |
| ------------------------------------ | ----------- | -------- | ------- | ------------------------------------------------------------------ |
| `result.data`                        | `object`    | Yes      | —       | Success response for portal creation                               |
| `result.data.portals`                | `array`     | Yes      | —       | List of created portals Maximum items: 100.                        |
| `result.data.portals[].code`         | `"SUCCESS"` | Yes      | —       | Status code of the portal creation Allowed: `SUCCESS`.             |
| `result.data.portals[].message`      | `string`    | Yes      | —       | Message describing the portal creation result Maximum length: 255. |
| `result.data.portals[].details`      | `object`    | Yes      | —       | Details of the created portal                                      |
| `result.data.portals[].details.name` | `string`    | Yes      | —       | Name of the created portal Maximum length: 30.                     |
| `result.data.portals[].status`       | `"success"` | Yes      | —       | Status of the portal creation Allowed: `success`.                  |
| `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": "Success response for portal creation",
        "properties": {
          "portals": {
            "type": "array",
            "description": "List of created portals",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Portal creation result object",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Status code of the portal creation",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Message describing the portal creation result",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Details of the created portal",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Name of the created portal",
                      "maxLength": 30
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "additionalProperties": false
                },
                "status": {
                  "type": "string",
                  "description": "Status of the portal creation",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "message",
                "details",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "portals"
        ],
        "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)
