SendSeven GmbH · Schema
AutomationBotCreate
Schema for creating a new automation bot
MessagingCommunicationsSoftware-as-a-ServiceGermany
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Bot display name |
| bot_type | object | Type of bot |
| is_active | boolean | Whether bot is active |
| priority | integer | Bot priority (higher = evaluated first when matching context) |
| personality_prompt | object | Custom system prompt defining bot personality |
| greeting_message | object | Initial greeting sent to users |
| escalation_keywords | object | Keywords that trigger escalation (e.g., ['agent', 'human', 'help']) |
| display_name | object | Customer-facing name shown to end users (e.g., 'Eva', 'Max'). Falls back to bot name. |
| avatar_url | object | Avatar image URL for the bot |
| ai_disclosure_message | object | Custom AI disclosure override. Use {name} as placeholder for bot display name. |
| ai_disclosure_include_escalation | boolean | Include 'ask for human agent' mention in the AI disclosure |
| is_kb_only_mode | boolean | Only answer from knowledge base, no general knowledge |
| response_language | object | ISO 639-1 language code (e.g., 'en', 'de'). null = follow the customer's language (auto-detect); ''/'auto' are stored as null. |
| confidence_threshold | number | Minimum confidence score to provide answer (0.0-1.0) |
| is_detailed_response | boolean | Allow longer, more detailed bot responses instead of concise chat-style messages |
| use_full_conversation_context | boolean | Feed the full current conversation (bounded) into the KB query instead of only the last few messages. Single-conversation only. |
| vision_enabled | object | Beta: let the bot read images customers send (NULL/false = off). |
| web_search_mode | object | Beta: live web-search trigger mode — 'off' (default/NULL), 'kb_fallback' (search only after KB returns no answer), or 'always'. Any other value is rejected 422. |
| web_search_allowed_domains | object | Beta: restrict web search to these plain domains (injected as site: operators). Empty list = no restriction; NULL = off. Entries must be plain hosts (no scheme/path); normalized on write. |
| web_search_required_keywords | object | Beta: keywords appended to every web-search query (e.g. brand name). |
| web_search_max_per_conversation | object | Beta: per-conversation cap on web searches (>=0). NULL = default cap. |
| deep_answers_enabled | object | Beta: allow deeper KB+web synthesis / reasoning bump (NULL/false = off). |
| auto_translate_messages | boolean | Auto-translate greetings, buttons, and responses to user's detected language |
| language_detection_strategy | object | How this bot resolves the language it speaks. 'cascade' (default) resolves per conversation via the fallback chain (contact locale -> inferred channel locale -> response_language/base_language); 'fixe |
| escalation_enabled | boolean | When disabled, the bot will never escalate to a human agent regardless of confidence score |
| offers_escalation | boolean | Always offer option to talk to human |
| max_failed_attempts | integer | Low-confidence responses before auto-escalation. Use 0 for bot types where escalation does not apply (e.g. keyword bots). |
| handoff_message | object | Custom message when escalating to human agent (e.g., 'An agent will reply soon') |
| no_answer_message | object | Custom text sent when the knowledge base has no answer. Empty/NULL uses the built-in localized text. Must not mention a human agent -- it is also sent when escalation is disabled. |
| escalation_offer_message | object | Custom text appended (after one blank line) offering a human agent. Empty/NULL uses the built-in localized text. |
| immediate_handoff_threshold | number | Confidence below this triggers immediate escalation offer (0.0-1.0) |
| required_fields | object | Fields to collect from users |
| routing_config | object | Routing configuration (required when bot_type='router') |
| is_field_collection_mode | boolean | Enable field collection mode (auto-set for lead_qualification and appointment bots) |
| calendly_event_type_uri | object | Calendly event type URI for booking appointments |
| offline_escalation_behavior | object | Behavior when escalation fires but no agents online (live chat): leave_message, escalate_anyway, continue_bot |
| offline_message | object | Custom message shown in offline scenarios (live chat) |
| outside_hours_message | object | Custom message for non-livechat channels outside business hours |
| is_escalation_schedule_enabled | boolean | Enable time-based escalation gating |
| escalation_timezone | string | IANA timezone for escalation schedule (e.g., 'Europe/Berlin') |
| escalation_schedule | object | Time ranges when human escalation is available |
| escalation_tag_id | object | Tag (skill) to route escalated conversations to |
| escalation_routing_strategy | object | Assignment on handoff: null = keep unassigned; round_robin_all | least_busy_all = all eligible members (tag ignored + cleared); notify_only | round_robin | least_busy = by tag (requires escalation_tag |
| escalation_fallback_minutes | object | Unattended alert after N minutes if still unassigned / unanswered (any non-null strategy; off-hours the countdown starts at the next escalation-schedule opening) |
| max_email_replies | object | Max email replies per conversation before handing off to agents (email_support bots) |
| is_email_reply_mode | object | When TRUE on an 'assistant' bot, the email auto-reply logic kicks in (equivalent to legacy bot_type='email_support'). Default FALSE. |
| coexist_bot_id | object | ID of another bot to coexist with |
| coexist_mode | object | Coexistence mode: 'active_when_active' or 'active_when_inactive' |
| base_language | object | Language the bot's messages are written in (ISO 639-1). Optional: when omitted it defaults to the workspace language, else the creating user's app language, else 'en'. |
| translation_cache | object | Cached translations keyed by language code |
| greeting_buttons_enabled | object | Show 'Talk to Human' / 'Ask the bot' buttons under the greeting (NULL/false = off) |
| greeting_human_button_caption | object | Caption for the 'Talk to Human' button. NULL = localized default. |
| greeting_continue_button_caption | object | Caption for the 'Ask the bot' button. NULL = localized default. |
| greeting_continue_ack_message | object | Acknowledgement message sent after the user taps 'Ask the bot'. NULL = localized default. |
| source_footer_enabled | object | |
| source_footer_mode | object | Which sources to list: 'urls_only' or 'urls_and_kb'. NULL = column default ('urls_only'). |
| source_link_params | object | Per-channel query params appended to source links, keyed by channel_type with an optional 'default' key. Shape: {channel_type: {param_name: template_string}}. NULL = no decoration. |
| kb_live_refresh_mode | object | KB live-refresh mode: 'off' | 'always_live' | 'cached_ttl' | 'live_once'. NULL = 'off'. |
| kb_live_refresh_ttl_seconds | object | Cache TTL in seconds, only meaningful when kb_live_refresh_mode == 'cached_ttl'. NULL = service default. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sendseven-com/json-schema/sendseven-com-automation-bot-create-schema.json",
"title": "AutomationBotCreate",
"description": "Schema for creating a new automation bot",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sendseven-com-openapi.json#/components/schemas/AutomationBotCreate",
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"title": "Name",
"description": "Bot display name"
},
"bot_type": {
"$ref": "#/$defs/BotTypeEnum",
"description": "Type of bot",
"default": "support"
},
"is_active": {
"type": "boolean",
"title": "Is Active",
"description": "Whether bot is active",
"default": true
},
"priority": {
"type": "integer",
"minimum": 0.0,
"title": "Priority",
"description": "Bot priority (higher = evaluated first when matching context)",
"default": 0
},
"personality_prompt": {
"anyOf": [
{
"type": "string",
"maxLength": 15000
},
{
"type": "null"
}
],
"title": "Personality Prompt",
"description": "Custom system prompt defining bot personality"
},
"greeting_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Greeting Message",
"description": "Initial greeting sent to users"
},
"escalation_keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Escalation Keywords",
"description": "Keywords that trigger escalation (e.g., ['agent', 'human', 'help'])"
},
"display_name": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"title": "Display Name",
"description": "Customer-facing name shown to end users (e.g., 'Eva', 'Max'). Falls back to bot name."
},
"avatar_url": {
"anyOf": [
{
"type": "string",
"maxLength": 2048
},
{
"type": "null"
}
],
"title": "Avatar Url",
"description": "Avatar image URL for the bot"
},
"ai_disclosure_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ai Disclosure Message",
"description": "Custom AI disclosure override. Use {name} as placeholder for bot display name."
},
"ai_disclosure_include_escalation": {
"type": "boolean",
"title": "Ai Disclosure Include Escalation",
"description": "Include 'ask for human agent' mention in the AI disclosure",
"default": true
},
"is_kb_only_mode": {
"type": "boolean",
"title": "Is Kb Only Mode",
"description": "Only answer from knowledge base, no general knowledge",
"default": true
},
"response_language": {
"anyOf": [
{
"type": "string",
"maxLength": 10
},
{
"type": "null"
}
],
"title": "Response Language",
"description": "ISO 639-1 language code (e.g., 'en', 'de'). null = follow the customer's language (auto-detect); ''/'auto' are stored as null."
},
"confidence_threshold": {
"type": "number",
"maximum": 1.0,
"minimum": 0.0,
"title": "Confidence Threshold",
"description": "Minimum confidence score to provide answer (0.0-1.0)",
"default": 0.7
},
"is_detailed_response": {
"type": "boolean",
"title": "Is Detailed Response",
"description": "Allow longer, more detailed bot responses instead of concise chat-style messages",
"default": false
},
"use_full_conversation_context": {
"type": "boolean",
"title": "Use Full Conversation Context",
"description": "Feed the full current conversation (bounded) into the KB query instead of only the last few messages. Single-conversation only.",
"default": false
},
"vision_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Vision Enabled",
"description": "Beta: let the bot read images customers send (NULL/false = off)."
},
"web_search_mode": {
"anyOf": [
{
"$ref": "#/$defs/WebSearchModeEnum"
},
{
"type": "null"
}
],
"description": "Beta: live web-search trigger mode — 'off' (default/NULL), 'kb_fallback' (search only after KB returns no answer), or 'always'. Any other value is rejected 422."
},
"web_search_allowed_domains": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Web Search Allowed Domains",
"description": "Beta: restrict web search to these plain domains (injected as site: operators). Empty list = no restriction; NULL = off. Entries must be plain hosts (no scheme/path); normalized on write."
},
"web_search_required_keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Web Search Required Keywords",
"description": "Beta: keywords appended to every web-search query (e.g. brand name)."
},
"web_search_max_per_conversation": {
"anyOf": [
{
"type": "integer",
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Web Search Max Per Conversation",
"description": "Beta: per-conversation cap on web searches (>=0). NULL = default cap."
},
"deep_answers_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deep Answers Enabled",
"description": "Beta: allow deeper KB+web synthesis / reasoning bump (NULL/false = off)."
},
"auto_translate_messages": {
"type": "boolean",
"title": "Auto Translate Messages",
"description": "Auto-translate greetings, buttons, and responses to user's detected language",
"default": true
},
"language_detection_strategy": {
"anyOf": [
{
"type": "string",
"enum": [
"cascade",
"fixed"
]
},
{
"type": "null"
}
],
"title": "Language Detection Strategy",
"description": "How this bot resolves the language it speaks. 'cascade' (default) resolves per conversation via the fallback chain (contact locale -> inferred channel locale -> response_language/base_language); 'fixed' always speaks base_language. Omit / null to keep the default -- NULL is stored and treated as 'cascade' by the runtime, so existing bots are unaffected. Any other value is rejected 422."
},
"escalation_enabled": {
"type": "boolean",
"title": "Escalation Enabled",
"description": "When disabled, the bot will never escalate to a human agent regardless of confidence score",
"default": true
},
"offers_escalation": {
"type": "boolean",
"title": "Offers Escalation",
"description": "Always offer option to talk to human",
"default": true
},
"max_failed_attempts": {
"type": "integer",
"maximum": 10.0,
"minimum": 0.0,
"title": "Max Failed Attempts",
"description": "Low-confidence responses before auto-escalation. Use 0 for bot types where escalation does not apply (e.g. keyword bots).",
"default": 2
},
"handoff_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Handoff Message",
"description": "Custom message when escalating to human agent (e.g., 'An agent will reply soon')"
},
"no_answer_message": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"title": "No Answer Message",
"description": "Custom text sent when the knowledge base has no answer. Empty/NULL uses the built-in localized text. Must not mention a human agent -- it is also sent when escalation is disabled."
},
"escalation_offer_message": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"title": "Escalation Offer Message",
"description": "Custom text appended (after one blank line) offering a human agent. Empty/NULL uses the built-in localized text."
},
"immediate_handoff_threshold": {
"type": "number",
"maximum": 1.0,
"minimum": 0.0,
"title": "Immediate Handoff Threshold",
"description": "Confidence below this triggers immediate escalation offer (0.0-1.0)",
"default": 0.3
},
"required_fields": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/RequiredFieldConfig"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Required Fields",
"description": "Fields to collect from users"
},
"routing_config": {
"anyOf": [
{
"$ref": "#/$defs/RoutingConfigSchema"
},
{
"type": "null"
}
],
"description": "Routing configuration (required when bot_type='router')"
},
"is_field_collection_mode": {
"type": "boolean",
"title": "Is Field Collection Mode",
"description": "Enable field collection mode (auto-set for lead_qualification and appointment bots)",
"default": false
},
"calendly_event_type_uri": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"title": "Calendly Event Type Uri",
"description": "Calendly event type URI for booking appointments"
},
"offline_escalation_behavior": {
"$ref": "#/$defs/OfflineEscalationBehaviorEnum",
"description": "Behavior when escalation fires but no agents online (live chat): leave_message, escalate_anyway, continue_bot",
"default": "leave_message"
},
"offline_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Offline Message",
"description": "Custom message shown in offline scenarios (live chat)"
},
"outside_hours_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Outside Hours Message",
"description": "Custom message for non-livechat channels outside business hours"
},
"is_escalation_schedule_enabled": {
"type": "boolean",
"title": "Is Escalation Schedule Enabled",
"description": "Enable time-based escalation gating",
"default": false
},
"escalation_timezone": {
"type": "string",
"title": "Escalation Timezone",
"description": "IANA timezone for escalation schedule (e.g., 'Europe/Berlin')",
"default": "UTC"
},
"escalation_schedule": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/TimeRangeConfig"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Escalation Schedule",
"description": "Time ranges when human escalation is available"
},
"escalation_tag_id": {
"anyOf": [
{
"type": "string",
"maxLength": 36
},
{
"type": "null"
}
],
"title": "Escalation Tag Id",
"description": "Tag (skill) to route escalated conversations to"
},
"escalation_routing_strategy": {
"anyOf": [
{
"$ref": "#/$defs/EscalationRoutingStrategyEnum"
},
{
"type": "null"
}
],
"description": "Assignment on handoff: null = keep unassigned; round_robin_all | least_busy_all = all eligible members (tag ignored + cleared); notify_only | round_robin | least_busy = by tag (requires escalation_tag_id)"
},
"escalation_fallback_minutes": {
"anyOf": [
{
"type": "integer",
"maximum": 1440.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Escalation Fallback Minutes",
"description": "Unattended alert after N minutes if still unassigned / unanswered (any non-null strategy; off-hours the countdown starts at the next escalation-schedule opening)"
},
"max_email_replies": {
"anyOf": [
{
"type": "integer",
"maximum": 50.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Max Email Replies",
"description": "Max email replies per conversation before handing off to agents (email_support bots)",
"default": 1
},
"is_email_reply_mode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Email Reply Mode",
"description": "When TRUE on an 'assistant' bot, the email auto-reply logic kicks in (equivalent to legacy bot_type='email_support'). Default FALSE.",
"default": false
},
"coexist_bot_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Coexist Bot Id",
"description": "ID of another bot to coexist with"
},
"coexist_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Coexist Mode",
"description": "Coexistence mode: 'active_when_active' or 'active_when_inactive'"
},
"base_language": {
"anyOf": [
{
"type": "string",
"maxLength": 10
},
{
"type": "null"
}
],
"title": "Base Language",
"description": "Language the bot's messages are written in (ISO 639-1). Optional: when omitted it defaults to the workspace language, else the creating user's app language, else 'en'."
},
"translation_cache": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Translation Cache",
"description": "Cached translations keyed by language code"
},
"greeting_buttons_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Greeting Buttons Enabled",
"description": "Show 'Talk to Human' / 'Ask the bot' buttons under the greeting (NULL/false = off)"
},
"greeting_human_button_caption": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Greeting Human Button Caption",
"description": "Caption for the 'Talk to Human' button. NULL = localized default."
},
"greeting_continue_button_caption": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"title": "Greeting Continue Button Caption",
"description": "Caption for the 'Ask the bot' button. NULL = localized default."
},
"greeting_continue_ack_message": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"title": "Greeting Continue Ack Message",
"description": "Acknowledgement message sent after the user taps 'Ask the bot'. NULL = localized default."
},
"source_footer_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Source Footer Enabled"
},
"source_footer_mode": {
"anyOf": [
{
"type": "string",
"enum": [
"urls_only",
"urls_and_kb"
]
},
{
"type": "null"
}
],
"title": "Source Footer Mode",
"description": "Which sources to list: 'urls_only' or 'urls_and_kb'. NULL = column default ('urls_only')."
},
"source_link_params": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Source Link Params",
"description": "Per-channel query params appended to source links, keyed by channel_type with an optional 'default' key. Shape: {channel_type: {param_name: template_string}}. NULL = no decoration."
},
"kb_live_refresh_mode": {
"anyOf": [
{
"type": "string",
"enum": [
"off",
"always_live",
"cached_ttl",
"live_once"
]
},
{
"type": "null"
}
],
"title": "Kb Live Refresh Mode",
"description": "KB live-refresh mode: 'off' | 'always_live' | 'cached_ttl' | 'live_once'. NULL = 'off'."
},
"kb_live_refresh_ttl_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Kb Live Refresh Ttl Seconds",
"description": "Cache TTL in seconds, only meaningful when kb_live_refresh_mode == 'cached_ttl'. NULL = service default."
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name"
],
"$defs": {
"BotTypeEnum": {
"type": "string",
"enum": [
"assistant",
"support",
"router",
"sales",
"lead_qualification",
"faq",
"appointment",
"keyword",
"email_support",
"agent"
],
"title": "BotTypeEnum",
"description": "Type of automation bot.\n\n'assistant' is the preferred value for new bots (Phase 2 consolidation).\nAll legacy values remain valid for backwards compatibility."
},
"EscalationRoutingStrategyEnum": {
"type": "string",
"enum": [
"notify_only",
"round_robin",
"least_busy",
"round_robin_all",
"least_busy_all"
],
"title": "EscalationRoutingStrategyEnum",
"description": "\"Assignment on handoff\" for a bot escalation (field value ``null`` =\nkeep the conversation unassigned).\n\nBy tag (``escalation_tag_id`` REQUIRED, RoutingService.route_to_tag):\n``notify_only`` tags the conversation and alerts the tag holders;\n``round_robin`` / ``least_busy`` also auto-assign an UNASSIGNED\nconversation to an eligible tag holder.\nAll members (NO tag — a stored tag is cleared, RoutingService.route_to_all):\n``round_robin_all`` / ``least_busy_all``.\nNever reassigns. Values are a frozen cross-agent contract."
},
"OfflineEscalationBehaviorEnum": {
"type": "string",
"enum": [
"leave_message",
"escalate_anyway",
"continue_bot"
],
"title": "OfflineEscalationBehaviorEnum",
"description": "What to do when escalation triggers but no agents are online (live chat)"
},
"RequiredFieldConfig": {
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Field identifier (e.g., 'email', 'customer_id')"
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Question to ask the user"
},
"required": {
"type": "boolean",
"title": "Required",
"description": "Whether field must be collected",
"default": true
},
"type": {
"type": "string",
"title": "Type",
"description": "Field type: text, email, phone, number",
"default": "text"
},
"custom_field_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Custom Field Id",
"description": "Link to custom field definition"
}
},
"type": "object",
"required": [
"name",
"prompt"
],
"title": "RequiredFieldConfig",
"description": "Configuration for a field the bot should collect"
},
"RoutingButtonSchema": {
"properties": {
"label": {
"type": "string",
"maxLength": 50,
"minLength": 1,
"title": "Label",
"description": "Button label text (max 50 chars for WhatsApp compatibility)"
},
"target_type": {
"type": "string",
"enum": [
"bot",
"agent"
],
"title": "Target Type",
"description": "Route to another bot or agent queue"
},
"target_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Target Id",
"description": "Target bot ID (required if target_type='bot'), null for agent queue"
},
"agents_online_only": {
"type": "boolean",
"title": "Agents Online Only",
"description": "If true, this button is only shown when agents are online. When agents are offline, the button is either hidden or replaced with offline_label.",
"default": false
},
"offline_label": {
"anyOf": [
{
"type": "string",
"maxLength": 50
},
{
"type": "null"
}
],
"title": "Offline Label",
"description": "Alternative button label shown when agents are offline (e.g. 'Leave a Message'). If not set and agents_online_only=True, button is hidden when no agents are online."
}
},
"type": "object",
"required": [
"label",
"target_type"
],
"title": "RoutingButtonSchema",
"description": "A routing button that routes to a bot or agent queue.\n\nWhen user clicks the button, the conversation will be routed\nto the specified target."
},
"RoutingConfigSchema": {
"properties": {
"messages": {
"items": {
"$ref": "#/$defs/RoutingMessageSchema"
},
"type": "array",
"maxItems": 5,
"title": "Messages",
"description": "Routing messages to send (max 5). First message is sent on session start."
},
"intent_keywords": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object",
"title": "Intent Keywords",
"description": "Keyword mapping for text-based intent matching. Keys are target_id or 'agent' for agent queue. Values are lists of keywords."
},
"use_llm_fallback": {
"type": "boolean",
"title": "Use Llm Fallback",
"description": "Use LLM for intent classification if keyword matching fails",
"default": true
},
"max_retry_count": {
"type": "integer",
"maximum": 5.0,
"minimum": 0.0,
"title": "Max Retry Count",
"description": "Max times to re-send routing message before escalating to agent",
"default": 2
}
},
"type": "object",
"title": "RoutingConfigSchema",
"description": "Full routing configuration for a router bot.\n\nRouter bots use this configuration to:\n1. Send routing messages with buttons\n2. Match user intent from text responses\n3. Route to appropriate target (bot or agent)"
},
"RoutingMessageSchema": {
"properties": {
"text": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"title": "Text",
"description": "Message text to send (max 1024 chars)"
},
"buttons": {
"items": {
"$ref": "#/$defs/RoutingButtonSchema"
},
"type": "array",
"maxItems": 10,
"title": "Buttons",
"description": "Routing buttons (max 10). WhatsApp supports max 3 reply buttons."
},
"fallback_text": {
"anyOf": [
{
"type": "string",
"maxLength": 1024
},
{
"type": "null"
}
],
"title": "Fallback Text",
"description": "Text for channels without button support (SMS/Email). If not set, text is used."
}
},
"type": "object",
"required": [
"text"
],
"title": "RoutingMessageSchema",
"description": "A routing message with optional buttons.\n\nRouter bots send these messages to guide users through a routing flow.\nChannels that don't support buttons will receive the fallback_text instead."
},
"TimeRangeConfig": {
"properties": {
"days": {
"items": {
"type": "integer"
},
"type": "array",
"title": "Days",
"description": "Days of week (0=Monday, 6=Sunday)"
},
"start": {
"type": "string",
"title": "Start",
"description": "Start time in HH:MM format"
},
"end": {
"type": "string",
"title": "End",
"description": "End time in HH:MM format"
}
},
"type": "object",
"required": [
"days",
"start",
"end"
],
"title": "TimeRangeConfig",
"description": "Time range for schedule-based activation"
},
"WebSearchModeEnum": {
"type": "string",
"enum": [
"off",
"kb_fallback",
"always"
],
"title": "WebSearchModeEnum",
"description": "When a bot is allowed to perform a live web search (Beta).\n\n- ``off`` (default / NULL): today's behaviour — KB-only, never searches\n the web.\n- ``kb_fallback``: only search the web after the KB returns [NO_ANSWER].\n- ``always``: run the on-topic gate then search the web for every message."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sendseven-com-automation-bot-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.