BotMape
botmapeBotMape provides APIs for creating and managing AI agents, knowledge bases, conversations, messages, and usage analytics.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add KnowledgeBOTMAPE_ADD_KNOWLEDGEAcciónAdd and automatically embed training content in one AI agent's knowledge base, optionally with source or categorization metadata.
BOTMAPE_ADD_KNOWLEDGEAcciónAdd and automatically embed training content in one AI agent's knowledge base, optionally with source or categorization metadata.
Parámetros de entrada
contentstringObligatorioNon-empty training content to embed, such as FAQs, documentation, or policies.
metadataobjectOptional free-form metadata for the content, such as its category, source, or tags.
ai_agent_idintegerObligatorioNumeric AI agent ID whose knowledge base should receive the training content.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI Agent (No API Delete)BOTMAPE_CREATE_AI_AGENTAcciónPermanently create a BotMape AI agent. BotMape provides no documented delete-agent API, so this toolkit cannot remove it afterward, and creation may permanently consume a plan-limited agent slot. Requires explicit confirmation that a lasting agent is intended.
BOTMAPE_CREATE_AI_AGENTAcciónPermanently create a BotMape AI agent. BotMape provides no documented delete-agent API, so this toolkit cannot remove it afterward, and creation may permanently consume a plan-limited agent slot. Requires explicit confirmation that a lasting agent is intended.
Parámetros de entrada
namestringObligatorioPermanent AI agent display name (1-100 characters). Creating it may consume a plan-limited slot, and no documented API can delete it.
descriptionstringBrief statement of the lasting AI agent's purpose.
primary_colorstringWidget theme color as a six-digit hex value such as #6366f1.
system_promptstringBehavior and personality instructions for the new AI agent.
welcome_messagestringInitial greeting the new AI agent shows visitors.
confirm_permanent_creationbooleanObligatorioMust be true to confirm that BotMape provides no documented API to delete the new AI agent and that creation may permanently consume a plan-limited agent slot. This confirmation is not sent to BotMape.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Knowledge EntryBOTMAPE_DELETE_KNOWLEDGE_ENTRYAcciónPermanently delete one knowledge-base entry from an AI agent using both the agent ID and knowledge entry ID.
BOTMAPE_DELETE_KNOWLEDGE_ENTRYAcciónPermanently delete one knowledge-base entry from an AI agent using both the agent ID and knowledge entry ID.
Parámetros de entrada
ai_agent_idintegerObligatorioNumeric ID of the AI agent that owns the knowledge entry.
knowledge_entry_idintegerObligatorioID of the knowledge entry to permanently delete; obtain it with List Knowledge Entries.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AI AgentBOTMAPE_GET_AI_AGENTAcciónReturn the detailed configuration, behavior prompt, appearance, and active state of one AI agent by ID.
BOTMAPE_GET_AI_AGENTAcciónReturn the detailed configuration, behavior prompt, appearance, and active state of one AI agent by ID.
Parámetros de entrada
ai_agent_idintegerObligatorioNumeric AI agent ID returned by List AI Agents.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Platform AnalyticsBOTMAPE_GET_PLATFORM_ANALYTICSAcciónReturn account-wide BotMape message and conversation totals, daily activity, averages, and per-agent statistics.
BOTMAPE_GET_PLATFORM_ANALYTICSAcciónReturn account-wide BotMape message and conversation totals, daily activity, averages, and per-agent statistics.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AI AgentsBOTMAPE_LIST_AI_AGENTSAcciónReturn all AI agents owned by the connected BotMape account, including the IDs needed by single-agent, chat, and knowledge tools.
BOTMAPE_LIST_AI_AGENTSAcciónReturn all AI agents owned by the connected BotMape account, including the IDs needed by single-agent, chat, and knowledge tools.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Knowledge EntriesBOTMAPE_LIST_KNOWLEDGE_ENTRIESAcciónReturn all knowledge-base entries currently attached to one AI agent, including entry IDs needed for deletion.
BOTMAPE_LIST_KNOWLEDGE_ENTRIESAcciónReturn all knowledge-base entries currently attached to one AI agent, including entry IDs needed for deletion.
Parámetros de entrada
ai_agent_idintegerObligatorioNumeric AI agent ID whose knowledge base should be listed.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send Message to AI AgentBOTMAPE_SEND_MESSAGE_TO_AI_AGENTAcciónImmediately send a visitor message to an AI agent, creating a conversation or continuing the supplied conversation, and return the generated reply. This permanently adds chat history.
BOTMAPE_SEND_MESSAGE_TO_AI_AGENTAcciónImmediately send a visitor message to an AI agent, creating a conversation or continuing the supplied conversation, and return the generated reply. This permanently adds chat history.
Parámetros de entrada
messagestringObligatorioNon-empty visitor message to send immediately to the AI agent.
visitor_idstringStable external visitor identifier used to associate this message with a visitor.
ai_agent_idintegerObligatorioID of the AI agent that should receive the message; use an ID returned by List AI Agents.
visitor_namestringDisplay name to record for the visitor.
visitor_emailstringemailEmail address to record for the visitor.
conversation_idstringExisting conversation ID to continue; omit to start a new conversation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not