> ## 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 notification channels. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Create notification channels.

<Info>
  Tool ID: `zoho_crm_notifications_create_notifications`
</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_notifications_create_notifications',
  {
    "watch": [
      {
        "notify_url": "https://example.com",
        "events": [
          "example"
        ]
      }
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_notifications_create_notifications --input '{
  "watch": [
    {
      "notify_url": "https://example.com",
      "events": [
        "example"
      ]
    }
  ]
}' --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get zoho_crm_notifications_create_notifications --json` for the complete live contract.

## Input reference

Create channels request wrapper.

| Name            | Type    | Required | Default | Details                                |
| --------------- | ------- | -------- | ------- | -------------------------------------- |
| `payload.watch` | `array` | Yes      | —       | Channels to create. Maximum items: 50. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Create channels request wrapper.",
    "properties": {
      "watch": {
        "type": "array",
        "description": "Channels to create.",
        "maxItems": 50,
        "items": {
          "type": "object",
          "description": "Create channel payload.",
          "properties": {
            "notify_url": {
              "type": "string",
              "description": "Callback URL.",
              "maxLength": 255
            },
            "channel_id": {
              "type": "string",
              "description": "client channel identifier.",
              "maxLength": 64
            },
            "channel_expiry": {
              "type": "string",
              "description": "Channel expiry time.",
              "format": "date-time"
            },
            "events": {
              "type": "array",
              "description": "Events to subscribe.",
              "maxItems": 50,
              "items": {
                "type": "string",
                "description": "Event name.",
                "maxLength": 128
              }
            },
            "token": {
              "type": "string",
              "description": "Optional token echoed in callbacks.",
              "maxLength": 256
            }
          },
          "required": [
            "notify_url",
            "events"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "watch"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                  | Type     | Required | Default | Details                                           |
| ----------------------------------------------------- | -------- | -------- | ------- | ------------------------------------------------- |
| `result.data`                                         | `object` | Yes      | —       | Creation results wrapper.                         |
| `result.data.watch`                                   | `array`  | Yes      | —       | List of create result entries. Maximum items: 50. |
| `result.data.watch[].code`                            | `string` | Yes      | —       | Result code. Maximum length: 32.                  |
| `result.data.watch[].details`                         | `object` | Yes      | —       | Created event channel details.                    |
| `result.data.watch[].details.events`                  | `array`  | Yes      | —       | Event channel details. Maximum items: 50.         |
| `result.data.watch[].details.events[].channel_expiry` | `string` | Yes      | —       | Expiry timestamp. Format: `date-time`.            |
| `result.data.watch[].details.events[].resource_uri`   | `string` | Yes      | —       | Resource URI. Maximum length: 255.                |
| `result.data.watch[].details.events[].resource_id`    | `string` | Yes      | —       | Resource identifier. Maximum length: 64.          |
| `result.data.watch[].details.events[].resource_name`  | `string` | Yes      | —       | Resource name. Maximum length: 128.               |
| `result.data.watch[].details.events[].channel_id`     | `string` | Yes      | —       | Channel identifier. Maximum length: 64.           |
| `result.data.watch[].message`                         | `string` | Yes      | —       | Human readable message. Maximum length: 255.      |
| `result.data.watch[].status`                          | `string` | Yes      | —       | Status string. Maximum length: 32.                |
| `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": "Creation results wrapper.",
        "properties": {
          "watch": {
            "type": "array",
            "description": "List of create result entries.",
            "maxItems": 50,
            "items": {
              "type": "object",
              "description": "Single create result.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Result code.",
                  "maxLength": 32
                },
                "details": {
                  "type": "object",
                  "description": "Created event channel details.",
                  "properties": {
                    "events": {
                      "type": "array",
                      "description": "Event channel details.",
                      "maxItems": 50,
                      "items": {
                        "type": "object",
                        "description": "Event channel detail.",
                        "properties": {
                          "channel_expiry": {
                            "type": "string",
                            "description": "Expiry timestamp.",
                            "format": "date-time"
                          },
                          "resource_uri": {
                            "type": "string",
                            "description": "Resource URI.",
                            "maxLength": 255
                          },
                          "resource_id": {
                            "type": "string",
                            "description": "Resource identifier.",
                            "maxLength": 64
                          },
                          "resource_name": {
                            "type": "string",
                            "description": "Resource name.",
                            "maxLength": 128
                          },
                          "channel_id": {
                            "type": "string",
                            "description": "Channel identifier.",
                            "maxLength": 64
                          }
                        },
                        "required": [
                          "channel_expiry",
                          "resource_uri",
                          "resource_id",
                          "resource_name",
                          "channel_id"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "events"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Human readable message.",
                  "maxLength": 255
                },
                "status": {
                  "type": "string",
                  "description": "Status string.",
                  "maxLength": 32
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "watch"
        ],
        "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)
