Volver al catálogo

Wonderchat

wonderchat

Instantly build AI Chatbots with your knowledge base. Create custom chatbots powered by your content and data.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Add URLs to a chatbot knowledge base and start crawling them, including private pages when a session cookie is supplied.

Parámetros de entrada

  • urlsstring[]Obligatorio

    Page URLs to add or delete

  • chatbotIdstringObligatorio

    Chatbot ID to modify

  • sessionCookiestringpassword

    JSON-encoded array of cookie objects for crawling pages behind login. A plain cookie string is invalid.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Tags to ChatlogWONDERCHAT_ADD_TAGS_TO_CHATLOGAcción

Add one or more tags to a chatlog for categorization and filtering.

Parámetros de entrada

  • tagsstring[]Obligatorio

    Tag names to add or remove

  • chatlogIdstringObligatorio

    Chatlog ID to modify

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Ask ChatbotWONDERCHAT_ASK_CHATBOTAcción

Ask 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/.

  • contextstring

    Additional context about the chat session

  • questionstringObligatorio

    Question for the chatbot

  • chatbotIdstringObligatorio

    Chatbot ID to ask

  • chatlogIdstring

    Existing chatlog ID for conversation continuity

  • contextUrlstring

    Page URL that supplies additional context

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete PagesWONDERCHAT_DELETE_PAGESAcción

Delete URLs from a chatbot knowledge base. This permanently removes those pages.

Parámetros de entrada

  • urlsstring[]Obligatorio

    Page URLs to add or delete

  • chatbotIdstringObligatorio

    Chatbot ID to modify

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Tags from ChatlogWONDERCHAT_DELETE_TAGS_FROM_CHATLOGAcción

Remove specified tags from a chatlog. This destructively changes its tags.

Parámetros de entrada

  • tagsstring[]Obligatorio

    Tag names to add or remove

  • chatlogIdstringObligatorio

    Chatlog ID to modify

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export ChatlogsWONDERCHAT_EXPORT_CHATLOGSAcción

Export 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

  • limitinteger

    Maximum chatlogs to return in this page

  • cursorstring

    nextCursor from the previous response; omit for the first page

  • endDatestring

    ISO date string for export end date (e.g., '2024-12-31T23:59:59Z')

  • chatbotIdstring

    ID of specific chatbot. If omitted, exports from all chatbots

  • startDatestring

    ISO date string for export start date (e.g., '2024-01-01T00:00:00Z')

  • includeMessagesboolean

    Whether to include message transcripts in each chatlog

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MessagesWONDERCHAT_GET_MESSAGESAcción

Retrieve all user and bot messages from a chatlog, including timestamps.

Parámetros de entrada

  • chatlogIdstringObligatorio

    Chatlog ID to retrieve

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Chat FeedbackWONDERCHAT_UPDATE_CHAT_FEEDBACKAcción

Set GOOD or BAD feedback on a chatlog for satisfaction tracking.

Parámetros de entrada

  • feedbackstringObligatorioenum

    Conversation feedback

    GOODBAD
  • chatlogIdstringObligatorio

    Chatlog ID to rate

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Chatlog InfoWONDERCHAT_UPDATE_CHATLOG_INFOAcción

Partially 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

  • namestring

    Contact name; send an empty string to clear

  • emailstring

    Contact email; send an empty string to clear

  • userIdstring

    Free-form external user identifier

  • chatlogIdstringObligatorio

    Chatlog ID to update

  • phoneNumberstring

    Contact phone number; send an empty string to clear

  • customFieldsobject[]

    Configured custom fields to upsert; names are case-sensitive

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Message FeedbackWONDERCHAT_UPDATE_MESSAGE_FEEDBACKAcción

Set helpfulness feedback and an optional comment on one chatbot message.

Parámetros de entrada

  • feedbackstringObligatorioenum

    Message feedback

    HELPFULNOT_HELPFUL
  • messageIdstringObligatorio

    Message ID to rate

  • userCommentstring

    Optional explanation for the feedback

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not