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

> POST /settings/automation/webhooks. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

POST /settings/automation/webhooks.

<Info>
  Tool ID: `zoho_crm_webhooks_post_webhooks`
</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_webhooks_post_webhooks',
  {
    "webhooks": [
      {
        "module": {
          "api_name": "Example",
          "id": "id_123"
        },
        "url": "https://example.com",
        "feature_type": "example",
        "http_method": "example",
        "name": "Example"
      }
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_webhooks_post_webhooks --input '{
  "webhooks": [
    {
      "module": {
        "api_name": "Example",
        "id": "id_123"
      },
      "url": "https://example.com",
      "feature_type": "example",
      "http_method": "example",
      "name": "Example"
    }
  ]
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "webhooks": [
      {
        "code": "example",
        "details": {
          "id": "id_123"
        },
        "message": "Example message"
      }
    ]
  }
}
```

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

## Input reference

Request body structure for creating new webhooks, including an array of webhook objects with all necessary details.

| Name               | Type    | Required | Default | Details                                   |
| ------------------ | ------- | -------- | ------- | ----------------------------------------- |
| `payload.webhooks` | `array` | Yes      | —       | Root element (Required) Maximum items: 1. |

<Info>
  This input schema is too large to embed without slowing the page. Get the complete live contract with `deepline tools get zoho_crm_webhooks_post_webhooks --json`.
</Info>

## Output reference

Standard tool result payload.

| Name                                | Type     | Required | Default | Details                                                                                                                 |
| ----------------------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `result.data`                       | `object` | Yes      | —       | Successful response for a webhook creation request, confirming the status and relevant details of each created webhook. |
| `result.data.webhooks`              | `array`  | No       | —       | Field: webhooks Maximum items: 1.                                                                                       |
| `result.data.webhooks[].code`       | `string` | No       | —       | Field: code Maximum length: 255.                                                                                        |
| `result.data.webhooks[].details`    | `object` | No       | —       | Nested details about a webhook, providing a unique identifier to distinguish it within the system.                      |
| `result.data.webhooks[].details.id` | `string` | No       | —       | Field: id Maximum length: 255.                                                                                          |
| `result.data.webhooks[].message`    | `string` | No       | —       | Field: message Maximum length: 255.                                                                                     |
| `result.data.webhooks[].status`     | `string` | No       | —       | Field: status Maximum length: 255.                                                                                      |
| `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": "Successful response for a webhook creation request, confirming the status and relevant details of each created webhook.",
        "properties": {
          "webhooks": {
            "type": "array",
            "description": "Field: webhooks",
            "maxItems": 1,
            "items": {
              "type": "object",
              "description": "Represents the status information of a webhook including operational code, message, and status details.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Field: code",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Nested details about a webhook, providing a unique identifier to distinguish it within the system.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Field: id",
                      "maxLength": 255
                    }
                  },
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Field: message",
                  "maxLength": 255
                },
                "status": {
                  "type": "string",
                  "description": "Field: status",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            }
          }
        },
        "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)
