changedInput schema / properties / requestBody / allOf
Previous value: -[
- {
- "description": "One post-call action. `type` picks the channel; send the fields of\nthat channel plus any of the shared ones. `type` is required when\nadding an action; an update sends only the fields it changes.\n",
- "properties": {
- "channel_id": {
- "description": "`slack` only: the channel id. Send this or `channel_name`.",
- "example": "C08RTQ1NY81",
- "type": "string"
- },
- "channel_name": {
- "description": "`slack` only: the channel name. Send this or `channel_id`.",
- "example": "sales",
- "type": "string"
- },
- "create_call_log": {
- "description": "`zoho_bigin` only: log the call in Zoho Bigin. Defaults to true.",
- "type": "boolean"
- },
- "create_contact": {
- "description": "`zoho_bigin` only: create a contact when no contact matches. Defaults to true.",
- "type": "boolean"
- },
- "extracted_variables": {
- "description": "Variables the model should pull out of the conversation. A key\nalready used by another action on this agent must have the same\nprompt, or the request is refused with `400`. Other actions are\nnever changed to match.\n",
- "items": {
- "properties": {
- "key": {
- "description": "Unique identifier for the variable in the post-call payload.",
- "example": "customer_issue",
- "type": "string"
- },
- "prompt": {
- "description": "Instruction for the model on what to pull out of the conversation.",
- "example": "Identify the main issue the customer is experiencing.",
- "type": "string"
- }
- },
- "required": [
- "key",
- "prompt"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "include": {
- "description": "Which sections to include.",
- "items": {
- "enum": [
- "summary",
- "extracted_variables",
- "fullConversation",
- "sentiment"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "integration_id": {
- "description": "`google_sheets`, `slack`, `salesforce`, `hubspot`, `zoho_bigin`\nonly, required: the id of your integration of that type.\n",
- "type": "integer"
- },
- "object_name": {
- "description": "`salesforce`: `Lead` (default), `Contact`, `Account`,\n`Opportunity`, `Case`, `Task` or `Product`. `hubspot`, required:\n`contact`, `company`, `deal` or `ticket`. Both send a fixed set of\nfields for the chosen object, so they take no `extracted_variables`.\n",
- "type": "string"
- },
- "phone_number_id": {
- "description": "`cloud_whatsapp` only, required: your Cloud WhatsApp number the message is sent from. Also send `template_id` or `templates`, or nothing is sent.",
- "type": "integer"
- },
- "recipients": {
- "description": "`email` only, required: the addresses to notify.",
- "example": [
- "support@acme-corp.io"
- ],
- "items": {
- "format": "email",
- "type": "string"
- },
- "type": "array"
- },
- "spreadsheet_id": {
- "description": "`google_sheets` only, required: the id in the sheet's URL, the\npart after `/d/`.\n",
- "example": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
- "type": "string"
- },
- "spreadsheet_name": {
- "description": "`google_sheets` only: the sheet's name, for display.",
- "type": "string"
- },
- "template_id": {
- "description": "`cloud_whatsapp` only: an approved template on that number.",
- "type": "integer"
- },
- "template_variables": {
- "description": "`cloud_whatsapp` only: which extracted variable fills each template placeholder.",
- "items": {
- "properties": {
- "extracted_var": {
- "description": "The key of the extracted variable whose value fills this placeholder.",
- "example": "customer_name",
- "type": "string"
- },
- "index": {
- "description": "The placeholder number, as a string.",
- "example": "1",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "templates": {
- "description": "`cloud_whatsapp` only: one or more templates to send.",
- "items": {
- "description": "One Cloud WhatsApp template to send after the call.",
- "properties": {
- "always_send": {
- "description": "Send this template after every call, whichever templates the model chooses.",
- "type": "boolean"
- },
- "template_id": {
- "description": "An approved template on the chosen number.",
- "type": "integer"
- },
- "usage_description": {
- "description": "When this template should be sent. After the call, the model reads\nthese descriptions to choose which templates fit the conversation.\n",
- "example": "Send when the caller books an appointment.",
- "type": "string"
- },
- "variable_mappings": {
- "description": "How to fill each template placeholder.",
- "items": {
- "properties": {
- "extracted_var": {
- "description": "The extracted variable whose value fills this placeholder.",
- "type": "string"
- },
- "fallback_value": {
- "description": "The value to use when the variable is not extracted.",
- "type": "string"
- },
- "index": {
- "description": "The placeholder number, as a string.",
- "example": "1",
- "type": "string"
- },
- "mode": {
- "description": "Which input the dashboard shows for this placeholder. It\ndoes not change the value sent: a `static_value` is used\nfirst, then the extracted variable, then `fallback_value`.\n",
- "enum": [
- "variable",
- "static"
- ],
- "type": "string"
- },
- "static_value": {
- "description": "A fixed value for this placeholder. When set, it is used\ninstead of the extracted variable.\n",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "trigger_call_statuses": {
- "description": "Call outcomes that fire this action. Omit to use the default\n(`completed`, `voicemail_detected`).\n",
- "items": {
- "enum": [
- "completed",
- "voicemail_detected",
- "failed",
- "no-answer",
- "busy",
- "canceled"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "type": {
- "description": "The channel. It cannot change after the action is created:\ndelete it and add a new one. `google_sheets`, `slack`,\n`salesforce`, `hubspot` and `zoho_bigin` deliver through an\naccount connected in the dashboard: pass its id as\n`integration_id` (see List integrations).\n",
- "enum": [
- "email",
- "webhook",
- "omni_crm",
- "cloud_whatsapp",
- "workflow",
- "google_sheets",
- "slack",
- "salesforce",
- "hubspot",
- "zoho_bigin"
- ],
- "type": "string"
- },
- "update_contact": {
- "description": "`zoho_bigin` only: update a matching contact with what the call captured. Defaults to true.",
- "type": "boolean"
- },
- "url": {
- "description": "`webhook` only, required: the endpoint that receives a POST with the call payload.",
- "example": "https://crm.acme-corp.io/omnidim-callback",
- "format": "uri",
- "type": "string"
- },
- "workflow_id": {
- "description": "`workflow` only, required: the workflow to run. It must have a published version, or the action is skipped.",
- "type": "integer"
- },
- "worksheet_name": {
- "description": "`google_sheets` only: the tab to append to. Defaults to `Sheet1`.",
- "example": "Calls",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "required": [
- "type"
- ]
- }
-]New value: +[
+ {
+ "description": "One post-call action. `type` picks the channel; send the fields of\nthat channel plus any of the shared ones. `type` is required when\nadding an action; an update sends only the fields it changes.\n",
+ "properties": {
+ "action": {
+ "description": "`salesforce` only: `upsert` finds the record by the caller's number\nand updates it or creates it. `create` creates a new record every\ncall. Defaults to `create`.\n",
+ "enum": [
+ "create",
+ "upsert"
+ ],
+ "type": "string"
+ },
+ "add_note": {
+ "description": "`salesforce` only: add the call summary as a note on the record. Defaults to false.",
+ "type": "boolean"
+ },
+ "channel_id": {
+ "description": "`slack` only: the channel id. Send this or `channel_name`.",
+ "example": "C08RTQ1NY81",
+ "type": "string"
+ },
+ "channel_name": {
+ "description": "`slack` only: the channel name. Send this or `channel_id`.",
+ "example": "sales",
+ "type": "string"
+ },
+ "create_call_log": {
+ "description": "`zoho_bigin` only: log the call in Zoho Bigin. Defaults to true.",
+ "type": "boolean"
+ },
+ "create_contact": {
+ "description": "`zoho_bigin` only: create a contact when no contact matches. Defaults to true.",
+ "type": "boolean"
+ },
+ "extracted_variables": {
+ "description": "Variables the model should pull out of the conversation. A key\nalready used by another action on this agent must have the same\nprompt, or the request is refused with `400`. Other actions are\nnever changed to match.\n",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "Unique identifier for the variable in the post-call payload.",
+ "example": "customer_issue",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Instruction for the model on what to pull out of the conversation.",
+ "example": "Identify the main issue the customer is experiencing.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "prompt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "include": {
+ "description": "Which sections to include.",
+ "items": {
+ "enum": [
+ "summary",
+ "extracted_variables",
+ "fullConversation",
+ "sentiment"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "integration_id": {
+ "description": "`google_sheets`, `slack`, `salesforce`, `hubspot`, `zoho_bigin`\nonly, required: the id of your integration of that type.\n",
+ "type": "integer"
+ },
+ "log_call": {
+ "description": "`salesforce` only: log the call on the record, with the summary and recording link. Defaults to false.",
+ "type": "boolean"
+ },
+ "match_field": {
+ "description": "`salesforce` only, with `upsert`: the phone field the caller's number is looked up in. Defaults to `Phone`.",
+ "example": "Phone",
+ "type": "string"
+ },
+ "object_name": {
+ "description": "`salesforce`: `Lead` (default), `Contact`, `Account`,\n`Opportunity`, `Case`, `Task` or `Product`. `hubspot`, required:\n`contact`, `company`, `deal` or `ticket`. Both send a fixed set of\nfields for the chosen object, so they take no `extracted_variables`.\n",
+ "type": "string"
+ },
+ "phone_number_id": {
+ "description": "`cloud_whatsapp` only, required: your Cloud WhatsApp number the message is sent from. Also send `template_id` or `templates`, or nothing is sent.",
+ "type": "integer"
+ },
+ "recipients": {
+ "description": "`email` only, required: the addresses to notify.",
+ "example": [
+ "support@acme-corp.io"
+ ],
+ "items": {
+ "format": "email",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "spreadsheet_id": {
+ "description": "`google_sheets` only, required: the id in the sheet's URL, the\npart after `/d/`.\n",
+ "example": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
+ "type": "string"
+ },
+ "spreadsheet_name": {
+ "description": "`google_sheets` only: the sheet's name, for display.",
+ "type": "string"
+ },
+ "template_id": {
+ "description": "`cloud_whatsapp` only: an approved template on that number.",
+ "type": "integer"
+ },
+ "template_variables": {
+ "description": "`cloud_whatsapp` only: which extracted variable fills each template placeholder.",
+ "items": {
+ "properties": {
+ "extracted_var": {
+ "description": "The key of the extracted variable whose value fills this placeholder.",
+ "example": "customer_name",
+ "type": "string"
+ },
+ "index": {
+ "description": "The placeholder number, as a string.",
+ "example": "1",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "templates": {
+ "description": "`cloud_whatsapp` only: one or more templates to send.",
+ "items": {
+ "description": "One Cloud WhatsApp template to send after the call.",
+ "properties": {
+ "always_send": {
+ "description": "Send this template after every call, whichever templates the model chooses.",
+ "type": "boolean"
+ },
+ "template_id": {
+ "description": "An approved template on the chosen number.",
+ "type": "integer"
+ },
+ "usage_description": {
+ "description": "When this template should be sent. After the call, the model reads\nthese descriptions to choose which templates fit the conversation.\n",
+ "example": "Send when the caller books an appointment.",
+ "type": "string"
+ },
+ "variable_mappings": {
+ "description": "How to fill each template placeholder.",
+ "items": {
+ "properties": {
+ "extracted_var": {
+ "description": "The extracted variable whose value fills this placeholder.",
+ "type": "string"
+ },
+ "fallback_value": {
+ "description": "The value to use when the variable is not extracted.",
+ "type": "string"
+ },
+ "index": {
+ "description": "The placeholder number, as a string.",
+ "example": "1",
+ "type": "string"
+ },
+ "mode": {
+ "description": "Which input the dashboard shows for this placeholder. It\ndoes not change the value sent: a `static_value` is used\nfirst, then the extracted variable, then `fallback_value`.\n",
+ "enum": [
+ "variable",
+ "static"
+ ],
+ "type": "string"
+ },
+ "static_value": {
+ "description": "A fixed value for this placeholder. When set, it is used\ninstead of the extracted variable.\n",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "trigger_call_statuses": {
+ "description": "Call outcomes that fire this action. Omit to use the default\n(`completed`, `voicemail_detected`).\n",
+ "items": {
+ "enum": [
+ "completed",
+ "voicemail_detected",
+ "failed",
+ "no-answer",
+ "busy",
+ "canceled"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The channel. It cannot change after the action is created:\ndelete it and add a new one. `google_sheets`, `slack`,\n`salesforce`, `hubspot` and `zoho_bigin` deliver through an\naccount connected in the dashboard: pass its id as\n`integration_id` (see List integrations).\n",
+ "enum": [
+ "email",
+ "webhook",
+ "omni_crm",
+ "cloud_whatsapp",
+ "workflow",
+ "google_sheets",
+ "slack",
+ "salesforce",
+ "hubspot",
+ "zoho_bigin"
+ ],
+ "type": "string"
+ },
+ "update_contact": {
+ "description": "`zoho_bigin` only: update a matching contact with what the call captured. Defaults to true.",
+ "type": "boolean"
+ },
+ "url": {
+ "description": "`webhook` only, required: the endpoint that receives a POST with the call payload.",
+ "example": "https://crm.acme-corp.io/omnidim-callback",
+ "format": "uri",
+ "type": "string"
+ },
+ "workflow_id": {
+ "description": "`workflow` only, required: the workflow to run. It must have a published version, or the action is skipped.",
+ "type": "integer"
+ },
+ "worksheet_name": {
+ "description": "`google_sheets` only: the tab to append to. Defaults to `Sheet1`.",
+ "example": "Calls",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "required": [
+ "type"
+ ]
+ }
+]