AI Chatbot

How the brand's AI agent and its chat workflows appear in the widget — streaming conversations, interactive actions, real-time data fetching, and product recommendations from the visitor's perspective.

Overview

The Yaplet widget shows visitors two conversational experiences: the brand's AI agent (Yaplet) for free-form conversations, and chat workflows for guided, step-by-step interactions. Both run inside the same chat interface and can hand off to each other or to a human agent.

Both belong to the brand, not to the widget. A brand has at most one AI agent, at Brand → (your brand) → AI agent, and its chat workflows live at Brand → (your brand) → Workflows. There is nothing to attach to the widget — the brand owns the widget and the AI alike.

This section covers the visitor-facing experience in the widget. For setting them up, see Yaplet and Custom Workflows.

What's Inside

AI Conversations

Streaming AI responses, conversation starters, and the agent handoff toggle — the core AI chat experience visitors interact with.

Workflow Interactions

Buttons, data collection forms, links, and other interactive elements visitors encounter during guided workflows.

AI Data & Products

Context tool forms for fetching real-time data and product recommendation carousels that appear during AI conversations.

Two Conversational Experiences

AI Agent (Yaplet)

The AI agent handles open-ended conversations. Visitors type questions in natural language and receive streamed answers drawn from the brand's knowledge — its help articles, documentation, uploaded files, website pages and question-and-answer entries. The AI can also pull in real-time data from external APIs and recommend products.

Key visitor-facing features:

  • Streaming responses — answers appear word by word in real time
  • Conversation starters — suggested topic buttons before the first message
  • Product carousels — horizontal scrollable product cards embedded in responses
  • Context tool forms — data collection forms that appear when the AI needs external information

Chat Workflows

Chat workflows guide visitors through predefined conversation paths. Instead of free-form chat, visitors interact with structured elements like buttons, forms, and decision trees. Workflows can start automatically on conditions like keywords, page visits, or visitor properties, or be started manually.

Key visitor-facing features:

  • Buttons — multiple-choice options that branch the conversation
  • Data collection — inline forms for gathering specific information
  • Forms — full multi-field form overlays
  • Links — automatic redirects to external pages

How They Work Together

Visitors experience both inside the same chat window — there's no visual break when switching between them:

  • A workflow can hand off to the AI using a Send to the AI agent step, seamlessly transitioning from guided steps to free-form conversation
  • A workflow can trigger another workflow using a Start a workflow step, chaining multiple flows together
  • The AI can trigger workflows when it detects specific visitor intents
  • Both can escalate to a human agent when a person is needed
A workflow belongs to exactly one brand. It can run in the chat widget, in Facebook and Instagram conversations, in email conversations and on phone calls — but the steps it contains decide which of those it is actually eligible for. A workflow with a Start a form step never runs on Facebook or Instagram. One with Ask a question, Buttons, Start a form, Send to the AI agent or a Collect data step for anything other than the customer's email never runs in an email conversation. One with Start a form, Open link, Buttons, Request agent, Collect data, Ask a question or Stop — don't reply never runs on a call. The Runs on column on the brand's Workflows list shows the answer for each of your own workflows. To reuse one on a second brand, use Copy to another brand there; the same workflow cannot be attached to two brands.

From the visitor's perspective, this all feels like a single, continuous conversation.

© 2026 Yaplet. All rights reserved.