Default mode
default_mode decides how the widget behaves when a session starts. Set it under Default Mode in the widget config, with two options: Text (Keyboard) and Voice (Microphone). The default is text.
In
voice mode the microphone permission prompt fires as soon as the session opens, so visitors land in a hands-free conversation. In text mode the mic stays muted and no permission is requested until the visitor turns voice on.
The mode is only the starting point. Visitors can switch between text and voice within the same session using the in-widget controls, so default_mode sets the first impression rather than a hard restriction.
Set
default_mode to voice only when you expect most visitors to talk. The microphone prompt appears immediately, which can feel abrupt on a page where visitors did not expect it.Auto-start on open
start_conversation_on_toggle is a widget config boolean. When true, opening the widget starts the conversation automatically instead of waiting for the visitor to send a first message or press a start button. When unset or false, the visitor starts the conversation themselves.
This pairs naturally with default_mode: a voice widget with auto-start opens straight into a live voice session, while a text widget with auto-start drops the visitor into an active chat ready for their first message.
Suggested questions
Suggested questions are short prompts shown above the launcher while the widget is closed. A visitor taps one to open the widget and send that question as their first message.- Configure them under Suggested Questions in the widget config.
- A maximum of 4 are shown.
- They are desktop only — suggested questions are not rendered on mobile.
- They appear only while the widget is closed; opening the widget hides them.
Quick-action buttons (agent action grid)
Quick-action buttons are a grid of tappable buttons rendered inside the conversation on WebRTC sessions. They are not part of the widget config. They are configured on the agent version’sstarting_message, in its action_grid.
Every starting-message type carries an optional action_grid:
An
action_grid has two fields:
Each item in
items is one button:
The
label is what matters most: when a visitor taps a button, that label is sent into the conversation exactly as written, as if the visitor had typed it. Write labels that read as clear instructions or questions.
Icon keys
icon accepts one of a fixed set of keys. Anything else falls back to a default icon.
Suggesting an action grid from instructions
Rather than writing buttons by hand, you can have Anyreach propose them from the agent’s instructions.instructions in the request body, so it works on unsaved drafts. It returns a StartingActionGrid (title plus items) that you can review, edit, and save onto the agent version. Requires the agents:read or agents:manage scope.
suggest-action-grid proposes a grid; it does not save one. Apply the returned title and items to the agent version’s starting_message.action_grid to make the buttons appear.Where each setting lives
Related
Web chat widgets and forms
How widgets attach to an agent, plus pre-conversation forms.
Appearance and branding
Theme, colors, avatar, and launcher styling for the widget.

