{"id":106434,"plugin_id":"plugin_asdk_app_6ad89387252481919f88c7da06845240","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-19T18:16:13.930Z","digest":"e42996453c396f372a35ef08b83f398e5a99e2e7a3a1d35ee836bf3d75b35686","against":null,"payload":{"description":"Connect a ChatbotGen chatbot to the business's own systems so it can do things for customers — check an order, start a return or refund, answer account questions, open a helpdesk ticket, use a remote MCP server — and send leads and events to a CRM, Zapier, Make or n8n.","included_files":[],"name":"connect-integrations","skill_md_contents":"---\nname: connect-integrations\ndescription: Connect a ChatbotGen chatbot to the business's own systems so it can do things for customers — check an order, start a return or refund, answer account questions, open a helpdesk ticket, use a remote MCP server — and send leads and events to a CRM, Zapier, Make or n8n.\n---\n\n## Select the chatbot first\n\nUse the active chatbot from this conversation unless the user names another. For an existing chatbot without an active selection, call `list_chatbots`; match the name and website, or show the choices if ambiguous. Connect the account when prompted: integrations only exist on account chatbots, never on demos. If the user is on a demo, say that connecting their own systems comes after keeping the chatbot in an account. Once they are connected and agree, keep it with `claim_chatbot` and `confirmed: true`, then use the returned `chatbot_id`; never create a replacement. Until then, continue with what works now.\n\n## Understand the need before proposing anything\n\nCall `list_actions` to see what is already connected and `get_integration_guide` without a goal to see the options. Ask what customers should be able to do, in their words, one question at a time. Map each need to one goal: `order_status`, `returns_refunds`, `account_lookup`, `helpdesk_ticket`, `connect_mcp_server`, `webhooks`, `automation_platform`, `identity`, `custom_api`. Then call `get_integration_guide` with that goal and follow it.\n\nExplain the three mechanisms in plain words only as needed:\n\n- **Custom action**: the chatbot calls the business's own HTTPS API during the chat (look up, create, update).\n- **MCP server**: the chatbot uses the tools of a remote MCP server the business already has.\n- **Webhooks**: ChatbotGen sends events (new lead, handoff, booking, conversation) to another system; nothing comes back into the chat.\n\nFor Zapier there is a ChatbotGen Zapier app in Zapier's app directory: follow the `automation_platform` guide, which has the directory link and points the owner to the Integrations → Zapier page for the API key. Make and n8n use webhooks. If the business uses a platform without its own API access, say what is missing instead of inventing a workaround.\n\n## Never invent the integration\n\nAsk for the real endpoint URL, method, inputs and the response fields that matter, or ask who their developer is and give them the guide's steps. Never make up URLs, field names, policies or credentials. The guide's `suggested_action` is a template to adapt, not a working configuration.\n\nCredentials and secrets are never handled in chat. Tell the owner to enter API keys and auth headers on the chatbot's Actions page (`actions_dashboard_url`), and to copy the identity and signing secrets from there to their server. If the owner pastes a secret into the chat anyway, do not repeat it, do not put it in an action, and suggest rotating it.\n\n## Safety settings are part of the design\n\n- Anything that reads one customer's private data (orders, account, bookings) needs `requires_verified_user`. On the website that means identity verification (goal `identity`): the site's server signs a short-lived token for the signed-in customer. WhatsApp and Telegram customers are identified by their account automatically. For guests, the endpoint must check two facts together (for example order number and email).\n- Anything that changes something (refund, return, cancellation, address change, ticket that emails the customer) also needs `requires_confirmation`: ChatbotGen only runs it after the customer confirms in a later message, whatever the model decides.\n- The business's API must verify the request signature and trust the identity token, not an id typed by the customer. Point the developer to the guide's `docs_url`.\n\n## Save, test, verify\n\nBefore `save_action` or `connect_mcp_server`, show the complete draft: name, description, method and URL, inputs, header names (not values), verified-customers-only and confirmation settings. Call it with `confirmed: true` only after the owner's explicit yes in this conversation.\n\nAfter saving, run `test_action` with realistic sample inputs, and a `sample_user` when the action needs a verified customer. A test sends a real request: before testing an action that changes data, say so and use a test record. Report the HTTP status and the relevant part of the response, and explain failures in plain words (wrong URL, missing auth header, signature rejected, missing input). Then use `test_chatbot` with a realistic customer question; answer tests never execute actions, so they show the conversation, not the API call.\n\nFor MCP servers, review the returned tools with the owner and turn off any tool customers should not reach (admin, delete, bulk changes) with `connect_mcp_server` and `enabled_tools`.\n\nWhen something fails later, read `recent_runs` in `list_actions`, explain the error, propose a fix and apply it only after confirmation.\n\n## Finish with a short checklist\n\nEnd with what is done, what the owner or their developer still has to do (paste credentials, deploy the identity snippet, verify signatures), and how to check it worked (the Actions page run log). Do not promote plans; if a write is refused because of the plan, state it once and continue with guidance.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}