Why rich responses matter
Text-only answers often dump links. Rich messages keep customers in the chat: tap a button, browse a carousel, or view an image inline.Support varies by channel. Fliqr AI maps message types where possible; unsupported types fall back gracefully.
Instruct the Agent
Append strict JSON rules to your system prompt. Require amessages array using the Messenger-style message schema Fliqr AI understands.
Example: text + quick replies
Rich messages + actions
You can combine rich output with tool use:- Agent calls a function or MCP tool
- Agent formats the result as rich JSON (cards, buttons)
- Fliqr AI renders the message on the channel
Test checklist
- Playground returns parseable JSON only
- Buttons/quick replies appear on a real channel test
- Fallback text exists if JSON parsing fails
- Handover still works when the user asks for a human
Next
Prompt engineering
Broader prompt patterns, including JSON output.
Human handover
Route out when rich AI replies are not enough.