Skip to main content
The Ringg widget supports text-based chat alongside voice calls. In chat mode, users type messages while the same assistant can still use configured tools, knowledge base queries, and interactive components.

Set up a chat agent

Create a dedicated assistant for chat by cloning your voice assistant. Chat conversations are usually longer and benefit from prompts that allow structured answers, concise markdown, and clear widget handoffs.
1

Clone or create an assistant

Open the Ringg AI dashboard, go to assistants, and clone an existing voice assistant or create a new Webcall assistant for chat.
2

Tune the prompt for text

Update the assistant prompt for chat-style responses. Include when to answer directly, when to collect details, and when to present a component.
3

Configure chat-specific tools

Build the Components the chat needs, such as a slot picker for callbacks or a form for data collection, and add any API integrations it should use.
4

Use the chat assistant ID

Use the cloned assistant’s agentId in the embed code and set defaultTab to "text".

Chat modes

How chat mode works

Text input and output

Users send typed messages. Audio input and output are disabled in text mode.

Context compression

Long chat conversations are compressed automatically so the conversation can continue within model context limits.

RAG summarization

Knowledge base query results are summarized in chat mode to reduce token usage and keep answers concise.

Same configured tools

API integrations, knowledge base queries, components, and other configured tools work in chat mode.

Interactive components

Cards, forms and pickers the assistant shows mid-conversation are built as Components. See Components for how to create them, mention them in a prompt, and wire them to your APIs. They work best in text mode, though they can also be triggered during voice calls.
Deprecated. The fixed-purpose Calendar and Form widgets below (the send_widgets tool with calender_widget_tool / form_widget_tool) are legacy, and the reference is kept here for agents already using them. Existing agents keep working, but new builds should use Components, since a carousel of plan cards, a booking form, or a rating card are all expressible as blocks, with layout and API wiring you control.

Calendar widget (legacy)

Use the calendar widget for callback scheduling, demo booking, consultations, or follow-up appointments. Past slots are excluded so users see valid options.
The required tool_type value is calender_widget_tool. Use that exact spelling in widget metadata.
When a user schedules a callback, the selected datetime and timezone are sent back to the assistant. If api_config is provided, the booking data is forwarded to your API.

Form widget (legacy)

Use the form widget for contact details, lead qualification, support tickets, addresses, surveys, or other structured data collection.

Form field definition

When the user submits the form, the collected data is sent back to the assistant. If api_config is provided, the data is also forwarded to your API endpoint.

Complete chat-only embed

Use the CDN loader from the quickstart, then load the chat assistant with chat-only mode and optional branding.
Components and legacy widgets are both configured in the Ringg AI dashboard. No additional frontend code is needed for the interactive UI itself.

Prompt examples

Prompt tips

Be explicit about when to use each component, and mention it by its @[[name]] at that point in the prompt.
Do not duplicate a component’s fields in the conversation, and let it collect them.
Ask the assistant to confirm bookings and form submissions after the component returns data.
Keep chat responses shorter and more structured than voice responses.