Wonderchat
wonderchatInstantly build AI Chatbots with your knowledge base. Create custom chatbots powered by your content and data.
Acciones disponibles (10)
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 PagesWONDERCHAT_ADD_PAGESAcciónAdd URLs to a chatbot knowledge base and start crawling them, including private pages when a session cookie is supplied.
WONDERCHAT_ADD_PAGESAcciónAdd URLs to a chatbot knowledge base and start crawling them, including private pages when a session cookie is supplied.
Parámetros de entrada
urlsstring[]ObligatorioPage URLs to add or delete
chatbotIdstringObligatorioChatbot ID to modify
sessionCookiestringpasswordJSON-encoded array of cookie objects for crawling pages behind login. A plain cookie string is invalid.
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
Add Tags to ChatlogWONDERCHAT_ADD_TAGS_TO_CHATLOGAcciónAdd one or more tags to a chatlog for categorization and filtering.
WONDERCHAT_ADD_TAGS_TO_CHATLOGAcciónAdd one or more tags to a chatlog for categorization and filtering.
Parámetros de entrada
tagsstring[]ObligatorioTag names to add or remove
chatlogIdstringObligatorioChatlog ID to modify
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
Ask ChatbotWONDERCHAT_ASK_CHATBOTAcciónAsk a chatbot a question without API-key authentication. The call is non-streaming and creates a new chatlog when chatlogId is omitted.
WONDERCHAT_ASK_CHATBOTAcciónAsk a chatbot a question without API-key authentication. The call is non-streaming and creates a new chatlog when chatlogId is omitted.
Parámetros de entrada
imagesstring[]Up to five image URLs. Each must be an http(s) URL or a base64 data URL beginning with data:image/.
contextstringAdditional context about the chat session
questionstringObligatorioQuestion for the chatbot
chatbotIdstringObligatorioChatbot ID to ask
chatlogIdstringExisting chatlog ID for conversation continuity
contextUrlstringPage URL that supplies additional context
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 PagesWONDERCHAT_DELETE_PAGESAcciónDelete URLs from a chatbot knowledge base. This permanently removes those pages.
WONDERCHAT_DELETE_PAGESAcciónDelete URLs from a chatbot knowledge base. This permanently removes those pages.
Parámetros de entrada
urlsstring[]ObligatorioPage URLs to add or delete
chatbotIdstringObligatorioChatbot ID to modify
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 Tags from ChatlogWONDERCHAT_DELETE_TAGS_FROM_CHATLOGAcciónRemove specified tags from a chatlog. This destructively changes its tags.
WONDERCHAT_DELETE_TAGS_FROM_CHATLOGAcciónRemove specified tags from a chatlog. This destructively changes its tags.
Parámetros de entrada
tagsstring[]ObligatorioTag names to add or remove
chatlogIdstringObligatorioChatlog ID to modify
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
Export ChatlogsWONDERCHAT_EXPORT_CHATLOGSAcciónExport one cursor-paginated page of historical chatlogs from accessible chatbots, optionally filtered by chatbot and date range. Results contain end-user PII such as names, email addresses, and phone numbers. Date filtering matches creation or last-message time; use nextCursor until hasMore is false for a complete export.
WONDERCHAT_EXPORT_CHATLOGSAcciónExport one cursor-paginated page of historical chatlogs from accessible chatbots, optionally filtered by chatbot and date range. Results contain end-user PII such as names, email addresses, and phone numbers. Date filtering matches creation or last-message time; use nextCursor until hasMore is false for a complete export.
Parámetros de entrada
limitintegerMaximum chatlogs to return in this page
cursorstringnextCursor from the previous response; omit for the first page
endDatestringISO date string for export end date (e.g., '2024-12-31T23:59:59Z')
chatbotIdstringID of specific chatbot. If omitted, exports from all chatbots
startDatestringISO date string for export start date (e.g., '2024-01-01T00:00:00Z')
includeMessagesbooleanWhether to include message transcripts in each chatlog
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 MessagesWONDERCHAT_GET_MESSAGESAcciónRetrieve all user and bot messages from a chatlog, including timestamps.
WONDERCHAT_GET_MESSAGESAcciónRetrieve all user and bot messages from a chatlog, including timestamps.
Parámetros de entrada
chatlogIdstringObligatorioChatlog ID to retrieve
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
Update Chat FeedbackWONDERCHAT_UPDATE_CHAT_FEEDBACKAcciónSet GOOD or BAD feedback on a chatlog for satisfaction tracking.
WONDERCHAT_UPDATE_CHAT_FEEDBACKAcciónSet GOOD or BAD feedback on a chatlog for satisfaction tracking.
Parámetros de entrada
feedbackstringObligatorioenumConversation feedback
GOODBADchatlogIdstringObligatorioChatlog ID to rate
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
Update Chatlog InfoWONDERCHAT_UPDATE_CHATLOG_INFOAcciónPartially update contact and custom-field data on a chatlog. Requires a paid Wonderchat plan and an API key with ADMIN permission on the chatbot.
WONDERCHAT_UPDATE_CHATLOG_INFOAcciónPartially update contact and custom-field data on a chatlog. Requires a paid Wonderchat plan and an API key with ADMIN permission on the chatbot.
Parámetros de entrada
namestringContact name; send an empty string to clear
emailstringContact email; send an empty string to clear
userIdstringFree-form external user identifier
chatlogIdstringObligatorioChatlog ID to update
phoneNumberstringContact phone number; send an empty string to clear
customFieldsobject[]Configured custom fields to upsert; names are case-sensitive
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
Update Message FeedbackWONDERCHAT_UPDATE_MESSAGE_FEEDBACKAcciónSet helpfulness feedback and an optional comment on one chatbot message.
WONDERCHAT_UPDATE_MESSAGE_FEEDBACKAcciónSet helpfulness feedback and an optional comment on one chatbot message.
Parámetros de entrada
feedbackstringObligatorioenumMessage feedback
HELPFULNOT_HELPFULmessageIdstringObligatorioMessage ID to rate
userCommentstringOptional explanation for the feedback
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