Buttons in a chat widget
A chat widget can also ask something: Approve or Reject, or a form to fill in. Every button starts a workflow, with the widget's data and the choice. That way a manager approves a purchase request without leaving the chat. A choice can be made only once, and the agent itself can never press a button.
Pick the Approval request example
Click + next to General and choose New chat widget. Choose the Approval request: a card with the request, and below it the Buttons block with Approve and Reject. Give the widget a name.
Link a workflow to each button
In the structure on the left, click the Buttons block. On the right you see per button the text, the colour and which workflow it starts. That workflow gets the widget's data, the choice as {{keuze}} and {{waarde}}, and who chose as {{door.naam}}. For Reject the chat asks for confirmation first.
Ask for the request in the chat
Open the chat and choose the AI Colleague that may show the widget. Ask for the open request: the agent starts its workflow, and the request appears as a widget, with the buttons below it.
This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).


















