> ## 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: Field Updates Post Field Updates

> Create a workflow field update action that sets a Zoho CRM field to a value. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Create a workflow field update action that sets a Zoho CRM field to a value.

> [!NOTE]
>
> Tool ID: `zoho_crm_field_updates_post_field_updates`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_field_updates_post_field_updates',
  {
    "field_updates": [
      {
        "module": {
          "singular_label": "example",
          "moduleName": "Example",
          "id": "id_123"
        },
        "type": "static",
        "field": {
          "ui_type": 123,
          "id": "id_123",
          "api_name": "Example"
        },
        "name": "Example",
        "value": {}
      }
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_field_updates_post_field_updates --input '{
  "field_updates": [
    {
      "module": {
        "singular_label": "example",
        "moduleName": "Example",
        "id": "id_123"
      },
      "type": "static",
      "field": {
        "ui_type": 123,
        "id": "id_123",
        "api_name": "Example"
      },
      "name": "Example",
      "value": {}
    }
  ]
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "field_updates": [
      {
        "code": "example",
        "details": {
          "id": "id_123"
        },
        "message": "Example message"
      }
    ]
  }
}
```

Use `deepline describe zoho_crm_field_updates_post_field_updates --json` for the latest machine-readable contract.

## Input reference

Request body schema

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.field_updates` | `array` | Yes | — | Contains the data to create a field update action. (Required) Maximum items: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Request body schema",
    "properties": {
      "field_updates": {
        "type": "array",
        "description": "Contains the data to create a field update action. (Required)",
        "maxItems": 1,
        "items": {
          "type": "object",
          "description": "Contains the data to create a field update action.",
          "properties": {
            "created_time": {
              "type": "string",
              "description": "Field: created_time",
              "maxLength": 255
            },
            "update_type": {
              "type": [
                "string",
                "null"
              ],
              "description": "Specify how to update the field. This key is supported only for the multi-select fields.",
              "maxLength": 255,
              "enum": [
                "overwrite",
                "append"
              ]
            },
            "lock_status": {
              "type": "object",
              "description": "Nested schema for lock_status",
              "properties": {
                "locked": {
                  "type": "boolean",
                  "description": "Field: locked"
                }
              },
              "additionalProperties": false
            },
            "apply_assignment_threshold": {
              "type": "boolean",
              "description": "Indicates whether assignment-threshold rules should be applied when updating the field."
            },
            "editable": {
              "type": "boolean",
              "description": "Field: editable"
            },
            "module": {
              "type": "object",
              "description": "Specify the module details where the field update should be applied.",
              "properties": {
                "singular_label": {
                  "type": "string",
                  "description": "Field: singular_label",
                  "maxLength": 255
                },
                "moduleName": {
                  "type": "string",
                  "description": "Field: moduleName",
                  "maxLength": 255
                },
                "id": {
                  "type": "string",
                  "description": "Unique Id of the module",
                  "maxLength": 255
                },
                "plural_label": {
                  "type": "string",
                  "description": "Field: plural_label",
                  "maxLength": 255
                },
                "api_name": {
                  "type": "string",
                  "description": "Name of the module",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            },
            "related_module": {
              "type": "null",
              "description": "Field: related_module"
            },
            "deletable": {
              "type": "boolean",
              "description": "Field: deletable"
            },
            "source": {
              "type": "string",
              "description": "Field: source",
              "maxLength": 255
            },
            "type": {
              "type": "string",
              "description": "Specify the type of field update. (Required)",
              "maxLength": 255,
              "enum": [
                "static"
              ]
            },
            "created_by": {
              "type": "object",
              "description": "Nested schema for created_by",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Field: name",
                  "maxLength": 255
                },
                "id": {
                  "type": "string",
                  "description": "Field: id",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            },
            "notify": {
              "type": "boolean",
              "description": "Specify whether or not to send email notifications to the new owner."
            },
            "feature_type": {
              "type": "string",
              "description": "Specify the automation feature in which you want to use the field update.",
              "maxLength": 255,
              "enum": [
                "workflow"
              ]
            },
            "modified_time": {
              "type": "string",
              "description": "Field: modified_time",
              "maxLength": 255
            },
            "field": {
              "type": "object",
              "description": "Specify the API name and the unique ID of the field to be updated.",
              "properties": {
                "ui_type": {
                  "type": "integer",
                  "description": "Field: ui_type",
                  "format": "int32"
                },
                "id": {
                  "type": "string",
                  "description": "Unique ID of the field to be updated.",
                  "maxLength": 255
                },
                "api_name": {
                  "type": "string",
                  "description": "API name of the field to be updated.",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            },
            "dependent_fields": {
              "type": "array",
              "description": "Specify the dependent fields that are affected when the target field is updated",
              "maxItems": 1,
              "items": {
                "type": "object",
                "description": "Specify the dependent fields that are affected when the target field is updated",
                "properties": {
                  "field": {
                    "type": "object",
                    "description": "Specify the API name and the unique ID of the field to be updated.",
                    "properties": {
                      "ui_type": {
                        "type": "integer",
                        "description": "Field: ui_type",
                        "format": "int32"
                      },
                      "id": {
                        "type": "string",
                        "description": "Unique ID of the field to be updated.",
                        "maxLength": 255
                      },
                      "api_name": {
                        "type": "string",
                        "description": "API name of the field to be updated.",
                        "maxLength": 255
                      }
                    },
                    "additionalProperties": false
                  },
                  "value": {
                    "type": "string",
                    "description": "Contains value of the dependent field (Required)",
                    "maxLength": 255
                  }
                },
                "required": [
                  "field",
                  "value"
                ],
                "additionalProperties": false
              }
            },
            "related_records": {
              "type": [
                "array",
                "null"
              ],
              "description": "Specify the list of related modules (Tasks, Calls and Events) whose ownership should also be updated.",
              "maxItems": 2,
              "items": {
                "type": "object",
                "description": "Specify the list of related modules (Tasks, Calls and Events) whose ownership should also be updated.",
                "properties": {
                  "api_name": {
                    "type": "string",
                    "description": "API name of the related record.",
                    "maxLength": 255
                  },
                  "id": {
                    "type": "string",
                    "description": "Unique id of the related rec",
                    "maxLength": 255
                  }
                },
                "additionalProperties": false
              }
            },
            "associated": {
              "type": "boolean",
              "description": "Field: associated"
            },
            "name": {
              "type": "string",
              "description": "Specify the name of the field update action. (Required)",
              "maxLength": 255
            },
            "modified_by": {
              "type": "object",
              "description": "Nested schema for modified_by",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Field: name",
                  "maxLength": 255
                },
                "id": {
                  "type": "string",
                  "description": "Field: id",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            },
            "id": {
              "type": "string",
              "description": "Field: id",
              "maxLength": 255
            },
            "value": {
              "type": "object",
              "description": "Specify the value to set in the specified field. (Required)",
              "additionalProperties": true
            }
          },
          "required": [
            "field",
            "module",
            "name",
            "type",
            "value"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "field_updates"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Represents the success response of Field Update creation. |
| `result.data.field_updates` | `array` | No | — | Field: field\_updates Maximum items: 1. |
| `result.data.field_updates[].code` | `string` | No | — | Field: code Maximum length: 255. |
| `result.data.field_updates[].details` | `object` | No | — | Nested schema for details |
| `result.data.field_updates[].details.id` | `string` | No | — | Field: id Maximum length: 255. |
| `result.data.field_updates[].message` | `string` | No | — | Field: message Maximum length: 255. |
| `result.data.field_updates[].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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Represents the success response of Field Update creation.",
        "properties": {
          "field_updates": {
            "type": "array",
            "description": "Field: field_updates",
            "maxItems": 1,
            "items": {
              "type": "object",
              "description": "Nested schema for field_updates",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Field: code",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Nested schema for details",
                  "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](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.