Skip to main content

PromptPartialUpdate

text object
anyOf
string
name object
anyOf
string
description object

Playbooks only — replaces the catalog line (see PromptRead.description). A metadata edit; no new version is created.

anyOf
string
config object

Replaces the per-prompt settings (see PromptRead.config); null resets to the empty config. A metadata edit; no new version is created.

anyOf
crm_fields_conditions object

Composite CRM-field conditions (the same shape as on A/B campaigns and outreach: AND/OR with per-field operators). With at least one condition set, the platform enables the playbook in a dialogue as soon as the lead's CRM fields match — before the model runs, without a tool call. An empty conditions list never auto-enables; null (the default) leaves enabling to the model.

anyOf
operatorCRMFieldsConditionsOperator

Possible values: [AND, OR]

Default value: AND
conditions object[]
  • Array [
  • fieldFieldrequired
    operatorCRMFieldConditionOperatorrequired

    Possible values: [EQUALS, NOT_EQUALS, IN, NOT_IN, STARTS_WITH, ENDS_WITH, CONTAINS, EXISTS, NOT_EXISTS, IS_EMPTY, IS_NOT_EMPTY]

    valueValue
  • ]
  • author object
    anyOf
    string
    type object
    anyOf
    string

    Possible values: [prompt, classification, document, ping, calendar, state, outreach, stage_triggered, redirect, clarification, human_clarification_follow_up, custom_follow_up, formatting, playbook, qualification, disqualification, escalation]

    enabled_version_id object
    anyOf
    integer
    skip_instructions object
    anyOf
    string
    version_description object
    anyOf
    string
    lang object
    anyOf
    Language

    Possible values: [ru, en, pt, es]

    modality object
    anyOf
    string

    Possible values: [text, voice]

    acknowledged_checksstring[]

    Codes of prompt-check findings the client explicitly accepts ("proceed anyway") when the update carries new text; see PromptCreate.acknowledged_checks for the full contract. Ignored for metadata-only updates.

    PromptPartialUpdate
    {
    "text": "string",
    "name": "string",
    "description": "string",
    "config": {
    "crm_fields_conditions": {
    "operator": "AND",
    "conditions": [
    {
    "field": "string",
    "operator": "EQUALS"
    }
    ]
    }
    },
    "author": "string",
    "type": "prompt",
    "enabled_version_id": 0,
    "skip_instructions": "string",
    "version_description": "string",
    "lang": "ru",
    "modality": "text",
    "acknowledged_checks": [
    "string"
    ]
    }