addedInput schema / properties / action
Added value: +{
+ "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"
+}
addedInput schema / properties / add_note
Added value: +{
+ "description": "`salesforce` only: add the call summary as a note on the record. Defaults to false.",
+ "type": "boolean"
+}
addedInput schema / properties / channel_id
Added value: +{
+ "description": "`slack` only: the channel id. Send this or `channel_name`.",
+ "type": "string"
+}
addedInput schema / properties / channel_name
Added value: +{
+ "description": "`slack` only: the channel name. Send this or `channel_id`.",
+ "type": "string"
+}
addedInput schema / properties / create_call_log
Added value: +{
+ "description": "`zoho_bigin` only: log the call in Zoho Bigin. Defaults to true.",
+ "type": "boolean"
+}
addedInput schema / properties / create_contact
Added value: +{
+ "description": "`zoho_bigin` only: create a contact when no contact matches. Defaults to true.",
+ "type": "boolean"
+}
addedInput schema / properties / extracted_variables
Added value: +{
+ "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.",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "Instruction for the model on what to pull out of the conversation.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "prompt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / include
Added value: +{
+ "description": "Which sections to include.",
+ "items": {
+ "enum": [
+ "summary",
+ "extracted_variables",
+ "fullConversation",
+ "sentiment"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / integration_id
Added value: +{
+ "description": "`google_sheets`, `slack`, `salesforce`, `hubspot`, `zoho_bigin`\nonly, required: the id of your integration of that type.\n",
+ "type": "number"
+}
addedInput schema / properties / log_call
Added value: +{
+ "description": "`salesforce` only: log the call on the record, with the summary and recording link. Defaults to false.",
+ "type": "boolean"
+}
addedInput schema / properties / match_field
Added value: +{
+ "description": "`salesforce` only, with `upsert`: the phone field the caller's number is looked up in. Defaults to `Phone`.",
+ "type": "string"
+}
addedInput schema / properties / object_name
Added value: +{
+ "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"
+}
addedInput schema / properties / phone_number_id
Added value: +{
+ "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": "number"
+}
addedInput schema / properties / recipients
Added value: +{
+ "description": "`email` only, required: the addresses to notify.",
+ "items": {
+ "format": "email",
+ "type": "string"
+ },
+ "type": "array"
+}
removedInput schema / properties / requestBody
Removed 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`.",
- "type": "string"
- },
- "channel_name": {
- "description": "`slack` only: the channel name. Send this or `channel_id`.",
- "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.",
- "type": "string"
- },
- "prompt": {
- "description": "Instruction for the model on what to pull out of the conversation.",
- "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": "number"
- },
- "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`.",
- "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": "number"
- },
- "recipients": {
- "description": "`email` only, required: the addresses to notify.",
- "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",
- "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": "number"
- },
- "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.",
- "type": "string"
- },
- "index": {
- "description": "The placeholder number, as a string.",
- "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": "number"
- },
- "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",
- "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.",
- "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.",
- "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": "number"
- },
- "worksheet_name": {
- "description": "`google_sheets` only: the tab to append to. Defaults to `Sheet1`.",
- "type": "string"
- }
- },
- "type": "object"
-}
addedInput schema / properties / spreadsheet_id
Added value: +{
+ "description": "`google_sheets` only, required: the id in the sheet's URL, the\npart after `/d/`.\n",
+ "type": "string"
+}
addedInput schema / properties / spreadsheet_name
Added value: +{
+ "description": "`google_sheets` only: the sheet's name, for display.",
+ "type": "string"
+}
addedInput schema / properties / template_id
Added value: +{
+ "description": "`cloud_whatsapp` only: an approved template on that number.",
+ "type": "number"
+}
addedInput schema / properties / template_variables
Added value: +{
+ "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.",
+ "type": "string"
+ },
+ "index": {
+ "description": "The placeholder number, as a string.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / templates
Added value: +{
+ "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": "number"
+ },
+ "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",
+ "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.",
+ "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"
+}
addedInput schema / properties / trigger_call_statuses
Added value: +{
+ "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"
+}
addedInput schema / properties / type
Added value: +{
+ "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"
+}
addedInput schema / properties / update_contact
Added value: +{
+ "description": "`zoho_bigin` only: update a matching contact with what the call captured. Defaults to true.",
+ "type": "boolean"
+}
addedInput schema / properties / url
Added value: +{
+ "description": "`webhook` only, required: the endpoint that receives a POST with the call payload.",
+ "format": "uri",
+ "type": "string"
+}
addedInput schema / properties / workflow_id
Added value: +{
+ "description": "`workflow` only, required: the workflow to run. It must have a published version, or the action is skipped.",
+ "type": "number"
+}
addedInput schema / properties / worksheet_name
Added value: +{
+ "description": "`google_sheets` only: the tab to append to. Defaults to `Sheet1`.",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "agent_id",
- "action_id",
- "requestBody"
-]New value: +[
+ "agent_id",
+ "action_id"
+]