Use Wonderchat MCP with Sokko.
Connect Wonderchat MCP and tell Sokko what to do. It runs the actions you ask for and reacts to what happens. No workflows, no code.
Works with 1,000+ tools · No code required
Actions
Everything Sokko can do in Wonderchat MCP
Every Wonderchat MCP action Sokko can run. Ask for one in a sentence and it's done.
Accept review proposal
Apply the AI-suggested fix for a review item (e.g. add a retrieval hint or flag a conflict). Writes an audit row.
Add company domain
Add an email domain to a company; contacts on that domain who aren't in a company yet join it (attached says how many). Free email domains like gmail.com are rejected.
Add contact identity
Attach another email or phone number to a contact. Fails with CONFLICT if another contact already has it; merge_contacts them instead.
Add correction
Teach the agent an authoritative answer: when asked something like `question`, answer `answer`. Stored as a correction in the knowledge base. correctionType EXACT matches close paraphrases; GENERAL applies more broadly.
Add faq
Add a proactive FAQ the agent should always know: a question and its answer. Stored as a general correction in the knowledge base. Use this for canonical Q&A; use add_correction to fix a specific wrong answer.
Add knowledge file
Upload a document (PDF, Word, Excel, PowerPoint, Markdown, text, CSV, JSON, images, audio/video) into the agent's knowledge base, e.g. docs from the user's repo. Upload the file with create_upload and pass its uploadId (preferred), or for a tiny file pass its bytes base64-encoded in contentBase64; max 10 MB either way. fileName must include the extension. Indexing is asynchronous; check get_setup_status. For a file already public on the web use add_knowledge_url instead.
Add knowledge text
Add a free-text snippet (title + body) to the agent's knowledge base. Use for facts, policies, or answers not on a web page.
Add knowledge url
Crawl and index a URL into the agent's knowledge base. crawlScope PAGE_ONLY (default) indexes just that page; SUBDIR_ONLY the sub-path; ALL_SITE the whole site; SITEMAP its sitemap. Crawling is asynchronous.
Add ticket note
Add an internal note to a ticket (Markdown). Teammates see it; the customer and the AI never do. mentionUserIds (from list_ticket_assignees) notifies those teammates. Images are shown inline at the end of the note: upload each with create_upload and pass it in uploads (base64 images also work for tiny ones). Notes take images only, not file attachments.
Archive chatlogs
Soft-archive (or unarchive with archive=false) one or more conversations. Reversible.
Ask
Ask the agent a question and get the answer it would give, without saving a conversation. Runs the real model and retrieval, so it consumes the owner's message credits like a normal chat message (fails cleanly if the owner is out of quota).
Boost conflict source
Resolve a KNOWLEDGE_CONFLICT review item by choosing which of the conflicting chunks is authoritative (keepEmbeddingId).
Close tickets
Close (resolve) one or more tickets. Followers are notified. A customer reply reopens a closed ticket automatically; reopen_ticket does it by hand.
Count review items
Return counts of review items by status and by failure mode for an agent — the shape of the queue.
Count tickets
Inbox tab counts for an agent: open (no reply yet), onUs, onCustomer, customerReplied (of onUs, how many the customer wrote back on), closed. customStates: open tickets per team-defined state; parked: how many of open/onUs/onCustomer sit in one. Optional assignee/team filters as in list_tickets.
Create ab test
Creates a draft test with Control and Variant B, where B starts as an exact copy of the agent. Change B with update_ab_test_variant, then start_ab_test. An agent has one draft or running test at a time.
Create agent
Create a new customer-facing AI agent and start training it. Give a websiteUrl to crawl (crawlScope ALL_SITE by default, SUBDIR_ONLY for a docs sub-path, SITEMAP for a sitemap URL, PAGE_ONLY for one page) and/or texts (e.g. README or docs content). Training runs in the background: poll get_setup_status until state is ENABLED, then tune it with update_model_and_behavior (write a systemPrompt describing the business, tone and what to hand off) and update_profile_and_widget. workspaceId: a workspace from list_workspaces, or "PERSONAL"; when omitted, the space the user last worked in (usually their team). Fails with the plan's agent limit if the account is full.
Create company
Create a company on the agent's account. Contacts with an email on one of its domains who aren't in a company yet join it. Free email domains like gmail.com are rejected. scopeId is only needed if the agent's account is ambiguous.
Create ticket
Start a new ticket by emailing a customer. connectionId picks the sending mailbox from list_ticket_senders (null = the agent's Wonderchat address). Images and files: upload each with create_upload and pass them in uploads (inline: true shows an image inline, otherwise it's attached); base64 images/files also work for tiny ones. Their reply lands back on this ticket. sourceChatlogId: the chat log this email follows up on (e.g. from draft_chatlog_follow_up); it gets an internal note linking to the new ticket. Reaches a real person: confirm with the user first.
Create upload
Get a URL to upload a file's raw bytes to, so a file or image never has to be sent as base64 inside a tool call. Returns uploadUrl, uploadId and a ready curl command: run it with the file's path (it must send exactly `size` bytes with the given Content-Type), then pass the uploadId in `uploads` on save_ticket_draft, send_ticket_reply, create_ticket or add_ticket_note ({ uploadId, inline: true } shows an image inline, otherwise it is attached as a file), or as uploadId on add_knowledge_file. The uploadUrl works for 15 minutes; the uploadId for an hour, on this agent and for this user or key only, and can be reused within that time. Max 10 MB per file (inline images 5 MB, email attachments 8 MB in total).
Debug retrieval
Diagnostic view of retrieval for a query: the faithful ranked result PLUS a pure vector-distance top-N with real similarity scores. Separates 'the content isn't retrievable at all' from 'the strategy buried it'. No answer is generated, so no message credits are used.
Delete company
Delete a company. Its contacts are kept but no longer belong to it. Not reversible, and needs admin rights on the account. Confirm with the user first.
Delete contact
Erase a person (GDPR): deletes the contact and clears their name, email, phone and other details from every one of their conversations. Not reversible, and needs admin rights on the account. Confirm with the user first.
Delete knowledge source
Remove a source from the agent's knowledge base. kind=page + id=<url> deletes a crawled page; kind=file + id=<file name> (fileSource FILE or GOOGLE_DRIVE) deletes a file; kind=text + id=<snippet id> deletes a text snippet. Get ids from list_knowledge_sources.
Delete sales funnel
Deletes one of an agent's custom Sales ROI funnels for the whole team. Conversations and workflow data are untouched.
Delete sales outcome
Deletes one of an agent's custom outcomes for the whole team, and its value from Pipeline value. Funnel stages and A/B tests that use it count nothing for it from then on. Conversations and workflow data are untouched.
Draft chatlog follow up
Write an email to the customer of a finished chat log (any conversation, not only tickets), e.g. to correct an answer the bot got wrong. instruction says what the email should do ("Correct the answer about updating"); correction, when given, is the right answer to the customer's question and the email delivers it. Written in the customer's language from the knowledge base, with the chat as context. Returns subject and text; nothing is sent. Send it with create_ticket (toEmail from get_chatlog, sourceChatlogId = this chat log), after the user confirms. knowledgeGap=true means the knowledge base didn't cover it: check before sending.
Draft ticket reply
Have the agent draft a reply to the ticket's latest customer message from its knowledge base, in the mailbox's voice and signature. Nothing is sent. By default the draft is saved to the ticket so a teammate sees it in the dashboard composer (save=false to only return it). knowledgeGap=true means the knowledge base didn't cover the question: check the draft before sending.
End ab test
Ends a running test. Pass shipVariantId to write that variant's changes onto the live agent for every visitor, or null to keep Control. Results and each conversation's variant stay readable. Confirm the choice with the user first: shipping changes the live agent.
Export contacts
Every contact matching the filters in one call (up to 50,000; truncated is true past that), with all emails, phones, company, country and region, user id, lead tier and custom attributes.
Export leads
Return every person in the agent's contacts directory in one call (up to 50,000), with all emails, phones and custom attributes. Same as export_contacts.
Get ab test preview links
Signed tokens that show one variant (draft or running) on the agent's own website for 24 hours, for checking it in production. Open any page with the widget with ?wc_preview=<token> added; the variant sticks for that browser tab. Visits and chats made this way are never counted in the results, and visitors can't pick a variant without a token. sites lists where the widget was last seen.
Get ab test results
Per-variant numbers for a test: visits (widget loads), conversations, graded (conversations graded resolved or unresolved), and each outcome (leadCaptured, meetingBooked, formSubmitted, hotLead, workflowConverted, conversationStarted, resolved, and custom: the test's custom outcome goal, named by goalName). The winner is decided by the test's primaryMetric: per visit, or per graded conversation for resolved. Don't call a winner until both arms have a few hundred visits (or graded conversations) and ten conversions.
Get agent
Get one agent's identity and status (name, state, model). For the full editable configuration use get_agent_settings.
Get agent settings
Read an agent's editable configuration, grouped by area (model & behavior, profile & widget, lead collection, human handover, security, website crawling, advanced).
Get analytics
Full dashboard metrics for an agent: sessions, avg messages/duration, good/bad, credits used, CSAT histogram, resolution, most-clicked links, top countries/regions, channel breakdown, unique visitors, latency.
Get analytics overview
Period-over-period headline KPIs for an agent: conversations handled/resolved, resolution rate, leads and hot leads, avg satisfaction, escalations, time/cost saved, open knowledge-gap counts, and top FAQs. The best single call for a summary.
Get chatlog
Get one conversation's full message transcript plus metadata (resolution, satisfaction, lead, geo).
Get company
A company's profile, domains (with domain ids), owner, notes, custom attributes and contacts.
Get confidence trend
Time series of the agent's answer confidence over a date range.
Get contact
One contact's full profile: every email, phone and channel handle they're known by (with identity ids), company, country and region (from IP), owner, notes, custom attributes, and their recent conversations (use get_ticket / get_chatlog to read one). A merged contact's old id returns the contact it was merged into.
Get conversation contact
The contact behind a ticket or chatlog, with their other recent conversations. Null when the conversation has no email, phone, user id or channel handle yet.
Get embed code
The HTML snippet that puts the agent's chat widget on a website. Add it once so it loads on every page, just before </body>: plain HTML in the shared layout/footer; Next.js App Router in app/layout.tsx (render it with next/script strategy="afterInteractive" using the snippet's inline JS, or dangerouslySetInnerHTML in a <script>); Pages Router in pages/_document.tsx or _app.tsx; React/Vite in index.html; Vue/Nuxt in index.html or app.vue head; WordPress/Shopify/Webflow in the theme's footer custom-code area. The widget's look and behavior come from the agent's settings, so the snippet never needs to change after a settings update. Then load the site (localhost is fine) and confirm with get_setup_status.sitesLive.
Get helpdesk import
Whether the helpdesk (Help Scout, Zendesk or Freshdesk) is connected for the agent, the account it's connected to, Help Scout's mailboxes, and the latest import of its tickets into the agent's inbox (null when none ran): status RUNNING / COMPLETED / FAILED / CANCELLED, totalConversations (the helpdesk's ticket count, when it tells), importedCount (new tickets), updatedCount (tickets that gained messages), skippedCount (spam, deleted, unchanged), failedCount, lastError.
Get hubspot sync
How the agent creates HubSpot contacts: whether HubSpot is connected and the sync is on, which forms sync (leads caught in chat, handover forms), and where each field goes. Email, name and phone always sync to HubSpot's own properties (a name splits at its first space: first word to First name, the rest to Last name). Each field in `fields` has a fieldId, its form (LEAD, HANDOVER or VISITOR), and hubspotProperty: a HubSpot property name, "@fullname" (split into first and last name), "message" (HubSpot's Message), or null. A null LEAD/HANDOVER field goes into Message; a null VISITOR field is not sent. VISITOR fields are what Wonderchat knows without asking: VISITOR_COUNTRY (Country), VISITOR_REGION (State or region), VISITOR_CITY (City), FIRST_PAGE_URL (First page URL), LAST_PAGE_URL (Last page URL), CHAT_LANGUAGE (Chat language), DEVICE_TYPE (Device), CONVERSATION_URL (Conversation link). needsReview marks fields added since the mapping was last saved. includeProperties also lists the HubSpot contact properties a field can map to (needs admin access).
Get knowledge file download url
Get a link to download the original of an uploaded knowledge file (name from list_knowledge_sources, where downloadable=true). The link expires after 60 seconds, so fetch it right away.
Get message volume
Time series of message counts for an agent over a date range.
Get recrawl status
Whether the agent's website sources are being recrawled now, its recrawl credits left, and what the last recrawl in the past week did: pagesAdded, pagesRemoved, pagesKeptOldContent (pages the crawl couldn't read, so their earlier content stayed) and answersCitingRemovedPages (up to 20 answers from the last 30 days that cited a removed page, to re-check with get_chatlog; only answers saved with their sources can be found).
Get review item
Get one review item with its hydrated evidence: the suggested/conflicting knowledge chunks and the real chat questions that triggered it.
Get sales funnel
Sales ROI funnel for an agent, as the dashboard shows it: each stage's count, its share of the stage before, and the biggest drop-off. Pass funnelId for one of the agent's custom funnels (list_sales_funnels): it returns each stage's count, leftLinkClicks (of the visitors who stopped at that stage, how many clicked a link in a bot message, by type: PHONE, EMAIL, WEB), the biggest leak, and without a page filter the 10 busiest pages with their first- and last-stage counts. Otherwise pass metric for the default funnel (sessions, engaged, then meetings, leads or forms). Bot and crawler sessions and playground chats are never counted. Defaults to the last 30 days.
Get sales outcome
One custom outcome over a range: its funnel (sessions, engaged, the outcome, with the biggest drop-off and busiest pages), its trend (hourly for a day or less, else daily) and the most recent conversations it counted (chatlogId, contact, start page). Pass condition instead of outcomeId to preview what a condition would count before saving it. Defaults to the last 30 days.
Get sales roi exclusions
Emails left out of Sales ROI for the space the agent is in (its team, or its owner's personal space): exact addresses and "@domain" rules. Conversations from matching contacts, and their sessions, are left out of every Sales ROI number for all agents in that space.
Get sales roi pages
Every page visitors engaged on for an agent, busiest first: engaged conversations, outcomes for the metric (meetings booked, leads captured, forms submitted, or all three for "pipeline") and, when known for the whole period, sessions. Sessions by page are only recorded from pageTrackingSince; for periods starting earlier, sessions is null. Also lists sections ("acme.com/blog/*") grouping two or more pages. Any key works as the page filter of get_sales_funnel and get_workflow_funnels. Defaults to the last 30 days.
Get setup status
Where an agent is in setup: training state (CREATING/ADDING/REINDEXING = still training, ENABLED = ready, ERROR = failed, with the error), how much it learned, and where its widget has been seen live. sitesLive lists hosts the widget loaded on recently; local: true marks a developer machine (localhost, private IP, seen in the last 24 hours), which confirms a dev install but never counts as a deploy. Pass checkHomepage=true after deploying to also fetch the trained site's live homepage and look for the snippet in snippetOnHomepage (null = not checked or couldn't check; a tag manager can inject it after load, so false isn't proof it's missing).
Get shopify store
The Shopify store an agent uses: store name, storefront URL, whether Shopify still answers (reachable false means the app was uninstalled and must be reinstalled from the Shopify App Store), how many store pages are in the knowledge base, and whether order tracking and product search are on, with the order lookup method. When no store is linked, `store` is null and `availableStores` lists the connected stores update_shopify can link.
Get stripe tools
Whether the agent is connected to Stripe (connectedVia: mcp for a Stripe sign-in, api_key for the team's restricted key, null when not connected) and each billing tool's settings: look up billing, send billing portal link, cancel, pause and resume subscription, refund payment. Refunds never run in customer chat; they are proposed in the inbox for a teammate to approve.
Get team inbox metrics
How the team answered inbox tickets that came in during a date range: median first reply (ms), share replied within the reply-time target (%), median time to close (ms), share reopened (%), plus tickets per Category › Subcategory with counts for the period before (for trends). Live chats, spam, samples and imported tickets are left out; the automatic acknowledgement never counts as a reply. Null means nothing to measure. startDate and endDate are required.
Get ticket
Get one ticket: subject, state, customer, CCs, assignee, team, priority, due date, the saved draft reply (with draftAttachments, the files saved with it), and the full thread in order. isSample marks the onboarding sample ticket (made-up customer, replies not emailed). Thread entries have role CUSTOMER, BOT, AGENT (a human or AI reply sent to the customer) or NOTE (internal, never shown to the customer). images are inline image URLs; attachments are files (spreadsheets, PDFs, docs) with a downloadUrl: read one with get_ticket_attachment. sourceInboxDisconnected=true means the mailbox the ticket came in on lost its sign-in, so send_ticket_reply fails until a teammate reconnects it in the dashboard. mergedIntoTicketId is set when the ticket was merged into another (see merge_tickets): work on that one instead.
Get tickets closed
How many inbox conversations (tickets and live chats) an agent's team closed in a date range, in total and by the channel they came in on: live chat, email handover, AI escalation, connected inbox, hosted address, WhatsApp, SMS, Messenger, Instagram, Slack, Microsoft Teams, Discord, Telegram, phone, API. Spam, merged duplicates and sample tickets are left out. startDate and endDate are required.
Get ticket attachment
Read a file attached to a ticket message, by an attachmentId from get_ticket. format "text" (default) returns its text: spreadsheets as CSV per sheet plus cell comments; PDF, Word, PowerPoint, CSV, Markdown and plain text are extracted. Long files are paged: pass back nextOffset. format "file" returns the original file as a base64 resource.
Get ticket settings
The agent's inbox automation: reply-time target, follow-ups (acknowledgement email on new tickets, reminder and auto-close when the customer goes quiet) and holidays. Day counts are business days when the agent has business hours.
Get top questions
The most frequent questions / FAQ clusters for an agent over a date range. startDate and endDate are required.
Get workflow funnels
Per-workflow funnel for an agent: runs triggered, visitors engaged (null when the workflow never asks anything), and conversions (null when the workflow has no goal, e.g. a refusal or a lookup). The goal is detected from the steps: the last step that sends data out (custom action that writes, Pardot, Zendesk ticket, email, custom form), else the last email/phone question. Each step lists reached, completed, failed (with the most common error), how many visitors left there, and linkClicks: links visitors clicked in bot messages while on that step, by type (PHONE, EMAIL, WEB), with how many runs clicked one and how many of those then left there. The funnel's linkClicks counts runs per type across all steps. Steps that were removed or changed since are in changedSteps.
Import from helpdesk
Copies the agent's connected Help Scout, Zendesk or Freshdesk tickets into its inbox, with customer messages, replies, internal notes, attachments, tags, CCs and the assignee (matched to a teammate by email). Closed tickets come in closed; open ones stay open. Spam and deleted tickets are skipped and nothing is emailed to customers. Runs in the background: poll get_helpdesk_import. Running it again only adds new tickets and messages. mailboxIds (Help Scout only): mailbox ids from get_helpdesk_import; omit for all. Fails with FORBIDDEN when the helpdesk isn't connected (connect it in the dashboard) and CONFLICT while an import from it is already running.
List ab tests
An agent's A/B test (draft or running) and its past tests. Each variant lists its share of website visitors and every setting it changes against Control (Control value → variant value). A test splits website visitors across the chat widget (and its greeting popup) and the floating search bar: a visitor gets the same variant in both, and each uses the settings it supports. The inline search bar, hosted page and other channels always get Control.
List agents
List the chatbots (agents) you can access, newest first, with id, name, state, plan tier and the workspace each belongs to (null = personal). Call this first to discover agentId values for the other tools. workspaceId: a workspace from list_workspaces, or "PERSONAL". search: case-insensitive name match. Cursor-paginated: pass back nextCursor.
List companies
List the companies on the agent's account with their email domains and contact counts. Optional search on name or domain.
List contacts
List the people who have talked to an agent, most recently seen first: name, email, phone, company, country and region, role (LEAD, or USER when signed in with a user id), conversation count and last seen. Search matches name, any email or phone, or the customer's own user id. Pass nextCursor back as cursor for the next page; total is only returned on the first page.
List knowledge sources
List what's indexed in the agent's knowledge base: crawled pages (delete by url), files (delete by name), and text snippets (delete by id). Use the returned ids/urls with delete_knowledge_source. Files with downloadable=true can be fetched with get_knowledge_file_download_url.
List leads
List the people from the agent's contacts directory, most recently seen first (name, email, phone, company, conversation count, last seen). Search matches name, email, phone or user id. Pass nextCursor back as cursor for the next page. Same as list_contacts.
List review activity
Audit trail of past review decisions (accepted / applied / rejected / proposed) for an agent.
List review items
List knowledge-gap review items for an agent, newest/highest-priority first. Filter by status (default OPEN) and failure mode. Cursor-paginated.
List sales funnels
An agent's custom Sales ROI funnels (id, name, stages with the label each shows) and what a new stage can point at: workflows with their steps, tags, tools and custom outcomes. Use the ids here with save_sales_funnel and save_sales_outcome.
List sales outcomes
An agent's custom outcomes: the team's own Sales performance metrics shown next to meetings booked, leads captured and forms submitted. Each has an id, name, condition (conditionLabel says it in words), valuePerOutcome (added to Pipeline value per conversation counted; null when not part of it), targetMissing (what it points at was deleted, so it counts nothing), overlap (built-in metrics that count the same conversations, so valuing both counts Pipeline value twice), and its count and prevCount (the period of equal length before) for the range. Counts are conversations by when they started, once each. Defaults to the last 30 days.
List tickets
List an agent's inbox tickets (handed-over chats and email tickets). status: ACTIVE (default, everything not closed), OPEN (no reply yet), ON_US (we owe a reply), ON_CUSTOMER (waiting on them), CLOSED, ALL. assignee: ME, UNASSIGNED, MENTIONED_ME, SPAM (the spam folder, hidden from every other assignee value) or a userId. team: a teamId or NONE. mailbox: a connectionId from list_ticket_senders, to see only tickets that arrived on that mailbox. customState: only open tickets in that team-defined state (see manage_ticket_states); each ticket's customState is the one it sits in, or null. category: a path like "Billing" or "Billing › Refunds" (a category includes its subcategories) or NONE. search also matches a ticket number ("1042" or "#1042") and the subject. isSample marks the onboarding sample ticket (a made-up customer; replies are never emailed). Cursor-paginated: pass back nextCursor.
List ticket assignees
The people and teams tickets on this agent can be assigned to. Use the userId / teamId values with update_ticket, create_ticket and list_tickets filters.
List ticket senders
Addresses a new outbound ticket can be sent from: connected mailboxes (kind MAILBOX, with a connectionId) and the agent's Wonderchat address (kind RELAY, connectionId null). A mailbox with ownerUserId is that teammate's personal mailbox: only customer requests to it become tickets (assigned to them), and anything sent from it comes from them. disconnected=true means its sign-in expired or was revoked: sending from it fails until a teammate reconnects it in the dashboard (the agent's Email channel).
List workspaces
List the spaces you can act in: your personal space (workspaceId "PERSONAL") and every workspace you belong to, with your role and agent count. Pass a workspaceId to list_agents to see only that space's agents.
Manage ticket categories
The agent's ticket categories: Category › Subcategory, one per ticket, for reporting what tickets are about (the area, then the specific issue). AI sorts new tickets into them using each one's description. action list returns them with ticket counts; add creates a category, or a subcategory when you pass parent (a category name); update changes name and/or description of the one at path; delete archives the one at path (and a category's subcategories), so old tickets keep it in reports. suggest proposes a list from the last 90 days of tickets without saving it (add the ones you want). Set a ticket's category with update_ticket category. add/update/delete/suggest need agent admin rights.
Manage ticket states
The agent's team-defined ticket states: extra inbox board columns (e.g. 'Waiting on engineering') that open tickets are moved into by hand and stay in until moved out or closed. action list returns them in board order; add creates one; rename (name -> newName) and delete apply to the named state. Deleting sends its tickets back to their built-in state. Move a ticket with update_ticket customState. add/rename/delete need agent admin rights.
Merge contacts
Merge loserId into winnerId: conversations, emails, phones and handles move to the winner, which keeps its own profile values. Not reversible. Refused when both have a different user id from the customer's system. Confirm with the user first.
Merge tickets
Merge a duplicate ticket (sourceTicketId) into another ticket on the same agent (targetTicketId), e.g. one email sent to two connected mailboxes. The source's messages move to the target (an email the target already has is skipped), its customer and CCs are copied on the target's replies, and the source is closed and hidden from the inbox. Later replies on the source's email thread land on the target. Live chats can't be merged. Can't be undone: confirm with the user first.
Point review item to file
Resolve a review item by pointing it at an already-indexed PDF/file by name.
Point review item to url
Resolve a review item by pointing it at a URL. If the URL is already indexed it boosts it and resolves; otherwise it returns needsIngest=true (follow with add_knowledge_source, then resolve_review_item).
React to ticket note
Add (or with remove: true, take back) your emoji reaction on an internal note, like a teammate acknowledging it in the dashboard. noteId is a NOTE's messageId from get_ticket, whose notes list their reactions. emoji is one of 👍 ❤️ 🎉 😂 👀 ✅ 🙏. Needs a credential tied to a person (OAuth or a personal API key).
Recrawl website
Re-read the agent's website sources now, like Recrawl now in the dashboard: pages that are new on the site are added, pages that are gone are removed, and every other page is read again. Spends one of the agent's recrawl credits per run (recrawlsLeft). sourceUrls limits it to those website sources (the response lists them); omit it for all. Runs in the background: poll get_recrawl_status until recrawling is false, then read lastRecrawl.
Remove company domain
Remove an email domain (domainId from get_company) from a company. Contacts already in the company stay in it; new contacts on that domain no longer join automatically.
Remove contact identity
Remove one of a contact's identities (identityId from get_contact). Conversations that came in only on it move to a contact of their own; movedConversations says how many.
Reopen review item
Move a rejected review item back to OPEN. Idempotent.
Reopen ticket
Reopen a closed ticket so it returns to the active inbox.
Resolve review item
Mark a review item resolved (generic 'done'), optionally with a note. Writes an audit row.
Rewrite ticket draft
Polish reply text without changing its facts: IMPROVE, CONCISE, EXPAND, FORMAL, FRIENDLY, GRAMMAR, REFINE, or CUSTOM with your own `prompt`. Pass `selectedText` (an exact passage of `text`) to rewrite only that passage; the rest is left as written. Returns the full rewritten text; nothing is saved or sent.
Save sales funnel
Creates a custom Sales ROI funnel for an agent, or replaces one when funnelId is given. Stages are ordered and count cumulatively: each counts conversations that also reached every stage above it. Kinds: sessions (Total sessions), engaged (Engaged with agent), meetingOffered (Meeting offered), meetingBooked (Meeting booked), leadAsked (Contact details asked), leadCaptured (Lead captured), hotLead (High-value lead), formSubmitted (Form submitted), handedToTeam (Handed to team), linkClicked (Link clicked), customOutcome (Custom outcome), workflowStarted (Workflow started), workflowStepReached (Workflow step reached), workflowStepCompleted (Workflow step completed), workflowConverted (Workflow goal reached), workflowFinished (Workflow finished), tagged (Tagged), toolSucceeded (Tool ran). "sessions" can only be first. tagged takes tagName; workflowStarted, workflowConverted (the goal worked out from its steps) and workflowFinished (ran to the end of any path with no step failing) take workflowId; workflowStepReached (shown) and workflowStepCompleted (answered, or its form or action went through) take workflowId and workflowActionId; toolSucceeded takes chatbotActionId; customOutcome takes outcomeId (ids from list_sales_funnels); linkClicked counts conversations where the visitor clicked a link in a bot message and takes an optional linkType (PHONE, EMAIL or WEB) to count one type only. Any stage takes an optional label to rename it.
Save sales outcome
Adds a custom outcome to an agent's Sales performance metrics, or replaces one when outcomeId is given. Up to 8 per agent. valuePerOutcome (dollars) adds it to Pipeline value per conversation counted; null leaves it out. Check overlap in list_sales_outcomes afterwards: valuing an outcome whose conversations a built-in metric also counts adds them to Pipeline value twice.
Save ticket draft
Save (replace) the draft reply on a ticket without sending it, e.g. for a human to review in the dashboard. Markdown. Images and files: upload each with create_upload and pass them in uploads (base64 images/files also work for tiny ones). Inline images are added at the end of the draft and go out inline when it's sent. Files are saved with the draft as attachments: the teammate sees them in the dashboard composer and they go out with the reply when it is sent there. Passing files or file uploads replaces the draft's saved files (files: [] removes them); leaving both out keeps them. An empty draft with no images clears the draft text.
Search chatlogs
List / search an agent's conversations with filters (free text, date range, resolution state, user feedback, lead tier, tags, archived). Cursor-paginated.
Search knowledge base
Run the agent's real knowledge-base retrieval for a query and return the ranked chunks it would use (text, source url/file, type), in the bot's own rank order. Does not generate an answer, so it costs no message credits. Use it to check what the agent can find.
Send ticket reply
Email a reply to the customer on a ticket (Markdown), threaded onto their email from the address the ticket arrived on (a connected mailbox, else the agent's Wonderchat address). Images and files: upload each with create_upload and pass them in uploads (inline: true shows an image inline, otherwise it's attached); base64 images/files also work for tiny ones. Fails if the ticket has no customer email. This reaches a real customer and cannot be undone, so confirm the text with the user first. Clears the saved draft, including files saved with it: those are only sent when the reply is sent from the dashboard, so pass any file you want here.
Set chatlog resolution
Set the resolution state (RESOLVED / UNRESOLVED / NOT_SURE, or null) and/or the satisfaction score (1-5, or null) on a conversation.
Set chatlog status
Set (or clear with null) a per-bot custom status on one or more conversations.
Skip review item
Reject (dismiss) a review item, optionally with a reason. Sets status REJECTED.
Start ab test
Starts a draft test: new website visitors are split between the variants from now on, and the split locks. Every variant must change at least one setting.
Stop helpdesk import
Stops a running helpdesk import after the page it is on. Tickets already imported stay; importing again later carries on without duplicates.
Tag chatlog
Add or remove a tag on a conversation (op: add | remove).
Update ab test
Renames a test, or (while it's a draft) changes its goal or split. weights gives every variant's share of visitors (from list_ab_tests); they must add up to 100 and each variant needs at least 10.
Update ab test variant
Sets settings on a draft or running variant (not Control). Only settings that differ from Control are kept; sending Control's value removes that change. Allowed keys: loaderEmbedType, name, tagline, hideTagline, pictureUrl, pictureBackgroundColor, shouldPlayInitialVideo, initialVideoUrl, guidedMenuEnabled, guidedMenu, promptBarDisplayMode, shouldSuggestedQuestionsDisappear, suggestedQuestionsDefaultExpanded, customFieldMessages, enableLeavingAnEmail, leaveAnEmailMessage, leaveMessageButtonLabel, showLeaveAnEmailAfterNumMessages, shouldAutoAskToLeaveEmail, autoAskToLeaveEmailThreshold, shouldAutoAskToLeaveEmailAfterFailingToReply, autoAskToLeaveEmailAfterFailingToReplyThreshold, enableLiveChat, showLiveChatAfterNumMessages, liveChatButtonText, meetingSchedulerEnabled, meetingSchedulerTriggerPrompt, meetingSchedulerAskFirst, meetingSchedulerButtonText, marketoFormEnabled, marketoFormShowCondition, marketoFormCustomPrompt, marketoFormShowButton, marketoFormButtonText, customJsFormEnabled, customJsFormShowCondition, customJsFormCustomPrompt, customJsFormShowButton, customJsFormButtonText, customJsFormSubmissionMessage, homepageEnabled, homepageGreeting, homepageTagline, homepageMessageCardTitle, homepageMessageCardSubtitle, homepageShowExampleQuestions, homepageShowQuickLinks, openAiModel, temperature, responseLength, responseType, fallbackMessage, enableUserConfirmation, userConfirmationMessage, userConfirmationCheckboxLabel, greetingMessage, outsideHoursGreetingMessage, inputPlaceholder, shouldSpontaneouslyGreet, shouldSpontaneouslyGreetMobile, shouldShowSuggestedQuestions, enableDynamicGreeting, greetingBehavior, greetingTrigger, exampleQuestions, isCollectionMandatory, collectFieldsAfterNumMessages, collectLeadsBeforeReply, leadFields, emailCollectionMessage, nameCollectionMessage, phoneNumberCollectionMessage, requireFullName, shouldValidateWorkEmail, requireEmailVerification, requirePhoneVerification, phoneCountryCodeEnabled, allowedPhoneCountries, consentCertificationEnabled, tcpaConsentText, enableLeadsCollectedMessage, leadsCollectedMessage, enabledWorkflowIds, colorTheme, fontColor, buttonColor, backgroundColor, widgetHeaderStyle, widgetFont, fontSize, widgetIconUrl, floatingButtonStyle, customPrompt, and languages ({ "<language>": { greetingMessage, outsideHoursGreetingMessage, inputPlaceholder, emailCollectionMessage, nameCollectionMessage, phoneNumberCollectionMessage } }). leadFields is the ordered list of lead fields to ask (EMAIL, NAME, PHONE_NUMBER or a custom field name); enabledWorkflowIds is the full list of workflows that run in this variant; loaderEmbedType (WIDGET or SEARCHBAR) is what the site's snippet shows this variant's visitors: the chat widget or the floating search bar instead, to test which converts better (needs the snippet from the Installation tab). Everything else (knowledge base, tools, integrations) is shared. name renames the variant (e.g. "Short answers"). A running test's variant can still change: its visitors see it right away and the results page notes that its results mix both versions, so confirm with the user first.
Update advanced
Update advanced knobs: hybrid/agentic retrieval, conversation history, auto-restart, max question length, API answer caching (repeat first questions sent to /api/v1/chat get the saved answer for apiAnswerCacheTtlHours; a request's own `cache` / `cacheTtlHours` override these), and the knowledge base picker (agents with several knowledge bases: require a pick before chatting instead of using the default knowledge base, a button that lets visitors switch knowledge base mid-chat, and which knowledge bases are hidden from the picker; a hidden one can't be picked, chats already in it move to the default knowledge base, and its content is kept). Only the fields you pass change.
Update chatlog notes
Set (or clear with null) the internal agent notes on a conversation.
Update company
Change a company's name, website, notes or owner (a teammate's user id). customAttributes is a patch: a value sets that key, null removes it, keys you leave out stay. Omit a field to leave it.
Update contact
Change a contact's name, notes, owner (a teammate's user id), or company (companyId, or null for none). customAttributes is a patch: a value sets that key, null removes it, keys you leave out stay. Omit a field to leave it.
Update hubspot sync
Change the agent's HubSpot contact sync. Pass only what should change. syncLeads / syncHandoverForms pick which forms create contacts (at least one must stay on). mappings sets where fields go, by fieldId from get_hubspot_sync: hubspotProperty is a property name from get_hubspot_sync includeProperties, "@fullname" to split a name into first and last name, "message" for HubSpot's Message (any number of fields may go there), or null to clear it (a form field goes to Message; a VISITOR field stops being sent). Each other property can take one field per form. VISITOR fields fill only new contacts, except LAST_PAGE_URL and CONVERSATION_URL, which update every time; a form answer for the same property wins. Saving mappings or forms turns the sync on; enabled false turns it off and keeps the mapping. HubSpot must already be connected in the dashboard.
Update human handover
Update human-handover settings: enable leaving an email, support recipient emails, the handover messages, the 'did this help?' prompt, and two-way email handover (on: the customer gets an email they can reply to and every reply, including the team's replies to the handover alert, stays on the Inbox ticket; off: the alert's Reply-To is the customer, so the team answers from its own email outside the Inbox), leaveMessageWorkflowId (a workflow the 'Leave a message' button starts instead of the form; null for the form) and leaveMessageButtonLabel (that button's text when it starts a workflow, also sent as the visitor's message; null for the translated 'Leave a message'; translate it per language in the dashboard). Only the fields you pass change. (Custom handover fields and triggers are managed in the dashboard.)
Update lead collection
Update lead capture toggles, collection messages, and lead-scoring criteria. Only the fields you pass change. shouldValidateWorkEmail rejects free-mail addresses (Gmail, Yahoo, ISP mailboxes) in lead and handover forms. (Custom lead fields and triggers are managed in the dashboard.)
Update model and behavior
Update the agent's brain: model, system prompt, temperature, response length/type, reply language, fallback message, the messages shown while it searches (searchingStatusMessages: replaces "Searching knowledge base" in the chat widget; several rotate every few seconds; [] restores the default) and citation toggle. Models ending in _EU (e.g. CLAUDE_SONNET_46_EU) answer from EU servers only, Scale plan and up. Only the fields you pass change.
Update profile and widget
Update the agent's identity and widget look: name, tagline, description, avatar/icon, a background colour behind the avatar (pictureBackgroundColor: hex, or null for none; keeps a transparent logo visible on the header), colors (a dark background colour gives a dark widget), header style, font, greeting, message box placeholder and the talking avatar (talkingAvatarEnabled shows a lip-synced face above the chat that reads replies aloud and that visitors can talk to by voice; talkingAvatarFaceId from get_agent_settings talkingAvatarFaces, talkingAvatarVoice from talkingAvatarVoices. Live use is capped by the account's monthly live minutes. Faces made from the owner's photo are created in the dashboard). Only the fields you pass change.
Update sales roi exclusions
Replaces the Sales ROI exclusions for the space the agent is in with this list. Each rule is an exact email ("ana@acme.com") or a whole domain ("@acme.com"; "acme.com" works too). Pass an empty list to exclude nobody. Call get_sales_roi_exclusions first to add to the current list.
Update security
Update security: private mode (the widget and /api/v1/chat then need the passphrase, a valid identity token or, for the API, an API key with access to the agent), moderation, spam filter, rate limits, PII redaction, and the domain/IP/country lists. Only the fields you pass change; a list you pass replaces that list. (Google-group access is managed in the dashboard.)
Update shopify
Link a connected store to the agent (storeId from get_shopify_store.availableStores; this also turns on order tracking and product search and adds the store's policies and pages to the knowledge base), turn order tracking or product search on or off, set how customers identify an order (orderLookupMethod: ORDER_NUMBER_WITH_EMAIL needs both and is the safe default; ORDER_NUMBER_ONLY lets anyone with an order number see it; EMAIL_ONLY; ORDER_NUMBER_AND_EMAIL accepts either), or re-import the store's pages (importStorePages). Pass only what should change.
Update stripe tools
Connect the agent's team to Stripe with a restricted API key (apiKey; Signing in with Stripe is done in the dashboard's Tools tab instead), add the billing tools to an agent whose team is already connected (addTools), disconnect the agent from Stripe (disconnect; with removeApiKey it also removes the team's key, which turns the tools off on every agent of the team that used it), or change one tool (tool plus any of: enabled, whenToUse, inCustomerChat, inInbox, runWithoutApproval for WRITE tools, maxAmount and dailyRunLimit for refunds). Pass only what should change.
Update ticket
Change a ticket's fields. Only the fields you pass change; pass null to clear. assigneeId / teamId from list_ticket_assignees. dueAt is an ISO date. requesterEmail changes who the ticket is with (e.g. a forward filed under the teammate who forwarded it). ccEmails replaces the CC list. waitingOn moves an open ticket to US (we owe a reply) or CUSTOMER (waiting on them), out of any team-defined state. customState moves it into a team-defined state by name (created on the agent if missing; see manage_ticket_states), or null takes it out. category sets its category by path ("Billing" or "Billing › Refunds", from manage_ticket_categories), or null for none; either way AI no longer changes it. issueSummary / resolutionSummary edit the summary written when the ticket closed.
Update ticket settings
Change the agent's inbox follow-ups. Only what you pass changes; null turns a timer off. acknowledgement: email the customer when a new ticket arrives (and when they reply outside business hours); its message can use {customer_name} and {ticket_number}; this is also the chat handover acknowledgement. acknowledgementSendsFor: the full list of keys it is sent for, from get_ticket_settings acknowledgement.sendsFor (handover = chat handovers, hosted = the agent's hosted address, else a mailbox id); passing it turns the acknowledgement on unless acknowledgementEnabled is false. reminderAfterDays / autoCloseAfterDays: days of customer silence (business days with business hours); auto-close counts from the reminder. addHoliday / removeHolidayId manage closed days (YYYY-MM-DD). Needs agent admin rights.
Update website crawling
Change how the agent's website sources are crawled. crawlLinkedPdfs also downloads the PDFs crawled pages link to and indexes each under its own URL (Scale plan and up; each PDF counts as a page). crawlImages includes page images. urlsToIgnore replaces the list of URLs never crawled (exact URL, `url/**` for everything under it, or a `**` pattern). siteSignIn saves a login for pages behind a login: the crawler signs in on loginUrl before every crawl and recrawl, so member pages stay current without a session cookie. Saving signs in once to test it and fails with the reason if that doesn't work; omit password to keep the saved one; null removes the sign-in. usernameSelector, passwordSelector and submitSelector are optional CSS selectors that replace field detection when it picks the wrong fields (omit to keep, null to clear). Logins that need a code, single sign-on or a CAPTCHA can't be automated. javascriptCrawling loads every website source in a real browser so pages that only show their content after JavaScript runs (common on ASPX/CMS sites) are read in full; slower, and kept for every later recrawl. sessionCookie saves a session cookie (JSON array of {name, value}) sent with every crawl when no sign-in is saved; null clears it. Returns the sign-in status (never the password) and whether JavaScript crawling is on. Only the fields you pass change; settings apply from the next crawl or recrawl.
Get connected
Add Wonderchat MCP to your Slack in two minutes.
No workflows to wire up. Turn on the tools you already use, and your agent gets to work.
Add to Slack
1
Add Sokko to Slack
One click from the Slack marketplace. Your whole team gets Sokko at once.
2
Connect your tools
Sokko works with 1,000+ apps and any MCP server.
Martin
9:53 AM
@Sokko
What can you do with Wonderchat MCP?
3
Put Sokko to work
@mention Sokko in any channel and it gets going. Minutes, not a weekend.
Questions, answered.
Sokko is an AI assistant that lives in your Slack. Connect your apps, ask for what you need in plain language, and Sokko takes the work off your plate.
Sign up to Sokko, ask Sokko to connect to Wonderchat MCP, and approve the connection when prompted. From then on you can ask Sokko to do things in Wonderchat MCP whenever you need.
No. There's nothing to build or configure. You ask Sokko in Slack the same way you'd ask a colleague, and Sokko handles the rest.
Yes. Ask once and tell Sokko when to repeat it, like every Monday at 9am, and it becomes a routine that runs without you.
Read and act on data in Wonderchat MCP, and trigger workflows when something changes there. Tell Sokko the outcome you want and it handles the rest.
Yes. Sokko connects to 1,000+ apps and any MCP server, so you can ask for tasks that span Wonderchat MCP and the rest of your stack in a single request.