An illustrative learning scenario. Adapt it to your products, policies and permissions before use.
Answering and acting need different designs
An FAQ chatbot uses information to explain. An agentic chatbot can also choose tools to complete a defined task, such as checking authorised information, preparing a quotation request or sending a qualified lead to another system.
Agentic does not mean unrestricted autonomy. Define what each workflow may read, what it may change and which steps require confirmation from the customer or a staff member.
Choose a bounded, measurable first workflow
A useful starting point is collecting a customer's requirements, checking required fields, summarising the enquiry and sending it to sales through a webhook. Each step has an observable result that can be reviewed against real conversations.
Write success criteria and exceptions before integration. For example, creating a lead may require a consented contact method, and a retried webhook must not create duplicate records.

Separate business knowledge from current data
Service descriptions, policies and FAQs suit a maintained knowledge base. Order status, current availability and account-specific information should come from an access-controlled API. Importing a document does not make its contents continuously current.
Custom Functions can connect conversations to external systems within the implemented scope. Confirm plan and account eligibility and agree the service scope first. Some capabilities sit in Labs, so test data formats, timeouts and error cases before exposing them to customers.
Use limited permissions and confirm changes
Keep API tokens on the server, validate inputs and grant only the permissions the workflow needs. Knowing an order number alone should not authorise access to a buyer's personal information.
For actions that change data, such as creating records or modifying appointments, summarise the intended action and obtain confirmation appropriate to the risk. Preserve verifiable outcomes and provide a human route when information is incomplete.
Test failures as carefully as success
Test ambiguous requests, missing fields, unavailable APIs, empty results and repeated events. The agent must not claim success before the destination confirms it. An honest explanation with a next step is more dependable than a plausible guess.
KHAI CHAT starts with workflows your business actually needs, then extends tools and integrations after testing. Contact hello@khai.chat to review the required data, permissions and scope.
Agree the scope before you start
- Tasks AI may perform and decisions that need a person
- Approved sources and responsibility for updates
- Channels, usage volumes and external costs
- Testing, measurement and post-launch review


