changedInput schema / properties / body / properties / actionParameters / oneOf
Previous value: -[
- {
- "properties": {
- "hearWhisperMessage": {
- "description": "Whether to play whisper message to the receiving party",
- "example": true,
- "type": "boolean"
- },
- "transferToType": {
- "description": "Type of transfer destination (currently only \"number\" is supported)",
- "enum": [
- "number"
- ],
- "example": "number",
- "type": "string"
- },
- "transferToValue": {
- "description": "Phone number to transfer to. Must start with +, include country code, contain only numbers, and be 11-16 characters long (e.g., +12345678901).",
- "example": "+12345678901",
- "type": "string"
- },
- "triggerMessage": {
- "description": "Message to tell the caller before transferring",
- "example": "Let me transfer you to a manager right away",
- "type": "string"
- },
- "triggerPrompt": {
- "description": "When to trigger this action during the call",
- "example": "When the caller asks to speak to a manager",
- "type": "string"
- }
- },
- "required": [
- "triggerPrompt",
- "transferToType",
- "transferToValue",
- "triggerMessage"
- ],
- "type": "object"
- },
- {
- "properties": {
- "contactFieldId": {
- "description": "ID of the contact field to be updated with the extracted data",
- "example": "507f1f77bcf86cd799439011",
- "type": "string"
- },
- "description": {
- "description": "Description of what data to extract",
- "example": "Caller's phone number",
- "type": "string"
- },
- "examples": {
- "description": "Example values to help Agent understand the expected format. At least one example is required, maximum 5 examples allowed.",
- "example": [
- "+1234567890",
- "+9876543210"
- ],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "overwriteExistingValue": {
- "default": false,
- "description": "Whether to overwrite existing field value if already set, default is false",
- "example": false,
- "type": "boolean"
- }
- },
- "required": [
- "contactFieldId",
- "description",
- "examples"
- ],
- "type": "object"
- },
- {
- "properties": {
- "contactFieldId": {
- "description": "ID of the contact field to be updated with the extracted data",
- "example": "507f1f77bcf86cd799439011",
- "type": "string"
- },
- "description": {
- "description": "Description of what data to extract",
- "example": "Caller's phone number",
- "type": "string"
- },
- "examples": {
- "description": "Example values to help Agent understand the expected format. At least one example is required, maximum 5 examples allowed.",
- "example": [
- "+1234567890",
- "+9876543210"
- ],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "overwriteExistingValue": {
- "default": false,
- "description": "Whether to overwrite existing field value if already set, default is false",
- "example": false,
- "type": "boolean"
- }
- },
- "required": [
- "contactFieldId",
- "description",
- "examples"
- ],
- "type": "object"
- },
- {
- "properties": {
- "triggerMessage": {
- "description": "Message to tell the caller",
- "example": "Let me start that process for you",
- "type": "string"
- },
- "triggerPrompt": {
- "description": "When to trigger this workflow",
- "example": "When caller requests a quote",
- "type": "string"
- },
- "workflowId": {
- "description": "Workflow ID to trigger",
- "example": "507f1f77bcf86cd799439011",
- "type": "string"
- }
- },
- "required": [
- "triggerPrompt",
- "triggerMessage",
- "workflowId"
- ],
- "type": "object"
- },
- {
- "properties": {
- "messageBody": {
- "description": "SMS message content to send",
- "example": "Your appointment is confirmed for tomorrow at 2 PM",
- "type": "string"
- },
- "triggerMessage": {
- "description": "Message to tell the caller",
- "example": "I'll send you a confirmation text",
- "type": "string"
- },
- "triggerPrompt": {
- "description": "When to send the SMS",
- "example": "When caller asks for booking confirmation",
- "type": "string"
- }
- },
- "required": [
- "triggerPrompt",
- "triggerMessage",
- "messageBody"
- ],
- "type": "object"
- },
- {
- "properties": {
- "calendarId": {
- "description": "Calendar ID to book appointments in",
- "example": "507f1f77bcf86cd799439011",
- "type": "string"
- },
- "daysOfOfferingDates": {
- "description": "Number of days ahead to offer booking dates",
- "example": 3,
- "type": "number"
- },
- "hoursBetweenSlots": {
- "description": "Hours between available slots",
- "example": 1,
- "type": "number"
- },
- "slotsPerDay": {
- "description": "Number of available slots per day",
- "example": 3,
- "type": "number"
- }
- },
- "required": [
- "calendarId",
- "daysOfOfferingDates",
- "slotsPerDay",
- "hoursBetweenSlots"
- ],
- "type": "object"
- },
- {
- "properties": {
- "apiDetails": {
- "allOf": [
- {
- "properties": {
- "authenticationRequired": {
- "description": "Whether authentication is required",
- "example": true,
- "type": "boolean"
- },
- "authenticationValue": {
- "description": "Authentication token or API key (required if authenticationRequired is true)",
- "example": "token123",
- "type": "string"
- },
- "headers": {
- "description": "HTTP headers to include",
- "items": {
- "properties": {
- "key": {
- "description": "HTTP header name",
- "example": "id",
- "type": "string"
- },
- "value": {
- "description": "HTTP header value",
- "example": "1234567890",
- "type": "string"
- }
- },
- "required": [
- "key",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "method": {
- "description": "HTTP method",
- "enum": [
- "POST",
- "GET"
- ],
- "example": "GET",
- "type": "string"
- },
- "parameters": {
- "description": "API parameters to send",
- "items": {
- "properties": {
- "description": {
- "description": "Parameter description",
- "example": "Order ID to look up",
- "type": "string"
- },
- "example": {
- "description": "Example parameter value",
- "example": "ORD-12345",
- "type": "string"
- },
- "name": {
- "description": "Parameter name",
- "example": "orderId",
- "type": "string"
- },
- "type": {
- "description": "Parameter type",
- "example": "string",
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "url": {
- "description": "API endpoint URL",
- "example": "https://api.example.com/orders",
- "type": "string"
- }
- },
- "required": [
- "url",
- "method"
- ],
- "type": "object"
- }
- ],
- "description": "API endpoint configuration"
- },
- "selectedPaths": {
- "description": "Selected response paths to extract from API response. Required: at least 1 value if the method is GET. Should be empty if the method is POST.",
- "example": [
- "data.orderId",
- "status"
- ],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "triggerMessage": {
- "description": "Message to tell the caller",
- "example": "Let me check that order status",
- "type": "string"
- },
- "triggerPrompt": {
- "description": "When to call the custom API",
- "example": "When caller provides order number",
- "type": "string"
- }
- },
- "required": [
- "triggerPrompt",
- "triggerMessage",
- "apiDetails"
- ],
- "type": "object"
- },
- {
- "properties": {
- "knowledgeBaseId": {
- "description": "Knowledge base ID to query",
- "example": "507f1f77bcf86cd799439011",
- "type": "string"
- },
- "triggerPrompt": {
- "description": "When to query the knowledge base",
- "example": "When caller asks about pricing",
- "type": "string"
- }
- },
- "required": [
- "triggerPrompt",
- "knowledgeBaseId"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "hearWhisperMessage": {
+ "description": "Whether to play whisper message to the receiving party",
+ "example": true,
+ "type": "boolean"
+ },
+ "transferToType": {
+ "description": "Type of transfer destination (currently only \"number\" is supported)",
+ "enum": [
+ "number"
+ ],
+ "example": "number",
+ "type": "string"
+ },
+ "transferToValue": {
+ "description": "Phone number to transfer to. Must start with +, include country code, contain only numbers, and be 11-16 characters long (e.g., +12345678901).",
+ "example": "+12345678901",
+ "type": "string"
+ },
+ "triggerMessage": {
+ "description": "Message to tell the caller before transferring",
+ "example": "Let me transfer you to a manager right away",
+ "type": "string"
+ },
+ "triggerPrompt": {
+ "description": "When to trigger this action during the call",
+ "example": "When the caller asks to speak to a manager",
+ "type": "string"
+ }
+ },
+ "required": [
+ "triggerPrompt",
+ "transferToType",
+ "transferToValue",
+ "triggerMessage"
+ ],
+ "title": "CallTransferActionParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "contactFieldId": {
+ "description": "ID of the contact field to be updated with the extracted data",
+ "example": "507f1f77bcf86cd799439011",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of what data to extract",
+ "example": "Caller's phone number",
+ "type": "string"
+ },
+ "examples": {
+ "description": "Example values to help Agent understand the expected format. At least one example is required, maximum 5 examples allowed.",
+ "example": [
+ "+1234567890",
+ "+9876543210"
+ ],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "overwriteExistingValue": {
+ "default": false,
+ "description": "Whether to overwrite existing field value if already set, default is false",
+ "example": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "contactFieldId",
+ "description",
+ "examples"
+ ],
+ "title": "DataExtractionActionParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "contactFieldId": {
+ "description": "ID of the contact field to be updated with the extracted data",
+ "example": "507f1f77bcf86cd799439011",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of what data to extract",
+ "example": "Caller's phone number",
+ "type": "string"
+ },
+ "examples": {
+ "description": "Example values to help Agent understand the expected format. At least one example is required, maximum 5 examples allowed.",
+ "example": [
+ "+1234567890",
+ "+9876543210"
+ ],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "overwriteExistingValue": {
+ "default": false,
+ "description": "Whether to overwrite existing field value if already set, default is false",
+ "example": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "contactFieldId",
+ "description",
+ "examples"
+ ],
+ "title": "InCallDataExtractionActionParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "triggerMessage": {
+ "description": "Message to tell the caller",
+ "example": "Let me start that process for you",
+ "type": "string"
+ },
+ "triggerPrompt": {
+ "description": "When to trigger this workflow",
+ "example": "When caller requests a quote",
+ "type": "string"
+ },
+ "workflowId": {
+ "description": "Workflow ID to trigger",
+ "example": "507f1f77bcf86cd799439011",
+ "type": "string"
+ }
+ },
+ "required": [
+ "triggerPrompt",
+ "triggerMessage",
+ "workflowId"
+ ],
+ "title": "WorkflowTriggerParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "messageBody": {
+ "description": "SMS message content to send",
+ "example": "Your appointment is confirmed for tomorrow at 2 PM",
+ "type": "string"
+ },
+ "triggerMessage": {
+ "description": "Message to tell the caller",
+ "example": "I'll send you a confirmation text",
+ "type": "string"
+ },
+ "triggerPrompt": {
+ "description": "When to send the SMS",
+ "example": "When caller asks for booking confirmation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "triggerPrompt",
+ "triggerMessage",
+ "messageBody"
+ ],
+ "title": "SMSParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "calendarId": {
+ "description": "Calendar ID to book appointments in",
+ "example": "507f1f77bcf86cd799439011",
+ "type": "string"
+ },
+ "daysOfOfferingDates": {
+ "description": "Number of days ahead to offer booking dates",
+ "example": 3,
+ "type": "number"
+ },
+ "hoursBetweenSlots": {
+ "description": "Hours between available slots",
+ "example": 1,
+ "type": "number"
+ },
+ "slotsPerDay": {
+ "description": "Number of available slots per day",
+ "example": 3,
+ "type": "number"
+ }
+ },
+ "required": [
+ "calendarId",
+ "daysOfOfferingDates",
+ "slotsPerDay",
+ "hoursBetweenSlots"
+ ],
+ "title": "AppointmentBookingActionParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "apiDetails": {
+ "allOf": [
+ {
+ "properties": {
+ "authenticationRequired": {
+ "description": "Whether authentication is required",
+ "example": true,
+ "type": "boolean"
+ },
+ "authenticationValue": {
+ "description": "Authentication token or API key (required if authenticationRequired is true)",
+ "example": "token123",
+ "type": "string"
+ },
+ "headers": {
+ "description": "HTTP headers to include",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "HTTP header name",
+ "example": "id",
+ "type": "string"
+ },
+ "value": {
+ "description": "HTTP header value",
+ "example": "1234567890",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "value"
+ ],
+ "title": "CustomActionHeaderDTO",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "method": {
+ "description": "HTTP method",
+ "enum": [
+ "POST",
+ "GET"
+ ],
+ "example": "GET",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "API parameters to send",
+ "items": {
+ "properties": {
+ "description": {
+ "description": "Parameter description",
+ "example": "Order ID to look up",
+ "type": "string"
+ },
+ "example": {
+ "description": "Example parameter value",
+ "example": "ORD-12345",
+ "type": "string"
+ },
+ "name": {
+ "description": "Parameter name",
+ "example": "orderId",
+ "type": "string"
+ },
+ "type": {
+ "description": "Parameter type",
+ "example": "string",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "CustomActionParameterDTO",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "url": {
+ "description": "API endpoint URL",
+ "example": "https://api.example.com/orders",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "method"
+ ],
+ "title": "CustomActionApiDetailsDTO",
+ "type": "object"
+ }
+ ],
+ "description": "API endpoint configuration"
+ },
+ "selectedPaths": {
+ "description": "Selected response paths to extract from API response. Required: at least 1 value if the method is GET. Should be empty if the method is POST.",
+ "example": [
+ "data.orderId",
+ "status"
+ ],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "triggerMessage": {
+ "description": "Message to tell the caller",
+ "example": "Let me check that order status",
+ "type": "string"
+ },
+ "triggerPrompt": {
+ "description": "When to call the custom API",
+ "example": "When caller provides order number",
+ "type": "string"
+ }
+ },
+ "required": [
+ "triggerPrompt",
+ "triggerMessage",
+ "apiDetails"
+ ],
+ "title": "CustomActionParameters",
+ "type": "object"
+ },
+ {
+ "properties": {
+ "knowledgeBaseId": {
+ "description": "Knowledge base ID to query",
+ "example": "507f1f77bcf86cd799439011",
+ "type": "string"
+ },
+ "triggerPrompt": {
+ "description": "When to query the knowledge base",
+ "example": "When caller asks about pricing",
+ "type": "string"
+ }
+ },
+ "required": [
+ "triggerPrompt",
+ "knowledgeBaseId"
+ ],
+ "title": "KnowledgeBaseParameters",
+ "type": "object"
+ }
+]